1999-09-14  Donn Terry  <donn@interix.com>

	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for
	terminating null.
Fix problem with going to automake 2.14
Fix problem with going to automake 2.14
        * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS):  No longer combine
        the .plt, .dlt, .opd  into a single output section.  Provide values
        for __gp and __hp_load_map.
        * elf-hppa.h (elf_hppa_final_link): Revamp __gp handling.
        (elf_hppa_final_link_relocate): Consistently create an absolute
        address, then subtract out the value of __gp.
Fix typo in last change.
        * config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF.  Declare
        debug_line.
        (md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
        (md_assemble): Call dwarf2_where for OBJ_ELF.
        (pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
        (pa_end_of_source): New function.
        * tc-hppa.h (md_end): Define for OBJ_ELF.
        * config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
        (md_assemble): To here.  Tweak address generation.
        * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define.
        (SHLIB_DATA_ADDR): Likewise.

        * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define.
Mark interworking sections as linker created to prevent garbage collection.
        * elf-hppa.h (elf_hppa_relocate_section): Allow undefined
        symbols when building shared libraries.
        (elf_hppa_final_link_relocate): Correct handling of PCREL
        relocations against undefined symbols.
        * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define.
        * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define.
        (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map.
(elf_cpu32_plt0_entry): Use a1 instead of a0.
(elf_cpu32_plt_entry): Likewise.
 ----------------------------------------------------------------------
        * elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
        symbol table, then just compute a suitable value (but do not
        create a __gp symbol).
        * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
        Use the same filename extension for the bfd_elf_dt_needed_name call
        as we did for finding the library.
        * elf-hppa.h (elf_hppa_final_write_processing): Turn on TRAPNIL.
Undeo previous delta.  Set gc_mark instead.
        * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely.
        (DATA_START_SYMBOLS): Kill __hp_load_map definition
        * config/tc-hppa.c (pa_build_unwind_subspace): Do not build
        unwinds unless the function is in the text space.
        (pa_type_args): Set BSF_FUNCTION for an exproted data symbol.