OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [ChangeLog-0203] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
2003-12-19  Kazuhiro Inaoka  
2003-12-19  Kazuhiro Inaoka  
        Add m32r-linux and PIC support.  Add new ABI that uses RELA.
        Add m32r-linux and PIC support.  Add new ABI that uses RELA.
        * Makefile.am: Added em32rlelf.c, em32relf_linux.c,
        * Makefile.am: Added em32rlelf.c, em32relf_linux.c,
        em32rlelf_linux.c.
        em32rlelf_linux.c.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added.
        * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added.
        * emulparams/m32relf_linux.sh: Added.
        * emulparams/m32relf_linux.sh: Added.
        * emulparams/m32rlelf.sh: Ditto.
        * emulparams/m32rlelf.sh: Ditto.
        * emulparams/m32rlelf_linux.sh: Ditto.
        * emulparams/m32rlelf_linux.sh: Ditto.
        * NEWS: Mention support m32r Linux.
        * NEWS: Mention support m32r Linux.
2003-12-18  Eric Youngdale  
2003-12-18  Eric Youngdale  
            Nick Clifton  
            Nick Clifton  
        * emultempl/pe.em (_after_open): When scanning MS import
        * emultempl/pe.em (_after_open): When scanning MS import
        libraries allow for the possible presence of static objects.
        libraries allow for the possible presence of static objects.
2003-12-07  H.J. Lu  
2003-12-07  H.J. Lu  
        * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
        * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
        cplus_demangle.
        cplus_demangle.
2003-12-07  Kazu Hirata  
2003-12-07  Kazu Hirata  
        * ldemul.c: Convert to ISO-C.
        * ldemul.c: Convert to ISO-C.
        * ldver.c: Likewise.
        * ldver.c: Likewise.
2003-12-06  Kazu Hirata  
2003-12-06  Kazu Hirata  
        * lexsup.c (is_num): Remove.
        * lexsup.c (is_num): Remove.
2003-12-05  Dmitry Semyonov  
2003-12-05  Dmitry Semyonov  
        * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to
        * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to
        0.  This fixes "bad fixup" error generated by MS linker.
        0.  This fixes "bad fixup" error generated by MS linker.
2003-12-04  H.J. Lu  
2003-12-04  H.J. Lu  
        * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
        * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
        link_info.need_relax_finalize to TRUE.
        link_info.need_relax_finalize to TRUE.
        * ldlang.c (lang_process): Use link_info.need_relax_finalize
        * ldlang.c (lang_process): Use link_info.need_relax_finalize
        instead of link_info.relax_finalizing.
        instead of link_info.relax_finalizing.
        * ldmain.c (main): Likewise.
        * ldmain.c (main): Likewise.
2003-12-04  Dmitry Semyonov  
2003-12-04  Dmitry Semyonov  
        * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
        * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
2003-12-04  Alan Modra  
2003-12-04  Alan Modra  
        * ldlang.c (lang_do_assignments): Function return is void.
        * ldlang.c (lang_do_assignments): Function return is void.
        * ldlang.h (lang_do_assignments): Ditto.
        * ldlang.h (lang_do_assignments): Ditto.
        * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
        * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
        * Makefile.am (ens32knbsd.c): Depend on netbsd.em.
        * Makefile.am (ens32knbsd.c): Depend on netbsd.em.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-12-03  Dave Airlie  
2003-12-03  Dave Airlie  
        * configure.tgt: Add vax-linux-gnu target.
        * configure.tgt: Add vax-linux-gnu target.
2003-12-03  Dmitry Diky  
2003-12-03  Dmitry Diky  
        * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for
        * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for
        forthcoming devices.
        forthcoming devices.
        (_etext): provide this defenition for all scripts.
        (_etext): provide this defenition for all scripts.
2003-12-02  Kazu Hirata  
2003-12-02  Kazu Hirata  
        * emultempl/beos.em: Remove ARGSUSED.
        * emultempl/beos.em: Remove ARGSUSED.
2003-12-03  Alan Modra  
2003-12-03  Alan Modra  
        * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed
        * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed
        bfd_link_hash_entry field "next" -> "und_next".
        bfd_link_hash_entry field "next" -> "und_next".
        (pe_find_data_imports): Likewise.
        (pe_find_data_imports): Likewise.
        (gld_${EMULATION_NAME}_after_open): Likewise.
        (gld_${EMULATION_NAME}_after_open): Likewise.
        * emultempl/sunos.em (before_allocation): Likewise.
        * emultempl/sunos.em (before_allocation): Likewise.
2003-12-02  Nick Clifton  
2003-12-02  Nick Clifton  
        * ld.texinfo (Options): --ignore-all is no longer the default
        * ld.texinfo (Options): --ignore-all is no longer the default
        behaviour for shared libraries and dynamic executables.
        behaviour for shared libraries and dynamic executables.
2003-12-02  Alan Modra  
2003-12-02  Alan Modra  
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-12-02  Alan Modra  
2003-12-02  Alan Modra  
        * ldmain.c (main): Remove mpc860c0 code.
        * ldmain.c (main): Remove mpc860c0 code.
        * lexsup.c (enum option_values): Delete OPTION_MPC860C0.
        * lexsup.c (enum option_values): Delete OPTION_MPC860C0.
        (ld_options): Delete mpc860c0 entry.
        (ld_options): Delete mpc860c0 entry.
        (parse_args): Likewise.
        (parse_args): Likewise.
2003-12-01  Alan Modra  
2003-12-01  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
        hash table type rather than testing creator flavour.
        hash table type rather than testing creator flavour.
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
        Only create stub_file bfd if hash table creator is as expected.
        Only create stub_file bfd if hash table creator is as expected.
        (gld${EMULATION_NAME}_finish): Test stub_file.
        (gld${EMULATION_NAME}_finish): Test stub_file.
2003-11-28  Marcel Moolenaar  
2003-11-28  Marcel Moolenaar  
        * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define.
        * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define.
        (DATA_ADDR): Unset.
        (DATA_ADDR): Unset.
2003-11-18  James E Wilson  
2003-11-18  James E Wilson  
        * ldlang.c (lang_process): Move lang_reset_memory_regions call after
        * ldlang.c (lang_process): Move lang_reset_memory_regions call after
        lang_do_assignments call.
        lang_do_assignments call.
        * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
        * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
        .rela.opd if -pie.
        .rela.opd if -pie.
2003-11-10  Jonathan Wilson 
2003-11-10  Jonathan Wilson 
        * scripttempl/pe.sc: Add support for TLS sections.
        * scripttempl/pe.sc: Add support for TLS sections.
2003-11-09  Alan Modra  
2003-11-09  Alan Modra  
        * configure.host (HOSTING_LIBS): Group libgcc and libc with
        * configure.host (HOSTING_LIBS): Group libgcc and libc with
        --start-group, --end-group pair.
        --start-group, --end-group pair.
        (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
        (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
        (am33_2.0-*-linux*): Edit default HOSTING_CRT0.
        (am33_2.0-*-linux*): Edit default HOSTING_CRT0.
        (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
        (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
        (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
        (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
2003-11-07  Jonathan R. Grant  
2003-11-07  Jonathan R. Grant  
        * ldfile.c (ldfile_open_file): Use "No such file" error message.
        * ldfile.c (ldfile_open_file): Use "No such file" error message.
2003-11-06  Bruno Rohee  
2003-11-06  Bruno Rohee  
        * ls.texinfo: Fix "the the" typo.
        * ls.texinfo: Fix "the the" typo.
2003-11-05  Alan Modra  
2003-11-05  Alan Modra  
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
        pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
        pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
        (pr_sym): Move inside #ifdef DLL_SUPPORT.
        (pr_sym): Move inside #ifdef DLL_SUPPORT.
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
        unused variable.
        unused variable.
        * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
        * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
2003-11-04  Alan Modra  
2003-11-04  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
        _bfd_elf_tls_setup.
        _bfd_elf_tls_setup.
2003-10-31  Nick Clifton  
2003-10-31  Nick Clifton  
        * ldlang.c (lookup_name): When looking for a previously loaded
        * ldlang.c (lookup_name): When looking for a previously loaded
        file compare the local_sym_name not the filename, as the
        file compare the local_sym_name not the filename, as the
        filename might have been transformed via the search directory
        filename might have been transformed via the search directory
        path lookup.
        path lookup.
        If the sought-for file has not been found in the input file
        If the sought-for file has not been found in the input file
        chain then create a new node with the search_dirs_flag set so
        chain then create a new node with the search_dirs_flag set so
        that the entire set of directory paths will be scanned for it.
        that the entire set of directory paths will be scanned for it.
2003-10-30  Andrew Cagney  
2003-10-30  Andrew Cagney  
        * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
        * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
        with "struct bfd_symbol".
        with "struct bfd_symbol".
2003-10-30 Phil Edwards 
2003-10-30 Phil Edwards 
        * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
        * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
        (eelf32mipswindiss.c): New target.
        (eelf32mipswindiss.c): New target.
        * Makefile.in:  Regenerated.
        * Makefile.in:  Regenerated.
        * emulparams/elf32mipswindiss.sh:  New file.
        * emulparams/elf32mipswindiss.sh:  New file.
        * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
        * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
        mips*-*-vxworks*):  Use ELF now.
        mips*-*-vxworks*):  Use ELF now.
        (mips*-*-windiss):  New stanza, use elf32mipswindiss.
        (mips*-*-windiss):  New stanza, use elf32mipswindiss.
2003-10-27  Stephane Carrez  
2003-10-27  Stephane Carrez  
        * scripttempl/elfm68hc12.sc: Define eeprom memory region.
        * scripttempl/elfm68hc12.sc: Define eeprom memory region.
2003-10-25  Kazu Hirata  
2003-10-25  Kazu Hirata  
        * ChangeLog-9197: Fix typos.
        * ChangeLog-9197: Fix typos.
        * NEWS: Likewise.
        * NEWS: Likewise.
        * ld.texinfo: Likewise.
        * ld.texinfo: Likewise.
        * ldlang.c: Fix comment typos.
        * ldlang.c: Fix comment typos.
2003-10-24  H.J. Lu  
2003-10-24  H.J. Lu  
        * ldlang.c (lang_vers_match): Fix a typo.
        * ldlang.c (lang_vers_match): Fix a typo.
2003-10-24  H.J. Lu  
2003-10-24  H.J. Lu  
        * ldlang.c (lang_vers_match): Check demangled symbols.
        * ldlang.c (lang_vers_match): Check demangled symbols.
2003-10-24  H.J. Lu  
2003-10-24  H.J. Lu  
        * ldlang.c (lang_vers_match): Check "symbol" instead of
        * ldlang.c (lang_vers_match): Check "symbol" instead of
        "wildcard" and "pattern". Fix a typo.
        "wildcard" and "pattern". Fix a typo.
        (lang_finalize_version_expr_head): Likewise.
        (lang_finalize_version_expr_head): Likewise.
        (lang_register_vers_node): Likewise.
        (lang_register_vers_node): Likewise.
        (realsymbol): New function.
        (realsymbol): New function.
        (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
        (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
        * ldlex.l (V_IDENTIFIER): Allow '\\'.
        * ldlex.l (V_IDENTIFIER): Allow '\\'.
2003-10-24  Nick Clifton  
2003-10-24  Nick Clifton  
        * emultempl/m68hc1xelf.em (before_allocation): Add missing second
        * emultempl/m68hc1xelf.em (before_allocation): Add missing second
        parameter to lang_memory_region_lookup.
        parameter to lang_memory_region_lookup.
2003-10-22  Jakub Jelinek  
2003-10-22  Jakub Jelinek  
        * ldlang.c: Include hashtab.h.
        * ldlang.c: Include hashtab.h.
        (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
        (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
        lang_vers_match_lang_java): Remove.
        lang_vers_match_lang_java): Remove.
        (lang_vers_match): New function.
        (lang_vers_match): New function.
        (lang_new_vers_pattern): Initialize wildcard and mask
        (lang_new_vers_pattern): Initialize wildcard and mask
        fields, don't initialize match.
        fields, don't initialize match.
        (lang_new_vers_node): Use xcalloc.  Adjust for globals and
        (lang_new_vers_node): Use xcalloc.  Adjust for globals and
        locals field type changes.  Set match field.
        locals field type changes.  Set match field.
        (version_expr_head_hash, version_expr_head_eq): New functions.
        (version_expr_head_hash, version_expr_head_eq): New functions.
        (lang_finalize_version_expr_head): New function.
        (lang_finalize_version_expr_head): New function.
        (lang_register_vers_node): Call lang_finalize_version_expr_head.
        (lang_register_vers_node): Call lang_finalize_version_expr_head.
        Search in hash table if not wildcard when looking for duplicates.
        Search in hash table if not wildcard when looking for duplicates.
        * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
        * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
        duplicate checking.  Initialize all fields of dot_entry from entry
        duplicate checking.  Initialize all fields of dot_entry from entry
        with the exception of pattern and next.
        with the exception of pattern and next.
2003-10-21  Nick Clifton  
2003-10-21  Nick Clifton  
        * ldlang.c (lang_memory_region_lookup): Add second parameter -
        * ldlang.c (lang_memory_region_lookup): Add second parameter -
        create - which is true if the region is being created.  Issue
        create - which is true if the region is being created.  Issue
        appropriate warning messages for finding and not finding
        appropriate warning messages for finding and not finding
        already created regions.
        already created regions.
        (lang_memory_default): Use DEFAULT_MEMORY_REGION.
        (lang_memory_default): Use DEFAULT_MEMORY_REGION.
        (lang_leave_overlay_section): Likewise.
        (lang_leave_overlay_section): Likewise.
        (lang_size_sections_1): Likewise.
        (lang_size_sections_1): Likewise.
        Pass second parameter to lang_memory_region_lookup.
        Pass second parameter to lang_memory_region_lookup.
        (lang_get_regions): Likewise.
        (lang_get_regions): Likewise.
        * ldlang.h (DEFAULT_MEMORY_REGION): Define.
        * ldlang.h (DEFAULT_MEMORY_REGION): Define.
        Update prototype for lang_memory_region_lookup.
        Update prototype for lang_memory_region_lookup.
        * ldgram.y: Pass second parameter to lang_memory_region_lookup.
        * ldgram.y: Pass second parameter to lang_memory_region_lookup.
        Use DEFAULT_MEMORY_REGION instead of "*default".
        Use DEFAULT_MEMORY_REGION instead of "*default".
2003-10-20  Andrew Cagney  
2003-10-20  Andrew Cagney  
        * pe-dll.c: Replace "struct sec" with "struct bfd_section".
        * pe-dll.c: Replace "struct sec" with "struct bfd_section".
2003-10-19  Marek Michalkiewicz  
2003-10-19  Marek Michalkiewicz  
        * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
        * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
        target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
        target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
        avrmega161, avrmega603.  Default to avr2.
        avrmega161, avrmega603.  Default to avr2.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * emulparams/avr1200.sh: Remove.
        * emulparams/avr1200.sh: Remove.
        * emulparams/avr23xx.sh: Remove.
        * emulparams/avr23xx.sh: Remove.
        * emulparams/avr4433.sh: Remove.
        * emulparams/avr4433.sh: Remove.
        * emulparams/avr44x4.sh: Remove.
        * emulparams/avr44x4.sh: Remove.
        * emulparams/avr85xx.sh: Remove.
        * emulparams/avr85xx.sh: Remove.
        * emulparams/avrmega103.sh: Remove.
        * emulparams/avrmega103.sh: Remove.
        * emulparams/avrmega161.sh: Remove.
        * emulparams/avrmega161.sh: Remove.
        * emulparams/avrmega603.sh: Remove.
        * emulparams/avrmega603.sh: Remove.
        * scripttempl/elf32avr.sc: Remove.
        * scripttempl/elf32avr.sc: Remove.
2003-10-19  Andreas Schwab  
2003-10-19  Andreas Schwab  
        * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
        * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
        newline to message.
        newline to message.
        * deffilep.y: Remove commas from %token lines.
        * deffilep.y: Remove commas from %token lines.
2003-10-18  Hans-Peter Nilsson  
2003-10-18  Hans-Peter Nilsson  
        * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
        * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
        relaxation always; don't exclude relocatable linking.  Adjust for
        relaxation always; don't exclude relocatable linking.  Adjust for
        _bfd_mmix_prepare_linker_allocated_gregs renamed to
        _bfd_mmix_prepare_linker_allocated_gregs renamed to
        _bfd_mmix_before_linker_allocation.
        _bfd_mmix_before_linker_allocation.
        (mmix_after_allocation): Adjust for
        (mmix_after_allocation): Adjust for
        _bfd_mmix_finalize_linker_allocated_gregs renamed to
        _bfd_mmix_finalize_linker_allocated_gregs renamed to
        _bfd_mmix_after_linker_allocation.
        _bfd_mmix_after_linker_allocation.
        * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
        * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
        * ldlang.c (lang_size_sections): Last, set _cooked_size for output
        * ldlang.c (lang_size_sections): Last, set _cooked_size for output
        sections.
        sections.
2003-10-16  Alan Modra  
2003-10-16  Alan Modra  
        * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove.  Use
        * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove.  Use
        GENSCRIPTS and GEN_DEPENDS in place of these.
        GENSCRIPTS and GEN_DEPENDS in place of these.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * genscripts_extra.sh: Delete.  Merge extra functionality to..
        * genscripts_extra.sh: Delete.  Merge extra functionality to..
        * genscripts.sh: ..here.
        * genscripts.sh: ..here.
        * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
        * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
        * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2003-10-16  Alan Modra  
2003-10-16  Alan Modra  
        * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
        * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
        use $EMULATION_NAME to call bfd function.
        use $EMULATION_NAME to call bfd function.
2003-10-14  Danny Smith  
2003-10-14  Danny Smith  
        * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
        * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
        to identify data symbols.
        to identify data symbols.
2003-10-13  Richard Sandiford  
2003-10-13  Richard Sandiford  
        * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
        * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
        definition from elf64btsmip.sh.
        definition from elf64btsmip.sh.
        (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
        (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
        * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
        * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
        * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
        * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
        * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
        * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
        (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
        (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
        Define __program_header_table in terms of __elf_header.
        Define __program_header_table in terms of __elf_header.
2003-10-10  H.J. Lu  
2003-10-10  H.J. Lu  
        * Makefile.am (eelf64_ia64.c): Also depend on
        * Makefile.am (eelf64_ia64.c): Also depend on
        $(srcdir)/emultempl/ia64elf.em.
        $(srcdir)/emultempl/ia64elf.em.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
        * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
        * emultempl/ia64elf.em: New.
        * emultempl/ia64elf.em: New.
2003-10-12  Kaz Kojima  
2003-10-12  Kaz Kojima  
        * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
        * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
2003-10-11  Hans-Peter Nilsson  
2003-10-11  Hans-Peter Nilsson  
        * ld.texinfo (Builtin Functions) : Say that only symbols
        * ld.texinfo (Builtin Functions) : Say that only symbols
        defined before the statement using DEFINED yield 1.
        defined before the statement using DEFINED yield 1.
        * ldexp.c (fold_name) : In lang_first_phase_enum,
        * ldexp.c (fold_name) : In lang_first_phase_enum,
        call lang_track_definedness on symbol.  In subsequent phases, use
        call lang_track_definedness on symbol.  In subsequent phases, use
        lang_symbol_definition_iteration and lang_statement_iteration to
        lang_symbol_definition_iteration and lang_statement_iteration to
        check whether the symbol was defined before the current statement.
        check whether the symbol was defined before the current statement.
        (exp_fold_tree) : Call
        (exp_fold_tree) : Call
        lang_update_definedness before updating symbol type when setting
        lang_update_definedness before updating symbol type when setting
        symbol.
        symbol.
        * ldlang.c (lang_definedness_table): New variable.
        * ldlang.c (lang_definedness_table): New variable.
        (lang_definedness_newfunc, lang_track_definedness)
        (lang_definedness_newfunc, lang_track_definedness)
        (lang_symbol_definition_iteration, lang_update_definedness): New
        (lang_symbol_definition_iteration, lang_update_definedness): New
        functions.
        functions.
        (lang_init): Initialize lang_definedness_table and
        (lang_init): Initialize lang_definedness_table and
        lang_statement_iteration.
        lang_statement_iteration.
        (lang_finish): Destroy bfd_hash_table_free.
        (lang_finish): Destroy bfd_hash_table_free.
        (lang_size_sections): Increment lang_statement_iteration.
        (lang_size_sections): Increment lang_statement_iteration.
        (lang_do_assignments_1): New function with former
        (lang_do_assignments_1): New function with former
        lang_do_assignments contents.  Change recursive calls to call this
        lang_do_assignments contents.  Change recursive calls to call this
        function.
        function.
        (lang_do_assignments): Evacuate contents.  Increment
        (lang_do_assignments): Evacuate contents.  Increment
        lang_statement_iteration, then just call lang_do_assignments_1.
        lang_statement_iteration, then just call lang_do_assignments_1.
        * ldlang.h (struct lang_definedness_hash_entry)
        * ldlang.h (struct lang_definedness_hash_entry)
        (lang_statement_iteration, lang_track_definedness)
        (lang_statement_iteration, lang_track_definedness)
        (lang_symbol_definition_iteration, lang_update_definedness):
        (lang_symbol_definition_iteration, lang_update_definedness):
        Declare.
        Declare.
2003-10-09  H.J. Lu  
2003-10-09  H.J. Lu  
        * scripttempl/elf.sc (__executable_start): Provide.
        * scripttempl/elf.sc (__executable_start): Provide.
2003-10-09  Daniel Jacobowitz  
2003-10-09  Daniel Jacobowitz  
        * emulparams/armelf.sh: Define NO_SMALL_DATA.
        * emulparams/armelf.sh: Define NO_SMALL_DATA.
        * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
        * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
        emulparams/armnto.sh: Likewise.
        emulparams/armnto.sh: Likewise.
2003-10-08  Alexandre Oliva  
2003-10-08  Alexandre Oliva  
        * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
        * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
        whether to skip test for no memory region.
        whether to skip test for no memory region.
2003-10-08  Nick Clifton  
2003-10-08  Nick Clifton  
        * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
        * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
        describing defaults.  Change default to report unresolved symbols
        describing defaults.  Change default to report unresolved symbols
        in object files as well.
        in object files as well.
2003-10-08  Hans-Peter Nilsson  
2003-10-08  Hans-Peter Nilsson  
        * ldexp.c (fold_name) : Set section of result to
        * ldexp.c (fold_name) : Set section of result to
        abs_output_section.
        abs_output_section.
2003-10-07  Bob Wilson  
2003-10-07  Bob Wilson  
        * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
        * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
        OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
        OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
        zero for relocatable links.
        zero for relocatable links.
2003-10-07  John David Anglin  
2003-10-07  John David Anglin  
        * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
        * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
2003-10-07  Nathan Sidwell  
2003-10-07  Nathan Sidwell  
        * ldwrite.c (unsplittable_name): New.
        * ldwrite.c (unsplittable_name): New.
        (clone_section): Strip existing numeric suffix. Only truncate names
        (clone_section): Strip existing numeric suffix. Only truncate names
        for coff targets.
        for coff targets.
        (split_sections): Use unsplittable_name.
        (split_sections): Use unsplittable_name.
2003-10-06  Nick Clifton  
2003-10-06  Nick Clifton  
        * lexsup.c (parse_args): Report unresolved symbols in shared
        * lexsup.c (parse_args): Report unresolved symbols in shared
        libraries when creating a dynamic executable.  This is a
        libraries when creating a dynamic executable.  This is a
        restoration of the default behaviour for previous versions of
        restoration of the default behaviour for previous versions of
        the linker.
        the linker.
2003-10-06  Matt Thomas 
2003-10-06  Matt Thomas 
        * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
        * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
        * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
        * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
2003-10-06  Robert Millan  
2003-10-06  Robert Millan  
        * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
        * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
2003-10-02  Ivan Warren 
2003-10-02  Ivan Warren 
        * pe-dll.c (make_one): Correct sym def order & pick right sym for
        * pe-dll.c (make_one): Correct sym def order & pick right sym for
        .idata$7 reloc.
        .idata$7 reloc.
2003-09-30  Chris Demetriou  
2003-09-30  Chris Demetriou  
        * NEWS: Add an indication of the cutoff for 2.14.
        * NEWS: Add an indication of the cutoff for 2.14.
2003-09-30  Chris Demetriou  
2003-09-30  Chris Demetriou  
        * ldmain.c (get_emulation): Ignore "-mips64r2".
        * ldmain.c (get_emulation): Ignore "-mips64r2".
2003-09-03  Robert Millan  
2003-09-03  Robert Millan  
        * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
        * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
        triplet.
        triplet.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
2003-08-29  Jafa  
2003-08-29  Jafa  
        * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
        * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define.
2003-08-21  Nick Clifton  
2003-08-21  Nick Clifton  
        * po/tr.po: Updated Turkish translation.
        * po/tr.po: Updated Turkish translation.
2003-08-20  Nick Clifton  
2003-08-20  Nick Clifton  
        * ldmain.c: Initialise the new fields in bfd_link_info to
        * ldmain.c: Initialise the new fields in bfd_link_info to
        NOT_YET_SET.
        NOT_YET_SET.
        * lexsup.c (enum option_values): New enum.  Use this to
        * lexsup.c (enum option_values): New enum.  Use this to
        replace the hand coded values for the long switch options.
        replace the hand coded values for the long switch options.
        (ld_options): Add 'unresolved-symbols',
        (ld_options): Add 'unresolved-symbols',
        'warn-unresolved-symbols' and 'error-unresolved-symbols'.
        'warn-unresolved-symbols' and 'error-unresolved-symbols'.
        (parse_args): Handle the new switches.  Set the values of
        (parse_args): Handle the new switches.  Set the values of
        unresolved_symbols_in_objects and
        unresolved_symbols_in_objects and
        unresolved_symbols_in_shared_libs appropriately.  If they were
        unresolved_symbols_in_shared_libs appropriately.  If they were
        not initialised by the command line, install default values.
        not initialised by the command line, install default values.
        * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
        * emultempl/elf32.em (handle_option): Update OPTION_GROUP and
        -z defs to use the new fields in bfd_link_info.
        -z defs to use the new fields in bfd_link_info.
        * ld.texinfo: Document the new switches.
        * ld.texinfo: Document the new switches.
        * NEWS: Mention this feature.
        * NEWS: Mention this feature.
2003-08-15 Dmitry Diky 
2003-08-15 Dmitry Diky 
        * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
        * Makefile.am (GENSCRIPTS_EXTRA): New script definition which
        calls genscripts_extra.sh.
        calls genscripts_extra.sh.
        Rearrange all msp430 depends using this script.
        Rearrange all msp430 depends using this script.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * genscripts_extra.sh: New file: Similar to genscripts.sh, except
        * genscripts_extra.sh: New file: Similar to genscripts.sh, except
        that the script to be run to generate the emulations can be passed
        that the script to be run to generate the emulations can be passed
        as an optional parameter instead of being computed from the
        as an optional parameter instead of being computed from the
        emulation name.
        emulation name.
        * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
        * emulparams/msp430all.sh: New file: Combine all msp430 subdevice
        definitions into one file.
        definitions into one file.
        * emulparams/msp430x*.sh: Removed.
        * emulparams/msp430x*.sh: Removed.
2003-08-15  Nick Clifton  
2003-08-15  Nick Clifton  
        * ld.texinfo (Options): Put keywords for the -z option into a
        * ld.texinfo (Options): Put keywords for the -z option into a
        table.  Add more text describing what the -z now option does.
        table.  Add more text describing what the -z now option does.
2003-08-14  Alan Modra  
2003-08-14  Alan Modra  
        * dep-in.sed: Remove libintl.h.
        * dep-in.sed: Remove libintl.h.
        * Makefile.am (POTFILES.in): Unset LC_COLLATE.
        * Makefile.am (POTFILES.in): Unset LC_COLLATE.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-08-13  Alan Modra  
2003-08-13  Alan Modra  
        * genscripts.sh (libpath.exp): Only generate for first emulation.
        * genscripts.sh (libpath.exp): Only generate for first emulation.
        (LIB_PATH): Correct order of paths.  Don't add $tool_lib when
        (LIB_PATH): Correct order of paths.  Don't add $tool_lib when
        already present or when LIB_PATH is set to ":".
        already present or when LIB_PATH is set to ":".
2003-08-12  Ian Lance Taylor  
2003-08-12  Ian Lance Taylor  
        * ldmain.c (undefined_symbol): Change parameter name from `fatal'
        * ldmain.c (undefined_symbol): Change parameter name from `fatal'
        to `error'.  If only a warning, put warning in the reported
        to `error'.  If only a warning, put warning in the reported
        string.  Consistently set failure flag when not a warning.
        string.  Consistently set failure flag when not a warning.
2003-08-08 Dmitry Diky 
2003-08-08 Dmitry Diky 
        * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
        * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to
        gcc order.
        gcc order.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add extra emulations.
        * configure.tgt: Add extra emulations.
        * emulparams/msp430xE423.sh: New file.
        * emulparams/msp430xE423.sh: New file.
        * emulparams/msp430xE427.sh: New file.
        * emulparams/msp430xE427.sh: New file.
        * emulparams/msp430xW425.sh: New file.
        * emulparams/msp430xW425.sh: New file.
        * emulparams/msp430xE425.sh: New file.
        * emulparams/msp430xE425.sh: New file.
        * emulparams/msp430xW423.sh: New file.
        * emulparams/msp430xW423.sh: New file.
        * emulparams/msp430xW427.sh: New file.
        * emulparams/msp430xW427.sh: New file.
2003-08-07  Danny Smith  
2003-08-07  Danny Smith  
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
        Change second (cmdline) arg to lang_add_entry to FALSE.
        Change second (cmdline) arg to lang_add_entry to FALSE.
        (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
        (set_pe_subsystem): Change second arg to lang_add_entry to TRUE.
2003-08-05  Christian Groessler  
2003-08-05  Christian Groessler  
            Jason Eckhardt  
            Jason Eckhardt  
        * configure.tgt: Recognize new target i860-*-coff.
        * configure.tgt: Recognize new target i860-*-coff.
        * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
        * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o.
        (ecoff_i860.c): New rule.
        (ecoff_i860.c): New rule.
        * emulparams/coff_i860.sh: New file.
        * emulparams/coff_i860.sh: New file.
        * scripttempl/i860coff.sc: New file.
        * scripttempl/i860coff.sc: New file.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-08-04  Nick Clifton  
2003-08-04  Nick Clifton  
        * emultempl/elf32.em (before_allocation): Prepend "warning: "
        * emultempl/elf32.em (before_allocation): Prepend "warning: "
        to messages produced for .gnu.warning.SYMBOL sections.
        to messages produced for .gnu.warning.SYMBOL sections.
2003-08-04  Alan Modra  
2003-08-04  Alan Modra  
        * emultempl/elf32.em (output_rel_find): Add "isdyn" param.  Put
        * emultempl/elf32.em (output_rel_find): Add "isdyn" param.  Put
        .rel.dyn before other reloc sections.  Don't stop looking for reloc
        .rel.dyn before other reloc sections.  Don't stop looking for reloc
        sections on finding one that isn't allocated.  Match .rel even when
        sections on finding one that isn't allocated.  Match .rel even when
        placing .rela and vice versa, when setting last_rel and
        placing .rela and vice versa, when setting last_rel and
        last_rel_alloc for the first time.  If no reloc sections in script,
        last_rel_alloc for the first time.  If no reloc sections in script,
        prefer allocated section over non-alloc.
        prefer allocated section over non-alloc.
        (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
        (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn.
2003-07-29  Kaz Kojima  
2003-07-29  Kaz Kojima  
        * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
        * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack
        section for shared library.
        section for shared library.
        * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
        * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise.
        * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
        * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
2003-07-29  Stephane Carrez  
2003-07-29  Stephane Carrez  
        * scripttempl/elfm68hc12.sc: Add gcc_except_table.
        * scripttempl/elfm68hc12.sc: Add gcc_except_table.
        * scripttempl/elfm68hc11.sc: Likewise.
        * scripttempl/elfm68hc11.sc: Likewise.
2003-07-28  Alan Modra  
2003-07-28  Alan Modra  
        * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
        * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching.
        * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
        * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r.
2003-07-27  Alan Modra  
2003-07-27  Alan Modra  
        * ld.texinfo: Typo fixes.  Document SUBALIGN.
        * ld.texinfo: Typo fixes.  Document SUBALIGN.
        * ldgram.y (opt_subalign): Add.
        * ldgram.y (opt_subalign): Add.
        * ldlex.l (SUBALIGN): Recognize.
        * ldlex.l (SUBALIGN): Recognize.
        * ldlang.c (overlay_subalign): New var.
        * ldlang.c (overlay_subalign): New var.
        (lang_enter_overlay): Add subalign param.
        (lang_enter_overlay): Add subalign param.
        (lang_enter_overlay_section): Pass overlay_subalign to
        (lang_enter_overlay_section): Pass overlay_subalign to
        lang_enter_output_section_statement.
        lang_enter_output_section_statement.
        * ldlang.h (lang_enter_overlay): Update.
        * ldlang.h (lang_enter_overlay): Update.
2003-07-24  Nick Clifton  
2003-07-24  Nick Clifton  
        * po/fr.po: Updated French translation.
        * po/fr.po: Updated French translation.
2003-07-23  Stephane Carrez  
2003-07-23  Stephane Carrez  
        * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
        * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into
        account .tramp sections;
        account .tramp sections;
        * scripttempl/elfm68hc12.sc: Likewise.
        * scripttempl/elfm68hc12.sc: Likewise.
2003-07-17  Charles Wilson  
2003-07-17  Charles Wilson  
        * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
        * ld/pe-dll.c: Add libcygwin to autofilter_liblist[]
2003-07-17  Nick Clifton  
2003-07-17  Nick Clifton  
        * po/es.po: New Spanish translation.
        * po/es.po: New Spanish translation.
2003-07-11  Alan Modra  
2003-07-11  Alan Modra  
        * po/ld.pot: Regenerate.
        * po/ld.pot: Regenerate.
2003-07-10  Bob Wilson  
2003-07-10  Bob Wilson  
        * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
        * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit
        with new .got.loc section.
        with new .got.loc section.
        (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
        (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for
        non-relocating links.
        non-relocating links.
        (OTHER_SECTIONS): Add .xt.lit here.  Change it to keep linkonce
        (OTHER_SECTIONS): Add .xt.lit here.  Change it to keep linkonce
        sections separate for non-relocating links; likewise for .xt.insn.
        sections separate for non-relocating links; likewise for .xt.insn.
2003-07-10  Alexandre Oliva  
2003-07-10  Alexandre Oliva  
        2001-08-22  Alexandre Oliva  
        2001-08-22  Alexandre Oliva  
        * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
        * emulparams/elf32am33lin.sh: Adjust to match kernel parameters.
        2001-05-09  Alexandre Oliva  
        2001-05-09  Alexandre Oliva  
        * configure.host (am33_2.0-*-linux*): Added.
        * configure.host (am33_2.0-*-linux*): Added.
        * configure.tgt (am33_2.0-*-linux*): Likewise.
        * configure.tgt (am33_2.0-*-linux*): Likewise.
        * emulparams/elf32am33lin.sh: New.
        * emulparams/elf32am33lin.sh: New.
        * Makefile.am (eelf32am33lin.c): New rule.
        * Makefile.am (eelf32am33lin.c): New rule.
        * Makefile.in: Rebuilt.
        * Makefile.in: Rebuilt.
2003-07-09  Alexandre Oliva  
2003-07-09  Alexandre Oliva  
        2001-04-17  Alexandre Oliva  
        2001-04-17  Alexandre Oliva  
        * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
        * emulparams/mn10300.sh (TEMPLATE_NAME): Define.
        (GENERATE_SHLIB_SCRIPT): Likewise.
        (GENERATE_SHLIB_SCRIPT): Likewise.
2003-07-10  Alan Modra  
2003-07-10  Alan Modra  
        * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
        * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define.
        (GOT): Define.
        (GOT): Define.
        * emultempl/ppc64elf.em (stub_added): New static var.
        * emultempl/ppc64elf.em (stub_added): New static var.
        (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
        (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd.
        (ppc_add_stub_section): Set stub_added.
        (ppc_add_stub_section): Set stub_added.
        (gld${EMULATION_NAME}_finish): Look for .got rather than .toc.  Adjust
        (gld${EMULATION_NAME}_finish): Look for .got rather than .toc.  Adjust
        ppc64_elf_size_stubs call and test for stubs.
        ppc64_elf_size_stubs call and test for stubs.
        * scripttempl/elf.sc (GOT): Define and use.
        * scripttempl/elf.sc (GOT): Define and use.
2003-07-08  J"orn Rennecke 
2003-07-08  J"orn Rennecke 
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
        Allow second call from ldemul_finish.
        Allow second call from ldemul_finish.
2003-07-04  J"orn Rennecke 
2003-07-04  J"orn Rennecke 
        * emulparams/shelf32.sh (STACK_ADDR): Don't define.
        * emulparams/shelf32.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Include .stack.
        (OTHER_SECTIONS): Include .stack.
        * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
        * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
2003-07-02  Jakub Jelinek  
2003-07-02  Jakub Jelinek  
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
        .opd if -pie.
        .opd if -pie.
        (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
        (OTHER_READWRITE_SECTIONS): Include .opd if -pie.
        * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
        * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
        if -pie.
        if -pie.
2003-06-28  Alan Modra  
2003-06-28  Alan Modra  
        * ld.h: Convert to C90, remove unnecessary prototypes and casts.
        * ld.h: Convert to C90, remove unnecessary prototypes and casts.
        Replace PTR with void *.  Formatting.
        Replace PTR with void *.  Formatting.
        * ldcref.c: Likewise.
        * ldcref.c: Likewise.
        * ldctor.c: Likewise.
        * ldctor.c: Likewise.
        * ldctor.h: Likewise.
        * ldctor.h: Likewise.
        * ldemul.h: Likewise.
        * ldemul.h: Likewise.
        * ldexp.c: Likewise.
        * ldexp.c: Likewise.
        * ldexp.h: Likewise.
        * ldexp.h: Likewise.
        * ldfile.c: Likewise.
        * ldfile.c: Likewise.
        * ldfile.h: Likewise.
        * ldfile.h: Likewise.
        * ldlang.c: Likewise.
        * ldlang.c: Likewise.
        * ldlang.h: Likewise.
        * ldlang.h: Likewise.
        * ldlex.h: Likewise.
        * ldlex.h: Likewise.
        * ldlex.l: Likewise.
        * ldlex.l: Likewise.
        * ldmain.c: Likewise.
        * ldmain.c: Likewise.
        * ldmain.h: Likewise.
        * ldmain.h: Likewise.
        * ldmisc.c: Likewise.
        * ldmisc.c: Likewise.
        * ldmisc.h: Likewise.
        * ldmisc.h: Likewise.
        * ldver.h: Likewise.
        * ldver.h: Likewise.
        * ldwrite.c: Likewise.
        * ldwrite.c: Likewise.
        * ldwrite.h: Likewise.
        * ldwrite.h: Likewise.
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * mri.c: Likewise.
        * mri.c: Likewise.
        * mri.h: Likewise.
        * mri.h: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.h: Likewise.
        * pe-dll.h: Likewise.
        * deffilep.y: Likewise.
        * deffilep.y: Likewise.
        * deffile.h: Likewise.  Don't include ansidecl.h.
        * deffile.h: Likewise.  Don't include ansidecl.h.
        * emulparams/elf32mcore.sh: Remove unnecessary cast.
        * emulparams/elf32mcore.sh: Remove unnecessary cast.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kelf.em: Likewise.
        * emultempl/m68kelf.em: Likewise.
        * emultempl/ticoff.em: Remove lang_add_output_format declaration.
        * emultempl/ticoff.em: Remove lang_add_output_format declaration.
        * sysdep.h: Don't include ansidecl.h.
        * sysdep.h: Don't include ansidecl.h.
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-06-27  Nick Clifton  
2003-06-27  Nick Clifton  
        * deffilep.y (def_file_add_directive): Cope with NUL seperated
        * deffilep.y (def_file_add_directive): Cope with NUL seperated
        directives.  Fix reporting of unparseable directives.
        directives.  Fix reporting of unparseable directives.
        (def_error): Check for a NULL def_filename.
        (def_error): Check for a NULL def_filename.
2003-06-27  Alan Modra  
2003-06-27  Alan Modra  
        * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
        * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
        and casts.  Replace PTR with void *.  Formatting.
        and casts.  Replace PTR with void *.  Formatting.
        * emultempl/alphaelf.em: Likewise.
        * emultempl/alphaelf.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armelf.em: Likewise.
        * emultempl/armelf.em: Likewise.
        * emultempl/armelf_oabi.em: Likewise.
        * emultempl/armelf_oabi.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/m68hc1xelf.em: Likewise.
        * emultempl/m68hc1xelf.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kelf.em: Likewise.
        * emultempl/m68kelf.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/mipself.em: Likewise.
        * emultempl/mipself.em: Likewise.
        * emultempl/mmix-elfnmmo.em: Likewise.
        * emultempl/mmix-elfnmmo.em: Likewise.
        * emultempl/mmixelf.em: Likewise.
        * emultempl/mmixelf.em: Likewise.
        * emultempl/mmo.em: Likewise.
        * emultempl/mmo.em: Likewise.
        * emultempl/needrelax.em: Likewise.
        * emultempl/needrelax.em: Likewise.
        * emultempl/netbsd.em: Likewise.
        * emultempl/netbsd.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/sh64elf.em: Likewise.
        * emultempl/sh64elf.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/xtensaelf.em: Likewise.
        * emultempl/xtensaelf.em: Likewise.
        * Makefile.am: Correct dependencies.
        * Makefile.am: Correct dependencies.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-06-25  Alan Modra  
2003-06-25  Alan Modra  
        * ld.texinfo: Correct spelling of "relocatable".
        * ld.texinfo: Correct spelling of "relocatable".
        * ldctor.c: Likewise.
        * ldctor.c: Likewise.
        * ldexp.c: Likewise.
        * ldexp.c: Likewise.
        * ldfile.c: Likewise.
        * ldfile.c: Likewise.
        * ldint.texinfo: Likewise.
        * ldint.texinfo: Likewise.
        * ldlang.c: Likewise.
        * ldlang.c: Likewise.
        * ldmain.c: Likewise.
        * ldmain.c: Likewise.
        * ldwrite.c: Likewise.
        * ldwrite.c: Likewise.
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * emultempl/aix.em: Likewise.
        * emultempl/aix.em: Likewise.
        * emultempl/alphaelf.em: Likewise.
        * emultempl/alphaelf.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armelf_oabi.em: Likewise.
        * emultempl/armelf_oabi.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/m68hc1xelf.em: Likewise.
        * emultempl/m68hc1xelf.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kelf.em: Likewise.
        * emultempl/m68kelf.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/mipself.em: Likewise.
        * emultempl/mipself.em: Likewise.
        * emultempl/mmix-elfnmmo.em: Likewise.
        * emultempl/mmix-elfnmmo.em: Likewise.
        * emultempl/mmo.em: Likewise.
        * emultempl/mmo.em: Likewise.
        * emultempl/needrelax.em: Likewise.
        * emultempl/needrelax.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/ppc64elf.em: Likewise.
        * emultempl/ppc64elf.em: Likewise.
        * emultempl/sh64elf.em: Likewise.
        * emultempl/sh64elf.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/xtensaelf.em: Likewise.
        * emultempl/xtensaelf.em: Likewise.
2003-06-24  Alan Modra  
2003-06-24  Alan Modra  
        * emultempl/ppc32elf.em: Convert to C90.
        * emultempl/ppc32elf.em: Convert to C90.
2003-06-20  Alan Modra  
2003-06-20  Alan Modra  
        * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
        * emultempl/ppc64elf.em: Convert to C90 function definitions, remove
        unnecessary prototypes and casts.
        unnecessary prototypes and casts.
2003-06-19  Alan Modra  
2003-06-19  Alan Modra  
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
        statistics from ppc64_elf_build_stubs.
        statistics from ppc64_elf_build_stubs.
2003-06-19  Alan Modra  
2003-06-19  Alan Modra  
        * emultempl/ppc64elf.em (build_section_lists): Check return status
        * emultempl/ppc64elf.em (build_section_lists): Check return status
        from ppc64_elf_next_input_section.
        from ppc64_elf_next_input_section.
2003-06-17  H.J. Lu 
2003-06-17  H.J. Lu 
        * ldlang.c (section_already_linked): Put back assignment of
        * ldlang.c (section_already_linked): Put back assignment of
        kept_section.
        kept_section.
2003-06-17  Rainer Keuchel  
2003-06-17  Rainer Keuchel  
        * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
        * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D
        reloc.
        reloc.
2003-06-17  Loren James Rittle  
2003-06-17  Loren James Rittle  
        * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
        * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
        if not produced by gcc.
        if not produced by gcc.
2003-06-16  Hans-Peter Nilsson  
2003-06-16  Hans-Peter Nilsson  
        * configure.tgt: Add specific case for cris-*-linux-gnu*
        * configure.tgt: Add specific case for cris-*-linux-gnu*
        with crislinux emulation only.
        with crislinux emulation only.
2003-06-13  Robert Millan  
2003-06-13  Robert Millan  
        * configure.tgt: Add i386-netbsd-gnu target.
        * configure.tgt: Add i386-netbsd-gnu target.
2003-06-12  Richard Sandiford  
2003-06-12  Richard Sandiford  
        * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
        * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
        to $targ_extra_libpath.
        to $targ_extra_libpath.
2003-06-11  H.J. Lu 
2003-06-11  H.J. Lu 
        * po/Make-in (DESTDIR): New.
        * po/Make-in (DESTDIR): New.
        (install-data-yes): Support $(DESTDIR).
        (install-data-yes): Support $(DESTDIR).
        (uninstall): Likewise.
        (uninstall): Likewise.
2003-06-10  Doug Evans  
2003-06-10  Doug Evans  
        * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
        * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-06-10  Richard Sandiford  
2003-06-10  Richard Sandiford  
        * configure.tgt (h8300*): Add h8300sxn emulations.
        * configure.tgt (h8300*): Add h8300sxn emulations.
        * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
        * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
        (eh8300sxn.c, eh8300sxnelf.c): New rules.
        (eh8300sxn.c, eh8300sxnelf.c): New rules.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
        * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
        * scripttempl/h8300sxn.sc: New file.
        * scripttempl/h8300sxn.sc: New file.
2003-06-10  Alan Modra  
2003-06-10  Alan Modra  
        * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
        * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
        CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
        CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
2003-06-08  Alan Modra  
2003-06-08  Alan Modra  
        * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
        * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
        (build_toc_list): New function.
        (build_toc_list): New function.
        (gld${EMULATION_NAME}_finish): Call build_toc_list and
        (gld${EMULATION_NAME}_finish): Call build_toc_list and
        ppc64_elf_reinit_toc.  Adjust ppc64_elf_build_stubs call.
        ppc64_elf_reinit_toc.  Adjust ppc64_elf_build_stubs call.
        (OPTION_STUBSYMS): Define.
        (OPTION_STUBSYMS): Define.
        (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
        (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
        (PARSE_AND_LIST_OPTIONS): Document.
        (PARSE_AND_LIST_OPTIONS): Document.
        (PARSE_AND_LIST_ARGS_CASES): Handle.
        (PARSE_AND_LIST_ARGS_CASES): Handle.
2003-06-05  Roland McGrath  
2003-06-05  Roland McGrath  
        * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
        * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
        extra \t in -z noexecstack line.
        extra \t in -z noexecstack line.
2003-05-23  Jakub Jelinek  
2003-05-23  Jakub Jelinek  
        * ldgram.y (phdr_type): Grok PT_GNU_STACK.
        * ldgram.y (phdr_type): Grok PT_GNU_STACK.
        * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
        * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
        -z execstack and -z noexecstack.
        -z execstack and -z noexecstack.
        (gld${EMULATION_NAME}_list_options): Likewise.
        (gld${EMULATION_NAME}_list_options): Likewise.
        * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
        * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
2003-06-03  Michael Snyder  
2003-06-03  Michael Snyder  
        and Bernd Schmidt   
        and Bernd Schmidt   
        and Alexandre Oliva 
        and Alexandre Oliva 
        * Makefile.am: Add new emulations for h8300sx.
        * Makefile.am: Add new emulations for h8300sx.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add new emulations.
        * configure.tgt: Add new emulations.
        * emulparams/h8300sx.sh: New emulation.
        * emulparams/h8300sx.sh: New emulation.
        * emulparams/h8300sxelf.sh: Ditto.
        * emulparams/h8300sxelf.sh: Ditto.
        * scripttempl/h8300sx.sc: Ditto.
        * scripttempl/h8300sx.sc: Ditto.
2003-06-03  H.J. Lu 
2003-06-03  H.J. Lu 
        * ldmisc.c: Include "bfdlink.h".
        * ldmisc.c: Include "bfdlink.h".
        (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
        (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
        and -LD_DEFINITION_IN_DISCARDED_SECTION.
        and -LD_DEFINITION_IN_DISCARDED_SECTION.
        * Makefile.am: Rebuild dependency.
        * Makefile.am: Rebuild dependency.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2003-06-03  Kaz Kojima  
2003-06-03  Kaz Kojima  
        * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
        * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
        * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
        * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
2003-06-02  Fabrizio Gennari  
2003-06-02  Fabrizio Gennari  
        * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
        * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
        sorted alphabetically, instead of exported_symbols, which is
        sorted alphabetically, instead of exported_symbols, which is
        sorted by ordinal.
        sorted by ordinal.
2003-05-30  Ulrich Drepper  
2003-05-30  Ulrich Drepper  
            Jakub Jelinek  
            Jakub Jelinek  
        * lexsup.c (OPTION_PIE): Define.
        * lexsup.c (OPTION_PIE): Define.
        (ld_options): Add -pie and --pic-executable options.
        (ld_options): Add -pie and --pic-executable options.
        (parse_args): Handle OPTION_PIE.
        (parse_args): Handle OPTION_PIE.
        * ldmain.c (main): Initialize link_info.pie and
        * ldmain.c (main): Initialize link_info.pie and
        link_info.executable.
        link_info.executable.
        * genscripts.sh: Generate PIE scripts.
        * genscripts.sh: Generate PIE scripts.
        * ld.texinfo: Document -pie and --pic-executable options.
        * ld.texinfo: Document -pie and --pic-executable options.
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
        (gld${EMULATION_NAME}_place_orphan): Likewise.
        (gld${EMULATION_NAME}_place_orphan): Likewise.
        (gld${EMULATION_NAME}_get_script): Include PIE scripts.
        (gld${EMULATION_NAME}_get_script): Include PIE scripts.
        * scripttempl/elf.sc: In PIE scripts set . the same way as in
        * scripttempl/elf.sc: In PIE scripts set . the same way as in
        shared scripts.
        shared scripts.
        * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
        * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
        * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
        * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
2003-05-30  H.J. Lu 
2003-05-30  H.J. Lu 
        * genscripts.sh: Create tmpdir/libpath.exp.
        * genscripts.sh: Create tmpdir/libpath.exp.
2003-05-30  Nick Clifton  
2003-05-30  Nick Clifton  
        * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
        * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
        with a test for a NULL bfd_for_interworking.
        with a test for a NULL bfd_for_interworking.
2003-05-29  Jason Thorpe  
2003-05-29  Jason Thorpe  
        * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
        * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
        correctly for more recent versions of NetBSD.
        correctly for more recent versions of NetBSD.
        (alpha*-*-netbsd*): Remove.
        (alpha*-*-netbsd*): Remove.
        (i[3-7]86-*-netbsd*): Remove.
        (i[3-7]86-*-netbsd*): Remove.
2003-05-29  Nick Clifton  
2003-05-29  Nick Clifton  
        * emultempl/pe.em: Include "safe-ctype.h" instead of .
        * emultempl/pe.em: Include "safe-ctype.h" instead of .
2003-05-26  Maciej W. Rozycki  
2003-05-26  Maciej W. Rozycki  
        * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
        * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
        trap on pointer crops.
        trap on pointer crops.
2003-05-21  Marcus Comstedt  
2003-05-21  Marcus Comstedt  
        * configure.tgt: Check for a target triplet of shl-...-netbsdelf
        * configure.tgt: Check for a target triplet of shl-...-netbsdelf
        as well as shle-...-netbsdelf.
        as well as shle-...-netbsdelf.
2003-05-16  Kelley Cook  
2003-05-16  Kelley Cook  
        * configure.host: Accept i[3-7]86 variants.
        * configure.host: Accept i[3-7]86 variants.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
2003-05-15  H.J. Lu 
2003-05-15  H.J. Lu 
        * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
        * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
2003-05-09  Daniel Jacobowitz  
2003-05-09  Daniel Jacobowitz  
        * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
        * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
        (earmelfb.c, earmelfb_linux.c): New rules.
        (earmelfb.c, earmelfb_linux.c): New rules.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
        * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
        * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
        * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
2003-05-09  Nick Clifton  
2003-05-09  Nick Clifton  
        * ldlang.c (lang_size_sections_1): Default to generating a
        * ldlang.c (lang_size_sections_1): Default to generating a
        fatal error message if a loadable section is not allocated
        fatal error message if a loadable section is not allocated
        to a memory region when regions are defined.
        to a memory region when regions are defined.
2003-05-09  Alan Modra  
2003-05-09  Alan Modra  
        * Makefile.am (em68hc11elf.c): Correct dependencies.
        * Makefile.am (em68hc11elf.c): Correct dependencies.
        (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
        (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emultempl/elf32.em (find_exp_assignment): Adjust for changed
        * emultempl/elf32.em (find_exp_assignment): Adjust for changed
        bfd_elf_record_link_assignment name.
        bfd_elf_record_link_assignment name.
2003-05-07  Alexandre Oliva  
2003-05-07  Alexandre Oliva  
        * ldmain.h (overflow_cutoff_limit): Declare.
        * ldmain.h (overflow_cutoff_limit): Declare.
        * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
        * ldmain.c (overflow_cutoff_limit): Define, initialized to 10.
        (reloc_overflow): Limit error messages based on it.
        (reloc_overflow): Limit error messages based on it.
        * lexsup.c (parse_args) : Set cutoff to
        * lexsup.c (parse_args) : Set cutoff to
        unlimited.
        unlimited.
2003-05-05  Alan Modra  
2003-05-05  Alan Modra  
        * ldlex.l: Accept C style comments in version scripts.
        * ldlex.l: Accept C style comments in version scripts.
2003-04-28  H.J. Lu 
2003-04-28  H.J. Lu 
        * ldlang.c (lang_process): Add the relax finalize pass.
        * ldlang.c (lang_process): Add the relax finalize pass.
        * ldmain.c (main): Initialize link_info.relax_finalizing to
        * ldmain.c (main): Initialize link_info.relax_finalizing to
        FALSE.
        FALSE.
2003-04-24  Roland McGrath  
2003-04-24  Roland McGrath  
        * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
        * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
        If a name string is unknown, give an error rather than crashing later.
        If a name string is unknown, give an error rather than crashing later.
2003-04-23 Dhananjay Deshpande 
2003-04-23 Dhananjay Deshpande 
        * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
        * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o,
        eh8300hnelf.o, eh8300snelf.o and respective rules.
        eh8300hnelf.o, eh8300snelf.o and respective rules.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
        * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf
        * emulparams/h8300hn.sh: New
        * emulparams/h8300hn.sh: New
        * emulparams/h8300sn.sh: New
        * emulparams/h8300sn.sh: New
        * emulparams/h8300hnelf.sh: New
        * emulparams/h8300hnelf.sh: New
        * emulparams/h8300snelf.sh: New
        * emulparams/h8300snelf.sh: New
        * scripttempl/h8300hn.sc: new
        * scripttempl/h8300hn.sc: new
        * scripttempl/h8300sn.sc: new
        * scripttempl/h8300sn.sc: new
2003-04-23  H.J. Lu 
2003-04-23  H.J. Lu 
        * ldmain.c (link_callbacks): Initialize error_handler.
        * ldmain.c (link_callbacks): Initialize error_handler.
        * ldmisc.c (error_handler): New function.
        * ldmisc.c (error_handler): New function.
        * ldmisc.h (error_handler): New prototype.
        * ldmisc.h (error_handler): New prototype.
2003-04-21  Stephane Carrez  
2003-04-21  Stephane Carrez  
        * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
        * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
        * emulparams/m68hc11elfb.sh: Likewise.
        * emulparams/m68hc11elfb.sh: Likewise.
        * emulparams/m68hc12elf.sh: Likewise.
        * emulparams/m68hc12elf.sh: Likewise.
        * emulparams/m68hc12elfb.sh: Likewise.
        * emulparams/m68hc12elfb.sh: Likewise.
2003-04-19  Stephane Carrez  
2003-04-19  Stephane Carrez  
        * emultempl/m68hc1xelf.em: New file to generate far trampolines on
        * emultempl/m68hc1xelf.em: New file to generate far trampolines on
        68HC11 and 68HC12.
        68HC11 and 68HC12.
        (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
        (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
        generate.
        generate.
        (LDEMUL_FINISH): Override to generate the trampolines after gc and
        (LDEMUL_FINISH): Override to generate the trampolines after gc and
        linker relaxation.
        linker relaxation.
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
        stub file for trampolines.
        stub file for trampolines.
        (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
        (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
        --no-trampoline and --bank-window to control the memory bank window.
        --no-trampoline and --bank-window to control the memory bank window.
2003-04-18  H.J. Lu 
2003-04-18  H.J. Lu 
        * ldfile.c (ldfile_add_library_path): Remove the unused
        * ldfile.c (ldfile_add_library_path): Remove the unused
        variable.
        variable.
2003-04-18  Andrew Haley  
2003-04-18  Andrew Haley  
        * scripttempl/xstormy16.sc (__data, __rdata): New.
        * scripttempl/xstormy16.sc (__data, __rdata): New.
2003-04-16  Nick Clifton  
2003-04-16  Nick Clifton  
        * scripttempl/xstormy16.sc: Add .jcr section mapping.
        * scripttempl/xstormy16.sc: Add .jcr section mapping.
2003-04-15  H.J. Lu 
2003-04-15  H.J. Lu 
        From Debian by Jack Howarth :
        From Debian by Jack Howarth :
        * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
        * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
2003-04-15  Rohit Kumar Srivastava 
2003-04-15  Rohit Kumar Srivastava 
        * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
        * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
        * ld.texinfo: Likewise.
        * ld.texinfo: Likewise.
2003-04-14  Alan Modra  
2003-04-14  Alan Modra  
        From Prashanth Tamraparni 
        From Prashanth Tamraparni 
        * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
        * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and
        other variants of crtbegin.o, crtend.o.
        other variants of crtbegin.o, crtend.o.
        (DTOR): Likewise.
        (DTOR): Likewise.
        * scripttempl/crisaout.sc (ctors, dtors): Likewise.
        * scripttempl/crisaout.sc (ctors, dtors): Likewise.
        * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
        * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise.
        * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
        * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise.
        * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
        * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise.
        * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
        * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise.
        * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
        * scripttempl/iq2000.sc (CTOR, DTOR): Likewise.
        * scripttempl/mmo.sc (ctors, dtors): Likewise.
        * scripttempl/mmo.sc (ctors, dtors): Likewise.
        * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
        * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
2003-04-09   Dmitry Diky  
2003-04-09   Dmitry Diky  
        * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
        * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors
        sections to respect C++  constructor/destructor. Add ctors/dtors
        sections to respect C++  constructor/destructor. Add ctors/dtors
        start/stop definitions.
        start/stop definitions.
        * scripttempl/elf32msp430_3.sc: Likewise.
        * scripttempl/elf32msp430_3.sc: Likewise.
2003-04-06  Nick Clifton  
2003-04-06  Nick Clifton  
        * ld.texinfo (Options): Add a reminder of the target specific
        * ld.texinfo (Options): Add a reminder of the target specific
        nature to the description of the i386 PE specific options, for
        nature to the description of the i386 PE specific options, for
        readers who have not read all the way through the manual.
        readers who have not read all the way through the manual.
2003-04-04  Svein E. Seldal  
2003-04-04  Svein E. Seldal  
        * configure.tgt: Fixed bug in list of targ_extra_emuls.
        * configure.tgt: Fixed bug in list of targ_extra_emuls.
        * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
        * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace
        cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
        cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/
        * emulparams/tic3xcoff_onchip.sh: Ditto
        * emulparams/tic3xcoff_onchip.sh: Ditto
        * emulparams/tic4xcoff.sh: Ditto
        * emulparams/tic4xcoff.sh: Ditto
        * scripttempl/tic4xcoff.sc: Ditto
        * scripttempl/tic4xcoff.sc: Ditto
2003-04-03  Nick Clifton  
2003-04-03  Nick Clifton  
        * NEWS: Mention support for Xtensa architecture.
        * NEWS: Mention support for Xtensa architecture.
2003-04-02  Nick Clifton  
2003-04-02  Nick Clifton  
        * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
        * pe-dll.c (pe_detail_list): arm-pe targets use underscores.
2003-04-01  Danny Smith 
2003-04-01  Danny Smith 
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
        Don't call pe_dll_build_section() if link_info.relocateable.
        Don't call pe_dll_build_section() if link_info.relocateable.
        (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
        (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections()
        if link_info.relocateable.
        if link_info.relocateable.
2003-04-01  Fabrizio Gennari  
2003-04-01  Fabrizio Gennari  
        * pe-dll.c (process_def_file): Don't create an export
        * pe-dll.c (process_def_file): Don't create an export
        section if there are no exports and we're building an exe
        section if there are no exports and we're building an exe
        (pe_dll_build_sections): Ditto
        (pe_dll_build_sections): Ditto
        (pe_dll_fill_sections): Conditionalize setting
        (pe_dll_fill_sections): Conditionalize setting
        abfd->dll true on info->shared
        abfd->dll true on info->shared
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):
        If i386pe or armpe, call pe_dll_build_section()
        If i386pe or armpe, call pe_dll_build_section()
        for both exe's and dll's, not just dll's.
        for both exe's and dll's, not just dll's.
        (gld_${EMULATION_NAME}_finish): For all targets except
        (gld_${EMULATION_NAME}_finish): For all targets except
        shpe and mipspe, call pe_dll_fill_sections() for both
        shpe and mipspe, call pe_dll_fill_sections() for both
        exe's and dll's, not just dll's.
        exe's and dll's, not just dll's.
2003-04-02  Bob Wilson  
2003-04-02  Bob Wilson  
        * emulparams/xtensa-config.sh: Remove comment indicating that this is
        * emulparams/xtensa-config.sh: Remove comment indicating that this is
        a generated file.
        a generated file.
2003-04-01  Bob Wilson  
2003-04-01  Bob Wilson  
        * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o.
        (eelf32xtensa.c): New target.
        (eelf32xtensa.c): New target.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Handle xtensa-*-*.
        * configure.tgt: Handle xtensa-*-*.
        * gen-doc.texi: Set XTENSA variable.
        * gen-doc.texi: Set XTENSA variable.
        * ld.texinfo: Set XTENSA variable.  Add new Xtensa node.
        * ld.texinfo: Set XTENSA variable.  Add new Xtensa node.
        * emulparams/elf32xtensa.sh: New file.
        * emulparams/elf32xtensa.sh: New file.
        * emulparams/xtensa-config.sh: Likewise.
        * emulparams/xtensa-config.sh: Likewise.
        * emultempl/xtensaelf.em: Likewise.
        * emultempl/xtensaelf.em: Likewise.
        * scripttempl/elfxtensa.sc: Likewise.
        * scripttempl/elfxtensa.sc: Likewise.
2003-04-01  Jakub Jelinek  
2003-04-01  Jakub Jelinek  
        * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
        * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
        targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
        targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
        if --enable-64-bit-bfd.
        if --enable-64-bit-bfd.
2003-04-01  Nick Clifton  
2003-04-01  Nick Clifton  
        * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
        * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of
        note section.
        note section.
        * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
        * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change
        name of note section.
        name of note section.
2003-03-31  Alexandre Oliva  
2003-03-31  Alexandre Oliva  
        * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
        * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of
        --section-start.
        --section-start.
2003-03-31  David Heine  
2003-03-31  David Heine  
        * ldfile.c (ldfile_add_library_path): Always allocate space for
        * ldfile.c (ldfile_add_library_path): Always allocate space for
        the filename.
        the filename.
        * ldlang.c (lang_register_vers_node): Free the node if it cannot
        * ldlang.c (lang_register_vers_node): Free the node if it cannot
        be used.
        be used.
        * ldmain.c (set_scripts_dir): Always free the constructed
        * ldmain.c (set_scripts_dir): Always free the constructed
        directory name.
        directory name.
        (add_keepsyms_file): Fix memory leak.
        (add_keepsyms_file): Fix memory leak.
        * ldmisc.c (vfinfo): Likewise.
        * ldmisc.c (vfinfo): Likewise.
        * lexsup.c (parse_args): Likewise.
        * lexsup.c (parse_args): Likewise.
2003-03-25  Stan Cox   
2003-03-25  Stan Cox   
            Nick Clifton  
            Nick Clifton  
        Contribute support for Intel's iWMMXt chip - an ARM variant:
        Contribute support for Intel's iWMMXt chip - an ARM variant:
        * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
        * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
        * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
        * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
        * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
        * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
        (.bss): Likewise.
        (.bss): Likewise.
2003-03-25  Alexandre Oliva  
2003-03-25  Alexandre Oliva  
        * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
        * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare.
        * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
        * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define.
        (main): Initialize them.
        (main): Initialize them.
        * ldfile.c: Include pathnames.h.
        * ldfile.c: Include pathnames.h.
        (is_sysrooted_pathname): New.
        (is_sysrooted_pathname): New.
        (ldfile_add_library_path): Use it.
        (ldfile_add_library_path): Use it.
        (ldfile_open_file_search): Likewise.  Use IS_ABSOLUTE_PATH.  Don't
        (ldfile_open_file_search): Likewise.  Use IS_ABSOLUTE_PATH.  Don't
        search_dirs if given an absolute pathname.
        search_dirs if given an absolute pathname.
        (ldfile_open_file): Issue error message for sysrooted
        (ldfile_open_file): Issue error message for sysrooted
        absolute pathnames.
        absolute pathnames.
        * Makefile.am: Updated dependencies.
        * Makefile.am: Updated dependencies.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2003-03-24  Daniel Néri  
2003-03-24  Daniel Néri  
        * ld.texinfo: Rename all occurances of C54X to TIC54X.
        * ld.texinfo: Rename all occurances of C54X to TIC54X.
2003-03-19  Andreas Schwab  
2003-03-19  Andreas Schwab  
        * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
        * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after
        eof.
        eof.
2003-03-18  Danny Smith  
2003-03-18  Danny Smith  
        * deffilep.y (opt_base): If no number given, set to default
        * deffilep.y (opt_base): If no number given, set to default
        (-1), not 0.
        (-1), not 0.
2003-03-13  Danny Smith  
2003-03-13  Danny Smith  
        * deffilep.y (def_import): Use default extension of "dll"
        * deffilep.y (def_import): Use default extension of "dll"
        if no extension provided in parsed IMPORT definition.
        if no extension provided in parsed IMPORT definition.
        * deffilep.y (def_lex): Revert 2003-03-12 change.
        * deffilep.y (def_lex): Revert 2003-03-12 change.
        (dot_name): New id type and rule.
        (dot_name): New id type and rule.
        (expline): Use instead of ID.
        (expline): Use instead of ID.
        (opt_equal_name): Likewise.
        (opt_equal_name): Likewise.
2003-03-12  Danny Smith  
2003-03-12  Danny Smith  
        * deffilep.y (def_lex): Accept '.' as valid non-lead char.
        * deffilep.y (def_lex): Accept '.' as valid non-lead char.
2003-03-07  Christopher Faylor  
2003-03-07  Christopher Faylor  
        * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
        * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after
        apparent accidental removal on 2003-01-06.
        apparent accidental removal on 2003-01-06.
2003-03-04  Dmitry Diky  
2003-03-04  Dmitry Diky  
        * Makefile.am: Add new devices x1122 x1132 emulation
        * Makefile.am: Add new devices x1122 x1132 emulation
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/msp430x1122.sh: New file.
        * emulparams/msp430x1122.sh: New file.
        * emulparams/msp430x1132.sh: New file.
        * emulparams/msp430x1132.sh: New file.
2003-03-03  Alexandre Oliva  
2003-03-03  Alexandre Oliva  
        * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
        * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as
        well.
        well.
        * ldfile.h (struct search_dirs): Added sysrooted field.
        * ldfile.h (struct search_dirs): Added sysrooted field.
        * ldlang.h (struct lang_input_statement_struct): Likewise.
        * ldlang.h (struct lang_input_statement_struct): Likewise.
        * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
        * ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
        (ldfile_open_file_search): Look for sysrooted filename starting
        (ldfile_open_file_search): Look for sysrooted filename starting
        with / in ld_sysroot instead of in the current directory.  Clear
        with / in ld_sysroot instead of in the current directory.  Clear
        sysrooted flag if it's found in the current directory.  Set it
        sysrooted flag if it's found in the current directory.  Set it
        from the search directory's sysrooted flag where it is found
        from the search directory's sysrooted flag where it is found
        otherwise.
        otherwise.
        * ldlang.c (ldlang_sysrooted_script): New static variable.
        * ldlang.c (ldlang_sysrooted_script): New static variable.
        (new_afile): Mark search_file_enums as sysrooted if
        (new_afile): Mark search_file_enums as sysrooted if
        ldlang_sysrooted_script.
        ldlang_sysrooted_script.
        (load_symbols): Set ldlang_sysrooted_script according to the
        (load_symbols): Set ldlang_sysrooted_script according to the
        script's sysrooted field while processing it.
        script's sysrooted field while processing it.
        * ld.texinfo: Document INPUT behavior in sysroot.
        * ld.texinfo: Document INPUT behavior in sysroot.
2003-03-02  Danny Smith  
2003-03-02  Danny Smith  
        * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
        * scripttempl/pe.sc: Use PROVIDE with etext, end, _end,
2003-03-03  Alan Modra  
2003-03-03  Alan Modra  
        * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
        * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.
        (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
        (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
        PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
        PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES,
        PARSE_AND_LIST_EPILOGUE): Don't define.
        PARSE_AND_LIST_EPILOGUE): Don't define.
        * emultempl/alphaelf.em: New file.
        * emultempl/alphaelf.em: New file.
2003-03-01  Alan Modra  
2003-03-01  Alan Modra  
        * ldemul.c: Include getopt.h.
        * ldemul.c: Include getopt.h.
        * emultempl/elf32.em: Include getopt.h earlier.
        * emultempl/elf32.em: Include getopt.h earlier.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
2003-02-28  Alan Modra  
2003-02-28  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
        * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc
        support when scripts read from files.
        support when scripts read from files.
2003-02-28  Alan Modra  
2003-02-28  Alan Modra  
        * ldemul.c (ldemul_parse_args): Return FALSE by default.
        * ldemul.c (ldemul_parse_args): Return FALSE by default.
        * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
        * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args
        comment.
        comment.
        * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
        * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.
        (ldemul_parse_args): Return bfd_boolean.  Formatting.
        (ldemul_parse_args): Return bfd_boolean.  Formatting.
        * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
        * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare.
        (ldemul_parse_args): Adjust.
        (ldemul_parse_args): Adjust.
        (struct ld_emulation_xfer_struct): Add add_options and handle_option.
        (struct ld_emulation_xfer_struct): Add add_options and handle_option.
        Return bfd_boolean from parse_args.
        Return bfd_boolean from parse_args.
        * lexsup.c (parse_args): Malloc shortopts, longopts and
        * lexsup.c (parse_args): Malloc shortopts, longopts and
        really_longopts.  Call ldemul_add_options and ldemul_handle_option.
        really_longopts.  Call ldemul_add_options and ldemul_handle_option.
        * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
        * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from
        gld${EMULATION_NAME}_parse_args.
        gld${EMULATION_NAME}_parse_args.
        (gld${EMULATION_NAME}_handle_option): Likewise.
        (gld${EMULATION_NAME}_handle_option): Likewise.
        (ld_${EMULATION_NAME}_emulation): Adjust initializer.
        (ld_${EMULATION_NAME}_emulation): Adjust initializer.
        * emultempl/armcoff.em: As for aix.em, but remove parse_args.
        * emultempl/armcoff.em: As for aix.em, but remove parse_args.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/elf32.em: Likewise.  Don't duplicate long options either.
        * emultempl/elf32.em: Likewise.  Don't duplicate long options either.
        (gld${EMULATION_NAME}_add_sysroot): Prototype.
        (gld${EMULATION_NAME}_add_sysroot): Prototype.
        * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
        * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate
        options.
        options.
        * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
        * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
        * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
        * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
        * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
        * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise.
        * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
        * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust
        initializer.
        initializer.
        * emultempl/generic.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
        * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
2003-02-25  Alexandre Oliva  
2003-02-25  Alexandre Oliva  
        * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
        * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix
        memory allocation error.
        memory allocation error.
        * Makefile.am (ldmain.o): Define TOOLBINDIR.
        * Makefile.am (ldmain.o): Define TOOLBINDIR.
        * Makefile.in: Rebuilt.
        * Makefile.in: Rebuilt.
        * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
        * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too.
2003-02-21  Bob Wilson  
2003-02-21  Bob Wilson  
        * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
        * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only
        call os_region_check when it is set.
        call os_region_check when it is set.
        (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
        (lang_size_sections): Add CHECK_REGIONS argument and pass it through to
        lang_size_sections_1.
        lang_size_sections_1.
        (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
        (lang_process): Change lang_size_sections calls to set CHECK_REGIONS
        only for the last call, not on every relaxation iteration.
        only for the last call, not on every relaxation iteration.
        * ldlang.h (lang_size_sections): Update prototype.
        * ldlang.h (lang_size_sections): Update prototype.
        * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
        * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls
        to lang_size_sections.
        to lang_size_sections.
        (pe_exe_fill_sections): Likewise.
        (pe_exe_fill_sections): Likewise.
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise.
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
        * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
        * emultempl/ppc64elf.em (ppc_before_allocation): Likewise.
        (ppc_layout_sections_again): Likewise.
        (ppc_layout_sections_again): Likewise.
2003-02-21  Bob Wilson  
2003-02-21  Bob Wilson  
        * gen-doc.texi: Set ARM and HPPA variables.
        * gen-doc.texi: Set ARM and HPPA variables.
        * ld.texinfo: Fix typos and obvious texinfo mistakes.  Make section
        * ld.texinfo: Fix typos and obvious texinfo mistakes.  Make section
        title capitalization more consistent.  Add missing menu entries for
        title capitalization more consistent.  Add missing menu entries for
        machine-specific sections and conditionalize them consistently.
        machine-specific sections and conditionalize them consistently.
        Conditionalize text that is irrelevant when SingleFormat is set.
        Conditionalize text that is irrelevant when SingleFormat is set.
        Add @group divisions to improve page breaks in long examples.
        Add @group divisions to improve page breaks in long examples.
        Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
        Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output
        is correct.  Remove "FIXME" comment about not using
        is correct.  Remove "FIXME" comment about not using
        @raisesections/@lowersections.  Use @raisesections/@lowersections
        @raisesections/@lowersections.  Use @raisesections/@lowersections
        consistently for machine-specific sections.  Change to be more polite
        consistently for machine-specific sections.  Change to be more polite
        about poor bug reports.  Replace FDL appendix with include of fdl.texi.
        about poor bug reports.  Replace FDL appendix with include of fdl.texi.
        Move WIN32 node to match its order in the menus.
        Move WIN32 node to match its order in the menus.
        * fdl.texi: New file.
        * fdl.texi: New file.
2003-02-20  Alexandre Oliva  
2003-02-20  Alexandre Oliva  
        * configure.in (TARGET_SYSTEM_ROOT): Set default to
        * configure.in (TARGET_SYSTEM_ROOT): Set default to
        ${exec_prefix}/${target_alias}/sys-root.  Match explicit
        ${exec_prefix}/${target_alias}/sys-root.  Match explicit
        '${exec_prefix}' (in addition to the expansion thereof) as
        '${exec_prefix}' (in addition to the expansion thereof) as
        relocatable.
        relocatable.
        * configure: Rebuilt.
        * configure: Rebuilt.
2003-02-20  Phil Edwards  
2003-02-20  Phil Edwards  
        * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
        * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.
2003-02-20  Harri Porten  
2003-02-20  Harri Porten  
        * ldgram.y (vers_defns): Allow optional trailing semicolon in
        * ldgram.y (vers_defns): Allow optional trailing semicolon in
        EXTERN NAME block;
        EXTERN NAME block;
2003-02-18  Alan Modra  
2003-02-18  Alan Modra  
        * emultempl/ppc32elf.em: New file.
        * emultempl/ppc32elf.em: New file.
        * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
        * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define.
        * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
        * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em.
        (eelf32lppcnto.c): Likewise.
        (eelf32lppcnto.c): Likewise.
        (eelf32lppcsim.c): Likewise.
        (eelf32lppcsim.c): Likewise.
        (eelf32ppcnto.c): Likewise.
        (eelf32ppcnto.c): Likewise.
        (eelf32ppc.c): Likewise.
        (eelf32ppc.c): Likewise.
        (eelf32ppc_fbsd.c): Likewise.
        (eelf32ppc_fbsd.c): Likewise.
        (eelf32ppcsim.c): Likewise.
        (eelf32ppcsim.c): Likewise.
        (eelf32ppclinux.c): Likewise.
        (eelf32ppclinux.c): Likewise.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-02-18  Alan Modra  
2003-02-18  Alan Modra  
        * ld.texinfo: Remove spaces between @samp and opening brace.
        * ld.texinfo: Remove spaces between @samp and opening brace.
2003-02-18  Alan Modra  
2003-02-18  Alan Modra  
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check
        hash creator.
        hash creator.
        (ppc_before_allocation): Don't do optimizations if wrong hash table.
        (ppc_before_allocation): Don't do optimizations if wrong hash table.
        (gld${EMULATION_NAME}_finish): Ditto.
        (gld${EMULATION_NAME}_finish): Ditto.
2003-02-17  Nick Clifton  
2003-02-17  Nick Clifton  
        * ldmain.c (main) Default allow_shlib_undefined to true.
        * ldmain.c (main) Default allow_shlib_undefined to true.
        * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
        * lexsup.c (ld_options): Add --no-allow-shlib-undefined.
        (parse_args): Parse the new switch.
        (parse_args): Parse the new switch.
        * ld.texinfo: Document new switch and default behaviour of
        * ld.texinfo: Document new switch and default behaviour of
        allowing undefined symbols in shared libraries.
        allowing undefined symbols in shared libraries.
2003-02-11 Dmitry Diky  
2003-02-11 Dmitry Diky  
        * scripttempl/elf32msp430.sc: Add new data anchors definitions.
        * scripttempl/elf32msp430.sc: Add new data anchors definitions.
        * scripttempl/elf32msp430_3.sc: Likewise.
        * scripttempl/elf32msp430_3.sc: Likewise.
2003-02-11  Uwe Stieber  
2003-02-11  Uwe Stieber  
        * configure.tgt: Add support for kaOS as cross build target
        * configure.tgt: Add support for kaOS as cross build target
        system.
        system.
2003-02-10  John Daivid Anglin  
2003-02-10  John Daivid Anglin  
        * hppaelf.em (group_size): Change default back to 1.
        * hppaelf.em (group_size): Change default back to 1.
2003-02-09  Alan Modra  
2003-02-09  Alan Modra  
        * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
        * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
2003-02-07  John David Anglin  
2003-02-07  John David Anglin  
        * hppaelf.em (group_size): Change default to -1.
        * hppaelf.em (group_size): Change default to -1.
2003-02-07  Nick Clifton  
2003-02-07  Nick Clifton  
        * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
        * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short
        opt.
        opt.
        (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
        (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for
        no-pipeline-knowledge.  This will prevent the getopt package from
        no-pipeline-knowledge.  This will prevent the getopt package from
        thinking that there are any shorter abbreviations for
        thinking that there are any shorter abbreviations for
        --no-pipeline-knowledge.
        --no-pipeline-knowledge.
2003-02-07  Jakub Jelinek  
2003-02-07  Jakub Jelinek  
        * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
        * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
        which already have it.  Avoid duplicates.
        which already have it.  Avoid duplicates.
2003-02-06  Jakub Jelinek  
2003-02-06  Jakub Jelinek  
        * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
        * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
        * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
        * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
        * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
        * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
2003-02-05  Alan Modra  
2003-02-05  Alan Modra  
        * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
        * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
        call ppc64_elf_tls_optimize.
        call ppc64_elf_tls_optimize.
2003-02-03  Daniel Jacobowitz  
2003-02-03  Daniel Jacobowitz  
        * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
        * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
        outside of GNU/Linux conditional.
        outside of GNU/Linux conditional.
2003-01-28  Ralf Habacker  
2003-01-28  Ralf Habacker  
        * deffilep.y (def_get_module): New function: locate an already
        * deffilep.y (def_get_module): New function: locate an already
        added module.
        added module.
        * deffile.h (def_get_module): New prototype.
        * deffile.h (def_get_module): New prototype.
        * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
        * pe-dll.c (pe_implied_import_dll): Add code to prevent importing
        a dll multiple times.
        a dll multiple times.
2003-01-23  Alan Modra  
2003-01-23  Alan Modra  
        * emultempl/sh64elf.em: Include elf32-sh64.h.
        * emultempl/sh64elf.em: Include elf32-sh64.h.
        (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
        (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed
        sh64_elf_section_data.
        sh64_elf_section_data.
        (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
        (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
2003-01-23  Wu Yongwei  
2003-01-23  Wu Yongwei  
        * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
        * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
        * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
        * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
        cross-80th-column-margin "an" to the next line.
        cross-80th-column-margin "an" to the next line.
2003-01-21  Nick Clifton  
2003-01-21  Nick Clifton  
        * emulparams/tic3xcoff-onchip.sh: Rename to ...z
        * emulparams/tic3xcoff-onchip.sh: Rename to ...z
        * emulparams/tic3xcoff_onchip.sh: ...this.
        * emulparams/tic3xcoff_onchip.sh: ...this.
        * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
        * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-01-21  Fabio Alemagna  
2003-01-21  Fabio Alemagna  
        * configure.tgt: Handle i[3456]86-*-aros*
        * configure.tgt: Handle i[3456]86-*-aros*
2003-01-19  Svein E. Seldal  
2003-01-19  Svein E. Seldal  
        * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
        * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
        * Makefile.in: Regenerate
        * Makefile.in: Regenerate
        * configure.tgt: Added extra target emulations
        * configure.tgt: Added extra target emulations
        * emulparams/tic3xcoff.sh: Remove old settings
        * emulparams/tic3xcoff.sh: Remove old settings
        * emulparams/tic4xcoff.sh: Ditto
        * emulparams/tic4xcoff.sh: Ditto
        * emulparams/tic3xcoff-onchip.sh: Added new
        * emulparams/tic3xcoff-onchip.sh: Added new
        * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
        * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
        * scripttempl/tic3xcoff.sc: Remove
        * scripttempl/tic3xcoff.sc: Remove
2003-01-17  Andreas Jaeger  
2003-01-17  Andreas Jaeger  
        * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
        * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
        skip ':'.
        skip ':'.
2003-01-16  Alan Modra  
2003-01-16  Alan Modra  
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2003-01-14  Charles Wilson  
2003-01-14  Charles Wilson  
        * ld.texinfo (node WIN32): Some clarifications
        * ld.texinfo (node WIN32): Some clarifications
        and formatting fixups.
        and formatting fixups.
2003-01-09  Chris Demetriou  
2003-01-09  Chris Demetriou  
        * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
        * ldmain.c (get_emulation): Sort -mipsNN checks in the usual
        order, and handle (ignore) -mips32r2.
        order, and handle (ignore) -mips32r2.
2003-01-09  Daniel Jacobowitz  
2003-01-09  Daniel Jacobowitz  
        * ldmain.c (main): Make sure ld_sysroot is initialized.
        * ldmain.c (main): Make sure ld_sysroot is initialized.
2003-01-06  Daniel Jacobowitz  
2003-01-06  Daniel Jacobowitz  
        * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
        * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.
        * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
        * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@.
        (GENSCRIPTS): Add @use_sysroot@.
        (GENSCRIPTS): Add @use_sysroot@.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * configure.host: Move setting of NATIVE_LIB_DIRS to...
        * configure.host: Move setting of NATIVE_LIB_DIRS to...
        * configure.tgt: ... here.  Use ${target} instead of ${host}
        * configure.tgt: ... here.  Use ${target} instead of ${host}
        for NATIVE_LIB_DIRS.
        for NATIVE_LIB_DIRS.
        * configure.in: Add --with-sysroot.
        * configure.in: Add --with-sysroot.
        * configure: Regenerated.
        * configure: Regenerated.
        * genscripts.sh: Accept use_sysroot option.  Set new variables
        * genscripts.sh: Accept use_sysroot option.  Set new variables
        NATIVE and USE_LIBPATH.  Prepend "=" to directory names if
        NATIVE and USE_LIBPATH.  Prepend "=" to directory names if
        $use_sysroot.  Don't search $tool_lib if $use_sysroot.
        $use_sysroot.  Don't search $tool_lib if $use_sysroot.
        * ldfile.c (ldfile_add_library_path): Handle leading '='.
        * ldfile.c (ldfile_add_library_path): Handle leading '='.
        * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
        * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined.
        (ld_sysroot): New variable.
        (ld_sysroot): New variable.
        (main): Initialize ld_sysroot.
        (main): Initialize ld_sysroot.
        * ldmain.h (ld_sysroot): New extern.
        * ldmain.h (ld_sysroot): New extern.
        * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
        * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of
        searching $EMULATION_LIBPATH.
        searching $EMULATION_LIBPATH.
        (gld${EMULATION_NAME}_add_sysroot): New function.
        (gld${EMULATION_NAME}_add_sysroot): New function.
        (gld${EMULATION_NAME}_check_ld_so_conf): Use it.  Honor ld_sysroot.
        (gld${EMULATION_NAME}_check_ld_so_conf): Use it.  Honor ld_sysroot.
        (gld${EMULATION_NAME}_after_open): Likewise.  Only search
        (gld${EMULATION_NAME}_after_open): Likewise.  Only search
        environment variables if $NATIVE.
        environment variables if $NATIVE.
        * ld.texinfo (Options): Mention "=" prefix in the description of -L.
        * ld.texinfo (Options): Mention "=" prefix in the description of -L.
        * NEWS: Mention --with-sysroot.
        * NEWS: Mention --with-sysroot.
        * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
        * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX
        instead of setting LIB_PATH.
        instead of setting LIB_PATH.
        * emulparams/elf32ppc.sh: Likewise.
        * emulparams/elf32ppc.sh: Likewise.
        * emulparams/elf64_s390.sh: Likewise.
        * emulparams/elf64_s390.sh: Likewise.
        * emulparams/elf64_sparc.sh: Likewise.
        * emulparams/elf64_sparc.sh: Likewise.
        * emulparams/elf64ppc.sh: Likewise.
        * emulparams/elf64ppc.sh: Likewise.
        * emulparams/elf_x86_64.sh: Likewise.
        * emulparams/elf_x86_64.sh: Likewise.
        * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
        * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH.
        * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
        * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
2003-01-03  Charles Wilson  
2003-01-03  Charles Wilson  
        * pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
        * pe-dll.c (autofilter_symbollist): Add cygwin_crt0.
2003-01-04  Daniel Jacobowitz  
2003-01-04  Daniel Jacobowitz  
        * Makefile.am (ldmain.o): Pass BINDIR.
        * Makefile.am (ldmain.o): Pass BINDIR.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
        * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first
        search path.
        search path.
2003-01-02  Ben Elliston  
2003-01-02  Ben Elliston  
        * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.
        (eelf32iq2000.c): New target.
        (eelf32iq2000.c): New target.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Handle iq2000-*-elf.
        * configure.tgt: Handle iq2000-*-elf.
        * emulparams/elf32iq10.sh: New file.
        * emulparams/elf32iq10.sh: New file.
        * emulparams/elf32iq2000.sh: New file.
        * emulparams/elf32iq2000.sh: New file.
        * scripttempl/iq2000.sc: New file.
        * scripttempl/iq2000.sc: New file.
2003-01-02 Charles Wilson 
2003-01-02 Charles Wilson 
        * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
        * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc
        and _pei386_runtime_relocator to the exclude list.
        and _pei386_runtime_relocator to the exclude list.
2003-01-01  Kazu Hirata  
2003-01-01  Kazu Hirata  
        * ldfile.c: Fix comment typos.
        * ldfile.c: Fix comment typos.
        * ldlang.c: Likewise.
        * ldlang.c: Likewise.
        * mri.c: Likewise.
        * mri.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
2003-01-01  Daniel Jacobowitz  
2003-01-01  Daniel Jacobowitz  
        Suggested by Manfred Hollstein :
        Suggested by Manfred Hollstein :
        * Makefile.am (ld.1): Depend on configdoc.texi
        * Makefile.am (ld.1): Depend on configdoc.texi
        and ldver.texi.
        and ldver.texi.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2002-12-24  Dmitry Diky  
2002-12-24  Dmitry Diky  
        * Makefile.am: Add msp430 target.
        * Makefile.am: Add msp430 target.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/msp430x???.sh: New files.  Linker script parameters
        * emulparams/msp430x???.sh: New files.  Linker script parameters
        for various msp430 configurations.
        for various msp430 configurations.
        * gen-doc.texi: Enable msp430 documenation.
        * gen-doc.texi: Enable msp430 documenation.
        * ld.texinfo: Document msp430 sections.
        * ld.texinfo: Document msp430 sections.
        * scripttempl/elf32msp430.sc: New file.  Linker script for msp430.
        * scripttempl/elf32msp430.sc: New file.  Linker script for msp430.
        * scripttempl/elf32msp430_3.sc: New file.  Linker script for msp430.
        * scripttempl/elf32msp430_3.sc: New file.  Linker script for msp430.
2002-12-30  Ralf Habacker  
2002-12-30  Ralf Habacker  
            Charles Wilson  
            Charles Wilson  
        * config.in (HAVE_REALPATH): New entry.
        * config.in (HAVE_REALPATH): New entry.
        (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
        (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete.
2002-12-30  Ralf Habacker  
2002-12-30  Ralf Habacker  
        * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll
        * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll
        symbols'.
        symbols'.
2002-12-23  Alan Modra  
2002-12-23  Alan Modra  
        * ldmain.c (main): Init "strip_discarded".
        * ldmain.c (main): Init "strip_discarded".
        * lexsup.c (OPTION_STRIP_DISCARDED): Define.
        * lexsup.c (OPTION_STRIP_DISCARDED): Define.
        (OPTION_NO_STRIP_DISCARDED): Define.
        (OPTION_NO_STRIP_DISCARDED): Define.
        (ld_options): Add "strip-discarded" and "no-strip-discarded".
        (ld_options): Add "strip-discarded" and "no-strip-discarded".
        (parse_args): Handle them.
        (parse_args): Handle them.
2002-12-23  Nick Clifton  
2002-12-23  Nick Clifton  
        * ld.h (struct args_type): Add new field
        * ld.h (struct args_type): Add new field
        'accept_unknown_input_architecture'.
        'accept_unknown_input_architecture'.
        * ldmain.c (main): Initialise 'accept_unknown_input_architecture'
        * ldmain.c (main): Initialise 'accept_unknown_input_architecture'
        to false.
        to false.
        * ldlang.c (lang_check): Pass accept_unknown_input_architecture to
        * ldlang.c (lang_check): Pass accept_unknown_input_architecture to
        bfd_arch_get_compatible.
        bfd_arch_get_compatible.
        * ldfile.c (ldfile_try_open_bfd): Likewise.
        * ldfile.c (ldfile_try_open_bfd): Likewise.
        * lexsup.c (ld_options): Add new command line switch
        * lexsup.c (ld_options): Add new command line switch
        --accept-unknown-input-architecture and its inverse.
        --accept-unknown-input-architecture and its inverse.
        (parse_args): Handle --accept-unknown-input-architecture.
        (parse_args): Handle --accept-unknown-input-architecture.
        * ld.texinfo: Document new linker option.
        * ld.texinfo: Document new linker option.
        * NEWS: Mention new linker option.
        * NEWS: Mention new linker option.
2002-12-20  Alan Modra  
2002-12-20  Alan Modra  
        * ldmain.c (main): Re-order link_info initialization.  Init all
        * ldmain.c (main): Re-order link_info initialization.  Init all
        fields.
        fields.
2002-12-19  Charles Wilson  
2002-12-19  Charles Wilson  
        * ld.texinfo: Clarify and extend the documentation
        * ld.texinfo: Clarify and extend the documentation
        in the Machine Dependent, WIN32 section.
        in the Machine Dependent, WIN32 section.
2002-12-18  Ralf Habacker  
2002-12-18  Ralf Habacker  
        * ld.texinfo: Add win32 machine depending section.
        * ld.texinfo: Add win32 machine depending section.
        * gen-doc.texi: Enable win32 machine depending section.
        * gen-doc.texi: Enable win32 machine depending section.
        * configure.host: Add win32 library search path.
        * configure.host: Add win32 library search path.
2002-12-17  Ralf Habacker  
2002-12-17  Ralf Habacker  
        * emultempl/pe.em (pe_find_data_imports): Don't search for data
        * emultempl/pe.em (pe_find_data_imports): Don't search for data
        import when auto-import is disabled.
        import when auto-import is disabled.
2002-12-17  Danny Smith  
2002-12-17  Danny Smith  
        * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
        * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to
        account for trailing '\0'.
        account for trailing '\0'.
2002-12-17  Nick Clifton  
2002-12-17  Nick Clifton  
        * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
        * emultempl/pe.em (longopts): Duplicate entry for --compact-implib
        so that it is not confused with -c.
        so that it is not confused with -c.
2002-12-13  Ralf Habacker  
2002-12-13  Ralf Habacker  
            Charles Wilson  
            Charles Wilson  
        * configure.in: Add check for realpath function.
        * configure.in: Add check for realpath function.
        * configure: Regenerate.
        * configure: Regenerate.
        * config.in: Regenerate.
        * config.in: Regenerate.
        * aclocal.m4: Regenerate.
        * aclocal.m4: Regenerate.
        * deffile.h: Add .data field to def_file_import
        * deffile.h: Add .data field to def_file_import
        structure.
        structure.
        * pe-dll.c (pe_proces_import_defs): Use .data field of
        * pe-dll.c (pe_proces_import_defs): Use .data field of
        def_file_import structure to initialize flag_data field of
        def_file_import structure to initialize flag_data field of
        def_file_export structure.
        def_file_export structure.
        (pe_implied_import_dll): New variables exp_funcbase and
        (pe_implied_import_dll): New variables exp_funcbase and
        [data|bss]_[start|end].  Use DLL's internal name to set dll_name,
        [data|bss]_[start|end].  Use DLL's internal name to set dll_name,
        not filename (which may be a symlink).  Scan the sections and
        not filename (which may be a symlink).  Scan the sections and
        initialize [data|bss]_[start|end].  When scanning the export
        initialize [data|bss]_[start|end].  When scanning the export
        table, skip _nm_ symbols, and mark any symbols whose rva indicates
        table, skip _nm_ symbols, and mark any symbols whose rva indicates
        that it is in the .bss or .data sections as data.
        that it is in the .bss or .data sections as data.
        * sysdep.h: Include limits.h and sys/param.h, and define
        * sysdep.h: Include limits.h and sys/param.h, and define
        LD_PATHMAX as appropriate.  Also define REALPATH as realpath if it
        LD_PATHMAX as appropriate.  Also define REALPATH as realpath if it
        exists, NULL otherwise.
        exists, NULL otherwise.
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call
        pe_process_import_defs before pe_find_data_imports, so that
        pe_process_import_defs before pe_find_data_imports, so that
        auto-import will check the virtual implib as well as "real"
        auto-import will check the virtual implib as well as "real"
        implibs.
        implibs.
        (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
        (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow
        symlinks to their target; check that the target's extension is
        symlinks to their target; check that the target's extension is
        .dll before calling pe_implied_import_dll(), not the filename
        .dll before calling pe_implied_import_dll(), not the filename
        itself (which may be a symlink).
        itself (which may be a symlink).
2002-12-10  Alan Modra  
2002-12-10  Alan Modra  
        * emultempl/elf32.em (struct orphan_save): Add os_tail field.
        * emultempl/elf32.em (struct orphan_save): Add os_tail field.
        (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
        (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
        list too.
        list too.
2002-12-08  Alan Modra  
2002-12-08  Alan Modra  
        * ldlang.h: Formatting.
        * ldlang.h: Formatting.
2002-12-07  Alan Modra  
2002-12-07  Alan Modra  
        * ldlang.c (init_os): Ensure sections mentioned in load_base
        * ldlang.c (init_os): Ensure sections mentioned in load_base
        are initialized.
        are initialized.
2002-12-05  Alan Modra  
2002-12-05  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
        load_base for orphans that follow a section with load_base set.
        load_base for orphans that follow a section with load_base set.
2002-12-01  H.J. Lu 
2002-12-01  H.J. Lu 
        * ld.texinfo: Remove the extra `;' in sample version script.
        * ld.texinfo: Remove the extra `;' in sample version script.
2002-11-30  Alan Modra  
2002-11-30  Alan Modra  
        * configure.host: Correct dynamic-linker for powerpc64 hosts.
        * configure.host: Correct dynamic-linker for powerpc64 hosts.
        * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
        * Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
        * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c,
        ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
        ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c,
        ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
        ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h,
        emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
        emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em,
        emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
        emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em,
        emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
        emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em,
        emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
        emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em,
        emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
        emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em,
        emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
        emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em,
        emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
        emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em,
        emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
        emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace
        boolean with bfd_boolean, true with TRUE, false with FALSE.  Simplify
        boolean with bfd_boolean, true with TRUE, false with FALSE.  Simplify
        comparisons of bfd_boolean vars with TRUE/FALSE.  Formatting.
        comparisons of bfd_boolean vars with TRUE/FALSE.  Formatting.
2002-11-27  David O'Brien  
2002-11-27  David O'Brien  
        * configure.host: Fix generic FreeBSD configuration entry.
        * configure.host: Fix generic FreeBSD configuration entry.
2002-11-27  H.J. Lu 
2002-11-27  H.J. Lu 
        * ld.texinfo: Add the missing `;' to sample version scripts.
        * ld.texinfo: Add the missing `;' to sample version scripts.
2002-11-20  Alan Modra  
2002-11-20  Alan Modra  
        * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
        * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
2002-11-14  Egor Duda  
2002-11-14  Egor Duda  
        * ldmain.c (main): Make runtime relocs disabled by default. Remove
        * ldmain.c (main): Make runtime relocs disabled by default. Remove
        assignment which has no effect.
        assignment which has no effect.
        * pe-dll.h (pe_create_import_fixup): Change prototype.
        * pe-dll.h (pe_create_import_fixup): Change prototype.
        * pe-dll.c (make_runtime_pseudo_reloc): New function.
        * pe-dll.c (make_runtime_pseudo_reloc): New function.
        (pe_create_runtime_relocator_reference): Ditto.
        (pe_create_runtime_relocator_reference): Ditto.
        (pe_create_import_fixup): Handle relocations with non-zero addends.
        (pe_create_import_fixup): Handle relocations with non-zero addends.
        * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
        * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and
        --disable-runtime-pseudo-reloc.
        --disable-runtime-pseudo-reloc.
        (make_import_fixup): Handle relocations with non-zero addends. Create
        (make_import_fixup): Handle relocations with non-zero addends. Create
        an external reference to _pei386_runtime_relocator symbol if at least
        an external reference to _pei386_runtime_relocator symbol if at least
        one pseudo reloc was created.
        one pseudo reloc was created.
        * ld.texinfo: Document --enable-runtime-pseudo-reloc and
        * ld.texinfo: Document --enable-runtime-pseudo-reloc and
        --disable-runtime-pseudo-reloc options.
        --disable-runtime-pseudo-reloc options.
2002-11-12  Earl Chew 
2002-11-12  Earl Chew 
        * ldlang.c (lang_add_section): Discard debugging sections that have
        * ldlang.c (lang_add_section): Discard debugging sections that have
        been marked SEC_EXCLUDE.
        been marked SEC_EXCLUDE.
2002-11-12  Nick Clifton  
2002-11-12  Nick Clifton  
        * configure.in (ALL_LINGUAS): Add da.
        * configure.in (ALL_LINGUAS): Add da.
        * configure: Regenerate.
        * configure: Regenerate.
        * po/da.po: New Danish translation.
        * po/da.po: New Danish translation.
2002-11-12  Alan Modra  
2002-11-12  Alan Modra  
        * emultempl/ppc64elf.em (ppc_before_allocation): New function.
        * emultempl/ppc64elf.em (ppc_before_allocation): New function.
        (LDEMUL_BEFORE_ALLOCATION): Define.
        (LDEMUL_BEFORE_ALLOCATION): Define.
        (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
        (gld${EMULATION_NAME}_finish): Run discard_info for relocatable
        linking.
        linking.
        * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
        * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise.
2002-11-11  Christopher Faylor  
2002-11-11  Christopher Faylor  
        * configure.tgt (LIB_PATH): Default to searching w32api directory under
        * configure.tgt (LIB_PATH): Default to searching w32api directory under
        cygwin.
        cygwin.
2002-11-11  Charles Wilson  
2002-11-11  Charles Wilson  
        * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
        * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list
        of restricted auto-export libs.
        of restricted auto-export libs.
2002-11-11  Charles Wilson  
2002-11-11  Charles Wilson  
        * pe-dll.c (autofilter_liblist): Generalize library names to catch more
        * pe-dll.c (autofilter_liblist): Generalize library names to catch more
        creative library naming instances like, e.g., libstdc++-2.a.
        creative library naming instances like, e.g., libstdc++-2.a.
2002-11-06  Alexandre Oliva  
2002-11-06  Alexandre Oliva  
        * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
        * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
        * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
        * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.
2002-11-07  Danny Smith  
2002-11-07  Danny Smith  
        * deffilep.y (def_lex): Handle '@' as first character of an ID.
        * deffilep.y (def_lex): Handle '@' as first character of an ID.
        * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
        * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__".
        (make_one): Don't prefix decorated fastcall symbols with '_'.
        (make_one): Don't prefix decorated fastcall symbols with '_'.
        (pe_process_import_defs): Likewise.
        (pe_process_import_defs): Likewise.
        * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
        * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall
        symbols to cdecl names or vise-versa.
        symbols to cdecl names or vise-versa.
2002-10-13  Eric Kohl  
2002-10-13  Eric Kohl  
        * pe-dll.c (process_def_file): Handle fastcall symbols when
        * pe-dll.c (process_def_file): Handle fastcall symbols when
        generating undecorated aliases.  Don't prefix decorated fastcall
        generating undecorated aliases.  Don't prefix decorated fastcall
        symbols with '_'.
        symbols with '_'.
        (fill_exported_offsets): Don't prefix decorated fastcall symbols
        (fill_exported_offsets): Don't prefix decorated fastcall symbols
        with '_'.
        with '_'.
2002-10-29  Daniel Jacobowitz  
2002-10-29  Daniel Jacobowitz  
        * emultempl/aix.em: Use include <> for generated headers.
        * emultempl/aix.em: Use include <> for generated headers.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * ldctor.c: Likewise.
        * ldctor.c: Likewise.
        * ldexp.c: Likewise.
        * ldexp.c: Likewise.
        * ldfile.c: Likewise.
        * ldfile.c: Likewise.
        * ldlang.c: Likewise.
        * ldlang.c: Likewise.
        * ldlex.c: Likewise.
        * ldlex.c: Likewise.
        * ldlex.l: Likewise.
        * ldlex.l: Likewise.
        * ldmain.c: Likewise.
        * ldmain.c: Likewise.
        * ldmisc.c: Likewise.
        * ldmisc.c: Likewise.
        * ldwrite.c: Likewise.
        * ldwrite.c: Likewise.
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * mri.c: Likewise.
        * mri.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
2002-10-23  Jakub Jelinek  
2002-10-23  Jakub Jelinek  
        * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
        * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel*
        sections into .rel{,a}.dyn.
        sections into .rel{,a}.dyn.
2002-10-23  Nick Clifton  
2002-10-23  Nick Clifton  
        * lexsup.c (OPTION_NO_OMAGIC): Define.
        * lexsup.c (OPTION_NO_OMAGIC): Define.
        (ld_options): Add "no-omagic" option.
        (ld_options): Add "no-omagic" option.
        (parse_args): Parse --no-omagic.
        (parse_args): Parse --no-omagic.
        * ld.texinfo: Document --no-omagic.
        * ld.texinfo: Document --no-omagic.
        * NEWS: Mention new option.
        * NEWS: Mention new option.
2002-10-21  Danny Smith  
2002-10-21  Danny Smith  
        * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
        * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__,
        __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
        __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating.
2002-10-22  Alexandre Oliva  
2002-10-22  Alexandre Oliva  
        * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
        * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to
        emulation name.  Set LIB_PATH only for native tools, and
        emulation name.  Set LIB_PATH only for native tools, and
        search the ABI-specific versions of NATIVE_LIB_DIRS before the
        search the ABI-specific versions of NATIVE_LIB_DIRS before the
        .../lib variants, not instead of them.  Mostly copied from...
        .../lib variants, not instead of them.  Mostly copied from...
        * emulparams/elf32ppc.sh: ... here.  Fixed typo.
        * emulparams/elf32ppc.sh: ... here.  Fixed typo.
        * emulparams/elf64bmip-defs.sh: Backed out.
        * emulparams/elf64bmip-defs.sh: Backed out.
        * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
        * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again.
        * emulparams/elf64btsmip.sh: Likewise.
        * emulparams/elf64btsmip.sh: Likewise.
        (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
        (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR,
        TEXT_DYNAMIC): Removed.
        TEXT_DYNAMIC): Removed.
2002-10-17  Alexandre Oliva  
2002-10-17  Alexandre Oliva  
        * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
        * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32.
        (GENERATE_SHLIB_SCRIPT): Set to yes.
        (GENERATE_SHLIB_SCRIPT): Set to yes.
        (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
        (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to...
        * emulparams/elf32bmipn32.sh: here.
        * emulparams/elf32bmipn32.sh: here.
        (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
        (GENERATE_SHLIB_SCRIPT): Deleted as redundant.
        * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
        * emulparams/elf32btsmipn32.sh: Delete redundant unsets.
        * emulparams/elf64bmip-defs.sh: New file.  Extend
        * emulparams/elf64bmip-defs.sh: New file.  Extend
        elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
        elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH.
        * emulparams/elf64bmip.sh: Bring in definitions from
        * emulparams/elf64bmip.sh: Bring in definitions from
        elf64bmip-defs.sh.
        elf64bmip-defs.sh.
        (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
        (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant
        settings.
        settings.
        (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
        (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh.
        * emulparams/elf64btsmip.sh: Bring in definitions from
        * emulparams/elf64btsmip.sh: Bring in definitions from
        elf64bmip-defs.sh.
        elf64bmip-defs.sh.
        (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
        (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant.
        (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
        (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets.
2002-10-16  Jakub Jelinek  
2002-10-16  Jakub Jelinek  
        * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
        * configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
        (s390-*-linux*): Add elf64_s390 emulation if want64.
        (s390-*-linux*): Add elf64_s390 emulation if want64.
        * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
        * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
        genscript.sh changes.
        genscript.sh changes.
        * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
        * emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
        * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
        * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
2002-10-15  Alan Modra  
2002-10-15  Alan Modra  
        * ldlang.c (load_symbols): Revert last change.
        * ldlang.c (load_symbols): Revert last change.
2002-10-14  Alan Modra  
2002-10-14  Alan Modra  
        * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
        * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when
        just_syms_flag.
        just_syms_flag.
        (lang_reasonable_defaults): Don't compare against false.
        (lang_reasonable_defaults): Don't compare against false.
        (size_input_section): Likewise.
        (size_input_section): Likewise.
        (lang_size_sections_1): Likewise.
        (lang_size_sections_1): Likewise.
        (lang_do_assignments): Likewise.
        (lang_do_assignments): Likewise.
        (lang_add_output): Likewise.
        (lang_add_output): Likewise.
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * ldver.c: #include "bfdver.h".
        * ldver.c: #include "bfdver.h".
2002-10-13  Stephane Carrez  
2002-10-13  Stephane Carrez  
        * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
        * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
        .finiN section.
        .finiN section.
        * scripttempl/elfm68hc12.sc: Likewise.
        * scripttempl/elfm68hc12.sc: Likewise.
2002-10-11  Alan Modra  
2002-10-11  Alan Modra  
        * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
        * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
        * ldgram.y (memory_spec): Provide empty action.
        * ldgram.y (memory_spec): Provide empty action.
        (section ): Likewise.
        (section ): Likewise.
2002-10-10  Jakub Jelinek  
2002-10-10  Jakub Jelinek  
        * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
        * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
        they have OUTPUT_FORMAT not matching actual output format.
        they have OUTPUT_FORMAT not matching actual output format.
        * ldlang.c (lang_get_output_target): New function.
        * ldlang.c (lang_get_output_target): New function.
        (open_output): Use it.
        (open_output): Use it.
        * ldlang.h (lang_get_output_target): New prototype.
        * ldlang.h (lang_get_output_target): New prototype.
2002-10-10  Alan Modra  
2002-10-10  Alan Modra  
        * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
        * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
        when orphan is .rel, .rela when orphan is .rela.
        when orphan is .rel, .rela when orphan is .rela.
        (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
        (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
        first.  Remove outsecname var.
        first.  Remove outsecname var.
2002-10-09  Richard Shann 
2002-10-09  Richard Shann 
            Stephen Clarke 
            Stephen Clarke 
        * Makefile.am: Add eshelf32_linux.o and
        * Makefile.am: Add eshelf32_linux.o and
        eshlelf32_linux.o, new emulations for sh64 Linux.
        eshlelf32_linux.o, new emulations for sh64 Linux.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
        * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
        * emulparams/shelf32_linux.sh: New file.
        * emulparams/shelf32_linux.sh: New file.
        * emulparams/shlelf32_linux.sh: New file.
        * emulparams/shlelf32_linux.sh: New file.
2002-10-08  H.J. Lu 
2002-10-08  H.J. Lu 
        * ldlang.c (lang_file_exist): Removed.
        * ldlang.c (lang_file_exist): Removed.
        (new_afile): Revert the last change.
        (new_afile): Revert the last change.
        * ldlang.h (lang_file_exist): Removed.
        * ldlang.h (lang_file_exist): Removed.
        * lexsup.c (parse_args): Revert the last change.
        * lexsup.c (parse_args): Revert the last change.
2002-10-07  Ralf Habacker  
2002-10-07  Ralf Habacker  
        * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
        * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
        auto-import symbols.
        auto-import symbols.
        (make_one): Create _nm_ for data only.
        (make_one): Create _nm_ for data only.
2002-10-05  Elias Athanasopoulos  
2002-10-05  Elias Athanasopoulos  
        * ldlang.c (lang_file_exist): New function.
        * ldlang.c (lang_file_exist): New function.
        (new_afile): Abort if the filename to be added matches the linker
        (new_afile): Abort if the filename to be added matches the linker
        output filename.
        output filename.
        * ldlang.h: Add prototype for lang_file_exist.
        * ldlang.h: Add prototype for lang_file_exist.
        * lexsup.c (parse_args): Abort if the output filename matches
        * lexsup.c (parse_args): Abort if the output filename matches
        one of the input filenames.
        one of the input filenames.
2002-10-02  Alan Modra  
2002-10-02  Alan Modra  
        * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
        * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
2002-09-30  Alan Modra  
2002-09-30  Alan Modra  
        * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
        * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
        * scripttempl/elfm68hc11.sc: Likewise.
        * scripttempl/elfm68hc11.sc: Likewise.
        * scripttempl/elfm68hc12.sc: Likewise.
        * scripttempl/elfm68hc12.sc: Likewise.
        * emultempl/elf32.em (output_rel_find): Always place orphan loadable
        * emultempl/elf32.em (output_rel_find): Always place orphan loadable
        reloc sections just before .rel.plt/.rela.plt.
        reloc sections just before .rel.plt/.rela.plt.
        (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
        (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
        Only put loadable reloc sections in hold_rel.
        Only put loadable reloc sections in hold_rel.
2002-09-29  H.J. Lu 
2002-09-29  H.J. Lu 
        * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
        * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
2002-09-25  Daniel Jacobowitz  
2002-09-25  Daniel Jacobowitz  
        From "Anita Kulkarni" 
        From "Anita Kulkarni" 
        * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
        * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
        sections.
        sections.
2002-09-25  Alan Modra  
2002-09-25  Alan Modra  
        * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
        * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
        TARGET_PAGE_SIZE.
        TARGET_PAGE_SIZE.
        * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
        * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
        SEGMENT_SIZE alignment.
        SEGMENT_SIZE alignment.
        * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
        * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
        (SEGMENT_SIZE): Define.
        (SEGMENT_SIZE): Define.
        * ldexp.c (fold_unary): New.  Split out from exp_fold_tree.
        * ldexp.c (fold_unary): New.  Split out from exp_fold_tree.
        (fold_binary): Correct abs - non-abs case.
        (fold_binary): Correct abs - non-abs case.
        (fold_trinary): New.  Split out from exp_fold_tree.
        (fold_trinary): New.  Split out from exp_fold_tree.
2002-09-24  Alan Modra  
2002-09-24  Alan Modra  
        * emulparams/elf64ppc.sh (DATA_ADDR): Define.
        * emulparams/elf64ppc.sh (DATA_ADDR): Define.
        * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
        * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
        for start of .data, instead align up to 256M boundary.
        for start of .data, instead align up to 256M boundary.
        * scripttempl/aix.sc: Likewise.
        * scripttempl/aix.sc: Likewise.
2002-09-22  Mark Elbrecht  
2002-09-22  Mark Elbrecht  
        * scripttempl/i386go32.sc: Handle bss unique sections.
        * scripttempl/i386go32.sc: Handle bss unique sections.
2002-09-21  Alan Modra  
2002-09-21  Alan Modra  
        * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
        * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
2002-09-17  Stan Cox  
2002-09-17  Stan Cox  
        * emulparams/elf32bmipn32-defs.sh: New file.
        * emulparams/elf32bmipn32-defs.sh: New file.
        * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
        * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
        * emulparams/elf32btsmipn32.sh: Likewise.
        * emulparams/elf32btsmipn32.sh: Likewise.
        * emulparams/elf64bmip.sh: Likewise.
        * emulparams/elf64bmip.sh: Likewise.
        * emulparams/elf64btsmip.sh: Likewise.
        * emulparams/elf64btsmip.sh: Likewise.
2002-09-16  Bruno Haible  
2002-09-16  Bruno Haible  
        * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
        * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
        elf32-i386-freebsd.
        elf32-i386-freebsd.
        * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
        * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
        elf64-alpha-freebsd.
        elf64-alpha-freebsd.
2002-09-11  Nick Clifton  
2002-09-11  Nick Clifton  
        * NEWS: New TI port supports both C4x and C3x series of DSPs.
        * NEWS: New TI port supports both C4x and C3x series of DSPs.
        * po/tr.po: Updated Turkish translation.
        * po/tr.po: Updated Turkish translation.
2002-09-06  Jeffrey A Law  (law@redhat.com)
2002-09-06  Jeffrey A Law  (law@redhat.com)
        * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
        * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
2002-09-02  Nick Clifton  
2002-09-02  Nick Clifton  
        * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
        * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
        __ep.
        __ep.
        * emulparams/v850.sh (TEMPLATE_NAME): Define.
        * emulparams/v850.sh (TEMPLATE_NAME): Define.
2002-08-30  Nick Clifton  
2002-08-30  Nick Clifton  
        * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
        * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
        used.  Change INSN to start at 0x01000000 and extend for
        used.  Change INSN to start at 0x01000000 and extend for
        256K (ignoring holes).  Start the STACK on a word aligned
        256K (ignoring holes).  Start the STACK on a word aligned
        boundary.
        boundary.
        (.rodata): Start it at the READONLY_START_ADDR.
        (.rodata): Start it at the READONLY_START_ADDR.
2002-08-30  Alan Modra  
2002-08-30  Alan Modra  
        * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
        * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
2002-08-28  Svein E. Seldal  
2002-08-28  Svein E. Seldal  
        * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
        * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
        added makefile targets for this file.
        added makefile targets for this file.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Added tic4x-coff and c4x-coff emulations.
        * configure.tgt: Added tic4x-coff and c4x-coff emulations.
        * NEWS: Mention new port.
        * NEWS: Mention new port.
2002-08-28  Michael Hayes 
2002-08-28  Michael Hayes 
        * emulparams/tic3xcoff.sh: New file.
        * emulparams/tic3xcoff.sh: New file.
        * emulparams/tic4xcoff.sh: New file.
        * emulparams/tic4xcoff.sh: New file.
        * scripttempl/tic3xcoff.sc: New file.
        * scripttempl/tic3xcoff.sc: New file.
        * scripttempl/tic4xcoff.sc: New file.
        * scripttempl/tic4xcoff.sc: New file.
2002-08-28  Alan Modra  
2002-08-28  Alan Modra  
        * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
        * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
        strtoul and strtoull with bfd_scan_vma.
        strtoul and strtoull with bfd_scan_vma.
        (gld${EMULATION_NAME}_read_file): Likewise.
        (gld${EMULATION_NAME}_read_file): Likewise.
2002-08-28  Alan Modra  
2002-08-28  Alan Modra  
        * configure.tgt: Remove h8[35]00-*-hms*.  Add h8500-*-rtems*.
        * configure.tgt: Remove h8[35]00-*-hms*.  Add h8500-*-rtems*.
2002-08-27  Egor Duda  
2002-08-27  Egor Duda  
        * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
        * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
        Add symbols for application to access them.
        Add symbols for application to access them.
2002-08-27  Nick Clifton  
2002-08-27  Nick Clifton  
        * emultempl/armelf.em: Revert this patch, it is not needed.
        * emultempl/armelf.em: Revert this patch, it is not needed.
        2002-08-22  Adam Nemet  
        2002-08-22  Adam Nemet  
2002-08-20 Dan Kegel 
2002-08-20 Dan Kegel 
        * configure.in: added --with-lib-path argument to ld's configure
        * configure.in: added --with-lib-path argument to ld's configure
        to set LIB_PATH.
        to set LIB_PATH.
        * NEWS: Document new switch.
        * NEWS: Document new switch.
        * README: Mention new switch.
        * README: Mention new switch.
        * configure: Regenerate.
        * configure: Regenerate.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        Based on this patch:
        Based on this patch:
        2001-04-25  Christopher Faylor 
        2001-04-25  Christopher Faylor 
        * Makefile.in (LIB_PATH): Make configurable.
        * Makefile.in (LIB_PATH): Make configurable.
        (GENSCRIPTS): Set LIB_PATH in environment.
        (GENSCRIPTS): Set LIB_PATH in environment.
        * configure.in: Substitute LIB_PATH.
        * configure.in: Substitute LIB_PATH.
2002-08-22  Adam Nemet  
2002-08-22  Adam Nemet  
        * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
        * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
        (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
        (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
        depending on the type of the function.
        depending on the type of the function.
        (arm_elf_convert_thumb_symbol_to_address): New function.
        (arm_elf_convert_thumb_symbol_to_address): New function.
2002-08-22  Graeme Peterson  
2002-08-22  Graeme Peterson  
        * Makefile.am: Add esh{l}elf_nto.o files.
        * Makefile.am: Add esh{l}elf_nto.o files.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add support for sh-**-nto* targets.
        * configure.tgt: Add support for sh-**-nto* targets.
        * emulparams/shelf_nto.sh: New file.
        * emulparams/shelf_nto.sh: New file.
        * emulparams/shlelf_nto.sh: New file.
        * emulparams/shlelf_nto.sh: New file.
2002-08-21  John David Anglin  
2002-08-21  John David Anglin  
        * ldlang.c (offsetof): Define if not defined.
        * ldlang.c (offsetof): Define if not defined.
2002-08-14  H.J. Lu 
2002-08-14  H.J. Lu 
        * configure.tgt: Always enable 64bit emulations for 32bit
        * configure.tgt: Always enable 64bit emulations for 32bit
        Linux/mips.
        Linux/mips.
2002-08-13  Alan Modra  
2002-08-13  Alan Modra  
        * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
        * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
        (MAXPAGESIZE): Set to 1.
        (MAXPAGESIZE): Set to 1.
        * ld.h (ALIGN_N): Delete.
        * ld.h (ALIGN_N): Delete.
        * ldexp.h (align_n): Declare.
        * ldexp.h (align_n): Declare.
        * ldexp.c (align_n): New function.
        * ldexp.c (align_n): New function.
        (fold_binary): Use align_n instead of ALIGN_N.
        (fold_binary): Use align_n instead of ALIGN_N.
        (exp_fold_tree): Likewise.
        (exp_fold_tree): Likewise.
        * ldlang.c (lang_size_sections_1): Likewise.
        * ldlang.c (lang_size_sections_1): Likewise.
        (lang_one_common): Likewise.
        (lang_one_common): Likewise.
        * ld.texinfo (ALIGN): Remove power of 2 restriction.
        * ld.texinfo (ALIGN): Remove power of 2 restriction.
2002-07-31  Graeme Peterson  
2002-07-31  Graeme Peterson  
        * configure.tgt: Add support for powerpc{le}-*-nto* targets.
        * configure.tgt: Add support for powerpc{le}-*-nto* targets.
        * Makefile.am: Add eelf32{l}ppcnto.o files.
        * Makefile.am: Add eelf32{l}ppcnto.o files.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/elf32lppcnto.sh: New file.
        * emulparams/elf32lppcnto.sh: New file.
        * emulparams/elf32ppcnto.sh: New file.
        * emulparams/elf32ppcnto.sh: New file.
2002-08-07  H.J. Lu 
2002-08-07  H.J. Lu 
        * ld.texinfo: Document --no-undefined-version.
        * ld.texinfo: Document --no-undefined-version.
        * ldlang.c (lang_new_vers_pattern): Set the `symver' and
        * ldlang.c (lang_new_vers_pattern): Set the `symver' and
        `script.' fields to 0.
        `script.' fields to 0.
        * ldmain.c (main): Initialize the allow_undefined_version to
        * ldmain.c (main): Initialize the allow_undefined_version to
        true.
        true.
        * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
        * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
        (ld_options): Add --no-undefined-version.
        (ld_options): Add --no-undefined-version.
        (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
        (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
2002-08-07  Nick Clifton  
2002-08-07  Nick Clifton  
        * emultempl/armelf.em (arm_elf_before_allocation): Only search for
        * emultempl/armelf.em (arm_elf_before_allocation): Only search for
        an interworking bfd if there are input bfds. (107501)
        an interworking bfd if there are input bfds. (107501)
2002-08-06  Alan Modra  
2002-08-06  Alan Modra  
        * emultempl/aix.em (gld*_before_parse): Set default arch.  Reverts
        * emultempl/aix.em (gld*_before_parse): Set default arch.  Reverts
        2002-05-10 change.
        2002-05-10 change.
2002-08-01  Nick Clifton  
2002-08-01  Nick Clifton  
        * emulparams/armelf.sh: Revert previous delta.
        * emulparams/armelf.sh: Revert previous delta.
        * scripttempl/elf.sc: Revert previous delta.
        * scripttempl/elf.sc: Revert previous delta.
2002-07-31  H.J. Lu 
2002-07-31  H.J. Lu 
        * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
        * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
        --enable-64-bit-bfd.
        --enable-64-bit-bfd.
2002-07-31  H.J. Lu 
2002-07-31  H.J. Lu 
        * configure.tgt: Enable x86-64 emulation for Linux/i386 if
        * configure.tgt: Enable x86-64 emulation for Linux/i386 if
        64bit BFD is selected.
        64bit BFD is selected.
2002-07-31  H.J. Lu 
2002-07-31  H.J. Lu 
        * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
        * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
        if 64bit BFD is selected.
        if 64bit BFD is selected.
2002-07-31  Ian Dall  
2002-07-31  Ian Dall  
        * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
        * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
        link_info.common_skip_ar_aymbols.
        link_info.common_skip_ar_aymbols.
        * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
        * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
        * ldmain.c (main): Initialize new field
        * ldmain.c (main): Initialize new field
        link_info.common_skip_ar_aymbols.
        link_info.common_skip_ar_aymbols.
2002-07-31  Adam Nemet  
2002-07-31  Adam Nemet  
        * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable.  Set it
        * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable.  Set it
        to .plt.thumb.
        to .plt.thumb.
        * scripttempl/elf.sc: Comment it.  Use the same way as ${PLT} is
        * scripttempl/elf.sc: Comment it.  Use the same way as ${PLT} is
        used.
        used.
2002-07-31  Nick Clifton  
2002-07-31  Nick Clifton  
        * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
        * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
        of the PDP-11 and 2.11BSD a.out support.
        of the PDP-11 and 2.11BSD a.out support.
2002-07-31  Thiemo Seufer 
2002-07-31  Thiemo Seufer 
        * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
        * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
        for n32 ABI support.
        for n32 ABI support.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
        * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
        n32 ABI emulations for these 64 bit targets.
        n32 ABI emulations for these 64 bit targets.
        * emulparams/elf32bmipn32.sh: Expand comment.
        * emulparams/elf32bmipn32.sh: Expand comment.
        * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
        * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
        n32 ABI.
        n32 ABI.
        * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
        * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
2002-07-30  Graeme Peterson  
2002-07-30  Graeme Peterson  
        * configure.tgt: Add support for arm-*-nto target.
        * configure.tgt: Add support for arm-*-nto target.
        * Makefile.am: Add earmnto.o file.
        * Makefile.am: Add earmnto.o file.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * NEWS: Mention port of ARM support to QNX.
        * NEWS: Mention port of ARM support to QNX.
        * emulparams/armnto.sh: New file.
        * emulparams/armnto.sh: New file.
2002-07-30  Jakub Jelinek  
2002-07-30  Jakub Jelinek  
        * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
        * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
        for relocatable link.
        for relocatable link.
        (lang_size_sections_1): Don't make .tbss zero size for relocatable
        (lang_size_sections_1): Don't make .tbss zero size for relocatable
        link.
        link.
2002-07-26  Bernd Schmidt  
2002-07-26  Bernd Schmidt  
        * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
        * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
        (STACK_ADDR): New.
        (STACK_ADDR): New.
2002-07-25  Nick Clifton  
2002-07-25  Nick Clifton  
        * po/sv.po: Updated Swedish translation.
        * po/sv.po: Updated Swedish translation.
        * po/es.po: Updated Spanish translation.
        * po/es.po: Updated Spanish translation.
        * po/fr.po: Updated French translation.
        * po/fr.po: Updated French translation.
2002-07-24  Nick Clifton  
2002-07-24  Nick Clifton  
        * po/sv.po: Updated Swedish translation.
        * po/sv.po: Updated Swedish translation.
        * po/es.po: Updated Spanish translation.
        * po/es.po: Updated Spanish translation.
2002-07-23  Nick Clifton  
2002-07-23  Nick Clifton  
        * po/fr.po: Updated French translation.
        * po/fr.po: Updated French translation.
2002-07-20  Alan Modra  
2002-07-20  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        bomb on /DISCARD/ input section.
        bomb on /DISCARD/ input section.
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
2002-07-19  Hans-Peter Nilsson  
2002-07-19  Hans-Peter Nilsson  
        * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
        * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
        output section.
        output section.
2002-07-16  Denis Chertykov  
2002-07-16  Denis Chertykov  
            Nick Clifton  
            Nick Clifton  
            Frank Ch. Eigler  
            Frank Ch. Eigler  
            John Healy  
            John Healy  
        * configure.tgt: Add support for ip2k-elf.
        * configure.tgt: Add support for ip2k-elf.
        * Makefile.am: Add support for ip2k-elf.
        * Makefile.am: Add support for ip2k-elf.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/elf32ip2k.sh: New file.
        * emulparams/elf32ip2k.sh: New file.
        * scripttempl/ip2k.sc: New file
        * scripttempl/ip2k.sc: New file
        * NEWS: Mention support for new port.
        * NEWS: Mention support for new port.
2002-07-16  Nick Clifton  
2002-07-16  Nick Clifton  
        * NEWS: Add 'Changes in 2.13'.
        * NEWS: Add 'Changes in 2.13'.
2002-07-14  H.J. Lu 
2002-07-14  H.J. Lu 
        * ld.texinfo: Document a .symver takes precedence over a
        * ld.texinfo: Document a .symver takes precedence over a
        version script.
        version script.
2002-07-12  Alan Modra  
2002-07-12  Alan Modra  
        * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
        * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
        (COMMONPAGESIZE): Define.
        (COMMONPAGESIZE): Define.
2002-07-09  Alan Modra  
2002-07-09  Alan Modra  
        * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
        * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
2002-07-09  Federico G. Schwindt 
2002-07-09  Federico G. Schwindt 
        * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
        * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
        powerpc-*-openbsd* and sparc64-*-openbsd*.
        powerpc-*-openbsd* and sparc64-*-openbsd*.
        * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
        * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/hppaobsd.sh: New file.
        * emulparams/hppaobsd.sh: New file.
2002-07-05  Alan Modra  
2002-07-05  Alan Modra  
        * ldlang.c (print_wild_statement): Fix output formatting.
        * ldlang.c (print_wild_statement): Fix output formatting.
2002-07-04  Alan Modra  
2002-07-04  Alan Modra  
        * ldlang.c: (strip_excluded_output_sections): New function.
        * ldlang.c: (strip_excluded_output_sections): New function.
        (lang_process): Call it.
        (lang_process): Call it.
        (lang_size_sections_1): Revert 2002-06-10 change.
        (lang_size_sections_1): Revert 2002-06-10 change.
2002-07-03  Alan Modra  
2002-07-03  Alan Modra  
        * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
        * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
        Run "make dep-am".
        Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2002-07-02  Alan Modra  
2002-07-02  Alan Modra  
        * ldfile.c (ldfile_try_open_bfd): Formatting.
        * ldfile.c (ldfile_try_open_bfd): Formatting.
        * ldmisc.c (demangle): Move so that it doesn't intrude between
        * ldmisc.c (demangle): Move so that it doesn't intrude between
        vfinfo comment and body.  Add comment.
        vfinfo comment and body.  Add comment.
2002-07-01  John David Anglin  
2002-07-01  John David Anglin  
        * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
        * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
2002-07-01  Alan Modra  
2002-07-01  Alan Modra  
        * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
        * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
        * ldlang.c (entry_sym): Likewise.
        * ldlang.c (entry_sym): Likewise.
        (ldlang_undef_chain_list_type): Likewise.
        (ldlang_undef_chain_list_type): Likewise.
        (lang_finish): Adjust references to entry_symbol.
        (lang_finish): Adjust references to entry_symbol.
        (lang_add_entry): Likewise.
        (lang_add_entry): Likewise.
        (lang_gc_sections): Use link_info.gc_sym_list.
        (lang_gc_sections): Use link_info.gc_sym_list.
        (lang_process): Set link_info.gc_sym_list.
        (lang_process): Set link_info.gc_sym_list.
        * ldlex.l: Include bfdlink.h.
        * ldlex.l: Include bfdlink.h.
        * ldmain.c (main): Init link_info.gc_sym_list.
        * ldmain.c (main): Init link_info.gc_sym_list.
        * emultempl/aix.em: Adjust references to entry_symbol.
        * emultempl/aix.em: Adjust references to entry_symbol.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armelf.em: Likewise.
        * emultempl/armelf.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/ppc64elf.em (ppc_after_open): New function.
        * emultempl/ppc64elf.em (ppc_after_open): New function.
        (LDEMUL_AFTER_OPEN): Define.
        (LDEMUL_AFTER_OPEN): Define.
        * emulparams/elf64ppc.sh: KEEP .opd sections.
        * emulparams/elf64ppc.sh: KEEP .opd sections.
2002-06-29  Stephane Carrez  
2002-06-29  Stephane Carrez  
        * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
        * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
        * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
        * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
        * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
        * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
        (EEPROM_START_ADDR): Define.
        (EEPROM_START_ADDR): Define.
        (EEPROM_MEMORY): Define.
        (EEPROM_MEMORY): Define.
        * emulparams/m68hc12elf.sh: Likewise.
        * emulparams/m68hc12elf.sh: Likewise.
        * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
        * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
        section to put soft registers in .page0.
        section to put soft registers in .page0.
        * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
        * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
2002-06-26  John David Anglin  
2002-06-26  John David Anglin  
        * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
        * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
        section.  Add ${RELOCATING-0}.
        section.  Add ${RELOCATING-0}.
2002-06-26  J"orn Rennecke 
2002-06-26  J"orn Rennecke 
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
        (OTHER_SECTIONS): Undef.
2002-06-26  Alan Modra  
2002-06-26  Alan Modra  
        * ldmisc.c (demangle): Restore dots stripped from sym name.
        * ldmisc.c (demangle): Restore dots stripped from sym name.
2002-06-25  H.J. Lu 
2002-06-25  H.J. Lu 
        * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
        * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2002-06-20  Nick Clifton  
2002-06-20  Nick Clifton  
        * ld.texinfo (Bug Reporting): Update text to suggest a limit on
        * ld.texinfo (Bug Reporting): Update text to suggest a limit on
        the size of attached object files, to allow make the object files
        the size of attached object files, to allow make the object files
        available via FTP or HTTP and to mention that the mail will be
        available via FTP or HTTP and to mention that the mail will be
        sent to a mailing list.
        sent to a mailing list.
2002-06-20  Nathanael Nerode  
2002-06-20  Nathanael Nerode  
        * configure.host (romp): Drop support.
        * configure.host (romp): Drop support.
2002-06-18  Chris Demetriou  
2002-06-18  Chris Demetriou  
        * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
        * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
        section flags for SEC_DATA, rather than for SEC_CODE being unset.
        section flags for SEC_DATA, rather than for SEC_CODE being unset.
2002-06-18  Chris Demetriou  
2002-06-18  Chris Demetriou  
        * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
        * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
        format specifier used to print BFD name.
        format specifier used to print BFD name.
2002-06-18  Dave Brolley  
2002-06-18  Dave Brolley  
        From Catherine Moore, Michael Meissner, Jim Blandy:
        From Catherine Moore, Michael Meissner, Jim Blandy:
        * emulparams/elf32frv.sh: New file.
        * emulparams/elf32frv.sh: New file.
        * configure.tgt: Support frv-*-*.
        * configure.tgt: Support frv-*-*.
        * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
        (eelf32frv.c): New target.
        (eelf32frv.c): New target.
2002-06-17  Tom Rix  
2002-06-17  Tom Rix  
        * emultempl/elf32.em: gld*_get_script: Check for
        * emultempl/elf32.em: gld*_get_script: Check for
        GENERATE_COMBRELOC_SCRIPT.
        GENERATE_COMBRELOC_SCRIPT.
        * scripttempl/elfd10v.sc : Fix STACK and INSN.
        * scripttempl/elfd10v.sc : Fix STACK and INSN.
        * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
        * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
2002-06-13  J"orn Rennecke 
2002-06-13  J"orn Rennecke 
        * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
        * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
2002-06-12  H.J. Lu 
2002-06-12  H.J. Lu 
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
        false if xvec doesn't match.
        false if xvec doesn't match.
2002-06-10  Richard Sandiford  
2002-06-10  Richard Sandiford  
        * ldlang.c (lang_size_sections_1): Skip removed output sections.
        * ldlang.c (lang_size_sections_1): Skip removed output sections.
2002-06-08  Alan Modra  
2002-06-08  Alan Modra  
        * ldexp.c: Replace CONST with const.
        * ldexp.c: Replace CONST with const.
        * ldfile.c: Likewise.
        * ldfile.c: Likewise.
        * ldfile.h: Likewise.
        * ldfile.h: Likewise.
        * ldlex.l: Likewise.
        * ldlex.l: Likewise.
        * mri.c: Likewise.
        * mri.c: Likewise.
        * pe-dll.h: Likewise.
        * pe-dll.h: Likewise.
2002-06-07  Alan Modra  
2002-06-07  Alan Modra  
        * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
        * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
2002-06-07  Charles Wilson  
2002-06-07  Charles Wilson  
        * ldmain.c (main): initialize link_info.pei386_auto_import
        * ldmain.c (main): initialize link_info.pei386_auto_import
        to -1 == implicit enable.
        to -1 == implicit enable.
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
        initialize link_info.pei386_auto_import to -1 == implicit
        initialize link_info.pei386_auto_import to -1 == implicit
        enable.
        enable.
        (gld_${EMULATION_NAME}_parse_args): When processing
        (gld_${EMULATION_NAME}_parse_args): When processing
        --enable-auto-import and --disable-auto-import options, use
        --enable-auto-import and --disable-auto-import options, use
        '1' and '0' instead of 'true' and 'false'.
        '1' and '0' instead of 'true' and 'false'.
        (pe_find_data_imports): Only issue message about auto-import
        (pe_find_data_imports): Only issue message about auto-import
        when the feature is implicitly enabled.  Downgrade message to
        when the feature is implicitly enabled.  Downgrade message to
        informational instead of warning.
        informational instead of warning.
2002-06-07  Alan Modra  
2002-06-07  Alan Modra  
        * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
        * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
2002-06-06  John David Anglin  
2002-06-06  John David Anglin  
        * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
        * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
        HOSTING_CRT0 and HOSTING_LIBS.
        HOSTING_CRT0 and HOSTING_LIBS.
2002-06-05  J"orn Rennecke 
2002-06-05  J"orn Rennecke 
        * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
        * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
2002-06-05  Jason Thorpe  
2002-06-05  Jason Thorpe  
        * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
        * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
        (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
        (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
2002-06-05  Alan Modra  
2002-06-05  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
        SEC_EXCLUDE sections when doing a relocatable link.
        SEC_EXCLUDE sections when doing a relocatable link.
2002-06-04  Jason Thorpe  
2002-06-04  Jason Thorpe  
        * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
        * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
        eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
        eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
        (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
        (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
        (eshlelf64_nbsd.c): New rules.
        (eshlelf64_nbsd.c): New rules.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
        * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
        (sh64-*-netbsd*): New targets.
        (sh64-*-netbsd*): New targets.
        * emulparams/shelf32_nbsd.sh: New file.
        * emulparams/shelf32_nbsd.sh: New file.
        * emulparams/shelf64_nbsd.sh: New file.
        * emulparams/shelf64_nbsd.sh: New file.
        * emulparams/shlelf32_nbsd.sh: New file.
        * emulparams/shlelf32_nbsd.sh: New file.
        * emulparams/shlelf64_nbsd.sh: New file.
        * emulparams/shlelf64_nbsd.sh: New file.
2002-06-04  Alan Modra  
2002-06-04  Alan Modra  
        * ldlang.c (section_already_linked): Call bfd_discard_group.  Typo fix.
        * ldlang.c (section_already_linked): Call bfd_discard_group.  Typo fix.
2002-06-02  Marek Michalkiewicz  
2002-06-02  Marek Michalkiewicz  
        * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
        * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
        C++ constructors/destructors, loosely based on the m68hc11 port.
        C++ constructors/destructors, loosely based on the m68hc11 port.
2002-05-31  Alan Modra  
2002-05-31  Alan Modra  
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * aclocal.m4: Regenerate.
        * aclocal.m4: Regenerate.
        * config.in: Regenerate.
        * config.in: Regenerate.
        * configure: Regenerate.
        * configure: Regenerate.
2002-05-31  Graeme Peterson  
2002-05-31  Graeme Peterson  
        * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
        * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
        (ei386nto.c): Add rule.
        (ei386nto.c): Add rule.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add i[3456]86-*-nto-qnx*.
        * configure.tgt: Add i[3456]86-*-nto-qnx*.
        * emulparams/i386nto.sh: New file.
        * emulparams/i386nto.sh: New file.
2002-05-29  Jason Thorpe  
2002-05-29  Jason Thorpe  
        * NEWS: Add entry for VAX ELF support.
        * NEWS: Add entry for VAX ELF support.
2002-05-29  Matt Thomas  
2002-05-29  Matt Thomas  
            Jason Thorpe  
            Jason Thorpe  
        * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
        (eelf32vax.c)
        (eelf32vax.c)
        (evaxnbsd.c): New rules.
        (evaxnbsd.c): New rules.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (vax-*-netbsdelf*)
        * configure.tgt (vax-*-netbsdelf*)
        (vax-*-netbsdaout*)
        (vax-*-netbsdaout*)
        (vax-*-netbsd*): New targets.
        (vax-*-netbsd*): New targets.
        * emulparams/elf32vax.sh: New file.
        * emulparams/elf32vax.sh: New file.
        * emulparams/vaxnbsd.sh: New file.
        * emulparams/vaxnbsd.sh: New file.
2002-05-29  Adam Nemet  
2002-05-29  Adam Nemet  
        * emultempl/armelf.em (arm_elf_after_open): Don't determine
        * emultempl/armelf.em (arm_elf_after_open): Don't determine
        bfd_for_interwork, instead add glue sections to each input bfd.
        bfd_for_interwork, instead add glue sections to each input bfd.
        (bfd_for_interwork): New global.
        (bfd_for_interwork): New global.
        (arm_elf_set_bfd_for_interworking): New function.
        (arm_elf_set_bfd_for_interworking): New function.
        (arm_elf_before_allocation): Use it.
        (arm_elf_before_allocation): Use it.
2002-05-28  Kuang Hwa Lin 
2002-05-28  Kuang Hwa Lin 
        * Makefile.am: Add DLX make target.
        * Makefile.am: Add DLX make target.
        * configure.tgt: Add DLX configuration.
        * configure.tgt: Add DLX configuration.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/elf32_dlx.sh: New file
        * emulparams/elf32_dlx.sh: New file
        * scripttempl/dlx.sc: New file
        * scripttempl/dlx.sc: New file
2002-05-27  Per Lundberg  
2002-05-27  Per Lundberg  
        * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
        * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/elf_chaos.sh: Use elf_chaos script.
        * emulparams/elf_chaos.sh: Use elf_chaos script.
        * scripttempl/elf_chaos.sc: New file.
        * scripttempl/elf_chaos.sc: New file.
2002-05-27  Richard Sandiford  
2002-05-27  Richard Sandiford  
        * ldlang.c (lang_size_sections_1): Move check for conflicting load
        * ldlang.c (lang_size_sections_1): Move check for conflicting load
        addresses and regions from here...
        addresses and regions from here...
        (lang_get_regions): ...to this new function.
        (lang_get_regions): ...to this new function.
        (lang_leave_output_section_statement): Use lang_get_regions.
        (lang_leave_output_section_statement): Use lang_get_regions.
        (lang_leave_overlay): Likewise.
        (lang_leave_overlay): Likewise.
        * mri.c (mri_draw_tree): Pass null as last argument to
        * mri.c (mri_draw_tree): Pass null as last argument to
        lang_leave_output_section_statement.
        lang_leave_output_section_statement.
        * emultempl/elf32.em (gld*_place_orphan): Likewise.
        * emultempl/elf32.em (gld*_place_orphan): Likewise.
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
        * emultempl/pe.em (gld*_place_orphan): Likewise.
        * emultempl/pe.em (gld*_place_orphan): Likewise.
2002-05-26  Jason Thorpe  
2002-05-26  Jason Thorpe  
        * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
        * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
2002-05-25  Kazu Hirata  
2002-05-25  Kazu Hirata  
        * ldemul.c: Fix formatting.
        * ldemul.c: Fix formatting.
        * ldfile.c: Likewise.
        * ldfile.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.h: Likewise.
        * pe-dll.h: Likewise.
2002-05-25  Alan Modra  
2002-05-25  Alan Modra  
        * ldlang.c (lang_process): Formatting, grammar.
        * ldlang.c (lang_process): Formatting, grammar.
        * ldlex.l: Use #include "" instead of <> for local header files.
        * ldlex.l: Use #include "" instead of <> for local header files.
2002-05-24  TAMURA Kent 
2002-05-24  TAMURA Kent 
        * configure.tgt: Add a target for i386-netbsdpe.
        * configure.tgt: Add a target for i386-netbsdpe.
2002-05-23  Jakub Jelinek  
2002-05-23  Jakub Jelinek  
        * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
        * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
        * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
        * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
        output section if necessary.  Handle .tbss.
        output section if necessary.  Handle .tbss.
        (lang_size_sections): Clear _raw_size for .tbss section
        (lang_size_sections): Clear _raw_size for .tbss section
        (it allocates space in PT_TLS segment only).
        (it allocates space in PT_TLS segment only).
        * ldwrite.c (build_link_order): Build link order for .tbss too.
        * ldwrite.c (build_link_order): Build link order for .tbss too.
2002-05-23  Alan Modra  
2002-05-23  Alan Modra  
        * configure.in: Correct spelling of AC_PREREQ.
        * configure.in: Correct spelling of AC_PREREQ.
2002-05-21  Danny Smith  
2002-05-21  Danny Smith  
        * pe-dll.c (autofilter_liblist): Add more system libs excluded by
        * pe-dll.c (autofilter_liblist): Add more system libs excluded by
        default.
        default.
        (autofilter_objlist): Add crtbegin.o, crtend.o.
        (autofilter_objlist): Add crtbegin.o, crtend.o.
2002-05-21  Danny Smith  
2002-05-21  Danny Smith  
        * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
        * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
        (longopts): Add new option --exclude-libs.
        (longopts): Add new option --exclude-libs.
        (gld_${EMULATION_NAME}_list_options): Give quick help about it.
        (gld_${EMULATION_NAME}_list_options): Give quick help about it.
        (gld_${EMULATION_NAME}_parse_args): Use it.
        (gld_${EMULATION_NAME}_parse_args): Use it.
        * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
        * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
        * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
        * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
        from whole archives.
        from whole archives.
        (pe_dll_add_excludes): Set excludes->type.
        (pe_dll_add_excludes): Set excludes->type.
        (auto_export): Add new variable libname and set to archive basename if
        (auto_export): Add new variable libname and set to archive basename if
        abfd.  Use it when filtering default and user-specified libarary
        abfd.  Use it when filtering default and user-specified libarary
        excludes.  Let string "ALL" mean all libs when filtering user-specified
        excludes.  Let string "ALL" mean all libs when filtering user-specified
        libs.
        libs.
        * ld.texinfo: Document --exclude-libs.
        * ld.texinfo: Document --exclude-libs.
2002-05-22  Alan Modra  
2002-05-22  Alan Modra  
        * ldemul.c (ldemul_new_vers_pattern): New function.
        * ldemul.c (ldemul_new_vers_pattern): New function.
        * ldemul.h (ldemul_new_vers_pattern): Declare.
        * ldemul.h (ldemul_new_vers_pattern): Declare.
        (struct ld_emulation_xfer_struct): Add new_vers_pattern.
        (struct ld_emulation_xfer_struct): Add new_vers_pattern.
        * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
        * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
        * emultempl/ppc64elf.em (dotsyms): New static var.
        * emultempl/ppc64elf.em (dotsyms): New static var.
        (gld${EMULATION_NAME}_new_vers_pattern): New function.
        (gld${EMULATION_NAME}_new_vers_pattern): New function.
        (LDEMUL_NEW_VERS_PATTERN): Define.
        (LDEMUL_NEW_VERS_PATTERN): Define.
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
        (PARSE_AND_LIST_LONGOPTS): Likewise.
        (PARSE_AND_LIST_LONGOPTS): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
        * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
        * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
        initialiser.
        initialiser.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armcoff.em: Likewise.
        * emultempl/armelf_oabi.em: Likewise.
        * emultempl/armelf_oabi.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/generic.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/m68kcoff.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/mipsecoff.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/sunos.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/ticoff.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/vanilla.em: Likewise.
2002-05-22  Alan Modra  
2002-05-22  Alan Modra  
        * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
        * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
        and $NATIVE_LIB_DIRS.  Add $tool_lib before other libs.
        and $NATIVE_LIB_DIRS.  Add $tool_lib before other libs.
        (LIB_SEARCH_DIRS): No need to use "tr".
        (LIB_SEARCH_DIRS): No need to use "tr".
        (COMPILE_IN): Only set for native targets.
        (COMPILE_IN): Only set for native targets.
        * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
        * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
        here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
        here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
        * configure.tgt (powerpc*): Set tdir_*.
        * configure.tgt (powerpc*): Set tdir_*.
        (powerpcle*): Correct targ_extra_emuls.
        (powerpcle*): Correct targ_extra_emuls.
        * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
        * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
        * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
        * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
2002-05-22  Alan Modra  
2002-05-22  Alan Modra  
        * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
        * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
        calling lang_add_entry.
        calling lang_add_entry.
2002-05-21  H.J. Lu  (hjl@gnu.org)
2002-05-21  H.J. Lu  (hjl@gnu.org)
        * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
        * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
        "-z muldefs".
        "-z muldefs".
        (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
        (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
        * ld.texinfo: Updated for --allow-multiple-definition and
        * ld.texinfo: Updated for --allow-multiple-definition and
        "-z muldefs".
        "-z muldefs".
        * ldmain.c (main): Initialize the allow_multiple_definition
        * ldmain.c (main): Initialize the allow_multiple_definition
        field to false.
        field to false.
        * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
        * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
        (ld_options): Add --allow-multiple-definition.
        (ld_options): Add --allow-multiple-definition.
        (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
        (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
2002-05-21  Jason Thorpe  
2002-05-21  Jason Thorpe  
        * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
        * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
        (earmelfb_nbsd.c): New rule.
        (earmelfb_nbsd.c): New rule.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (armeb-*-netbsdelf*): New target.
        * configure.tgt (armeb-*-netbsdelf*): New target.
        (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
        (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
        (arm-*-netbsd*): Likewise.
        (arm-*-netbsd*): Likewise.
        * emulparams/armelfb_nbsd.sh: New file.
        * emulparams/armelfb_nbsd.sh: New file.
2002-05-18  Tom Rix  
2002-05-18  Tom Rix  
        * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
        * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
        support.
        support.
2002-05-17  Marek Michalkiewicz  
2002-05-17  Marek Michalkiewicz  
        * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
        * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
        * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls.
2002-05-16  Marek Michalkiewicz  
2002-05-16  Marek Michalkiewicz  
        * emulparams/avr1.sh: New file.
        * emulparams/avr1.sh: New file.
        * emulparams/avr2.sh: New file.
        * emulparams/avr2.sh: New file.
        * emulparams/avr3.sh: New file.
        * emulparams/avr3.sh: New file.
        * emulparams/avr4.sh: New file.
        * emulparams/avr4.sh: New file.
        * emulparams/avr5.sh: New file.
        * emulparams/avr5.sh: New file.
        * scripttempl/avr.sc: New file.
        * scripttempl/avr.sc: New file.
2002-05-15  Alan Modra  
2002-05-15  Alan Modra  
        * ldlang.c (section_already_linked): Call bfd_link_just_syms.
        * ldlang.c (section_already_linked): Call bfd_link_just_syms.
        (lang_place_orphans): Abort if just_syms_flag.
        (lang_place_orphans): Abort if just_syms_flag.
2002-05-10  Tom Rix  
2002-05-10  Tom Rix  
        * emultempl/aix.em: (gld*_set_output_arch): New function. Use
        * emultempl/aix.em: (gld*_set_output_arch): New function. Use
        architecture and machine information in the output bfd.
        architecture and machine information in the output bfd.
        (gld*_before_parse): Remove old arch and machine code.
        (gld*_before_parse): Remove old arch and machine code.
        (choose_target): Rename to gld*_choose_target.
        (choose_target): Rename to gld*_choose_target.
        (rtld): Change type to int.
        (rtld): Change type to int.
        * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
        * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
        objects in XCOFF archives.
        objects in XCOFF archives.
        * ldfile.h: Update copyright date.
        * ldfile.h: Update copyright date.
2002-05-10  Jakub Jelinek  
2002-05-10  Jakub Jelinek  
        * ldmain.c (main): Enable -z combreloc by default.
        * ldmain.c (main): Enable -z combreloc by default.
2002-05-07  Federico G. Schwindt 
2002-05-07  Federico G. Schwindt 
        * Makefile.am: Honour DESTDIR.
        * Makefile.am: Honour DESTDIR.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2002-05-07  Richard Sandiford  
2002-05-07  Richard Sandiford  
        * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
        * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
        (lang_enter_overlay): Remove the last two parameters.
        (lang_enter_overlay): Remove the last two parameters.
        (lang_leave_overlay): Take them here instead.
        (lang_leave_overlay): Take them here instead.
        * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
        * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
        (section): Pass LMA and crossref flag to lang_leave_overlay rather
        (section): Pass LMA and crossref flag to lang_leave_overlay rather
        than lang_enter_overlay.
        than lang_enter_overlay.
        * ldlang.c (lang_memory_region_lookup): Return null for null names.
        * ldlang.c (lang_memory_region_lookup): Return null for null names.
        (lang_output_section_statement_lookup): Initialize update_dot_tree.
        (lang_output_section_statement_lookup): Initialize update_dot_tree.
        (lang_size_sections_1): Evaluate it.
        (lang_size_sections_1): Evaluate it.
        (lang_leave_output_section_statement): Rework LMA lookup.
        (lang_leave_output_section_statement): Rework LMA lookup.
        (overlay_lma, overlay_nocrossrefs): Remove.
        (overlay_lma, overlay_nocrossrefs): Remove.
        (lang_enter_overlay): Remove LMA and crossref arguments.
        (lang_enter_overlay): Remove LMA and crossref arguments.
        (lang_enter_overlay_section): Don't set the LMA here.
        (lang_enter_overlay_section): Don't set the LMA here.
        (lang_leave_overlay): Take LMA and crossref arguments.  Move the '.'
        (lang_leave_overlay): Take LMA and crossref arguments.  Move the '.'
        assignment to the last section's update_dot_tree.  Unconditionally
        assignment to the last section's update_dot_tree.  Unconditionally
        use the load and run-time regions specified in the OVERLAY statement.
        use the load and run-time regions specified in the OVERLAY statement.
        Likewise the first section's LMA.  Only set the other sections' LMAs
        Likewise the first section's LMA.  Only set the other sections' LMAs
        when no load region is given.
        when no load region is given.
2002-05-06  Nick Clifton 
2002-05-06  Nick Clifton 
        * po/sv.po: New translation.
        * po/sv.po: New translation.
2002-05-04  Alan Modra  
2002-05-04  Alan Modra  
        * emultempl/hppaelf.em (build_section_lists): New function.
        * emultempl/hppaelf.em (build_section_lists): New function.
        (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
        (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
        and build_section_lists.
        and build_section_lists.
2002-05-03  Kazu Hirata  
2002-05-03  Kazu Hirata  
        * ld.h: Fix formatting.
        * ld.h: Fix formatting.
        * ldexp.c: Likewise.
        * ldexp.c: Likewise.
        * ldfile.c: Likewise.
        * ldfile.c: Likewise.
        * ldlang.c: Likewise.
        * ldlang.c: Likewise.
        * ldmain.c: Likewise.
        * ldmain.c: Likewise.
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
2002-05-02  Alan Modra  
2002-05-02  Alan Modra  
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
        Adjust for ppc64_elf_set_toc change.  #include libbfd.h.
        Adjust for ppc64_elf_set_toc change.  #include libbfd.h.
        (build_section_lists): Do output_section tests here.
        (build_section_lists): Do output_section tests here.
2002-04-30  Tom Rix  
2002-04-30  Tom Rix  
        * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
        * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
2002-05-01  Alan Modra  
2002-05-01  Alan Modra  
        Long branch stubs, multiple stub sections.
        Long branch stubs, multiple stub sections.
        * emultempl/ppc64elf.em: Include ldctor.h.
        * emultempl/ppc64elf.em: Include ldctor.h.
        (stub_file): New var.
        (stub_file): New var.
        (group_size): New var.
        (group_size): New var.
        (ppc_create_output_section_statements): New function.
        (ppc_create_output_section_statements): New function.
        (struct hook_stub_info): New.
        (struct hook_stub_info): New.
        (hook_in_stub): New function.
        (hook_in_stub): New function.
        (ppc_add_stub_section): New function.
        (ppc_add_stub_section): New function.
        (ppc_layout_sections_again): New function.
        (ppc_layout_sections_again): New function.
        (build_section_lists): New function.
        (build_section_lists): New function.
        (gld${EMULATION_NAME}_finish): Rewrite.
        (gld${EMULATION_NAME}_finish): Rewrite.
        (real_func): New var.
        (real_func): New var.
        (ppc_for_each_input_file_wrapper): New function.
        (ppc_for_each_input_file_wrapper): New function.
        (ppc_lang_for_each_input_file): New function.
        (ppc_lang_for_each_input_file): New function.
        (lang_for_each_input_file): Define.
        (lang_for_each_input_file): Define.
        (PARSE_AND_LIST_PROLOGUE): Define.
        (PARSE_AND_LIST_PROLOGUE): Define.
        (PARSE_AND_LIST_LONGOPTS): Define.
        (PARSE_AND_LIST_LONGOPTS): Define.
        (PARSE_AND_LIST_OPTIONS): Define.
        (PARSE_AND_LIST_OPTIONS): Define.
        (PARSE_AND_LIST_ARGS_CASES): Define.
        (PARSE_AND_LIST_ARGS_CASES): Define.
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
2002-04-30  Tom Rix  
2002-04-30  Tom Rix  
        * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
        * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
        -blibpath, -bnolibpath support.
        -blibpath, -bnolibpath support.
2002-04-30  Mark Mitchell  
2002-04-30  Mark Mitchell  
        * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
        * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
        (eelf32ppcwindiss.c): New target.
        (eelf32ppcwindiss.c): New target.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * configure.tgt: Add support for powerpc-*-windiss.
        * configure.tgt: Add support for powerpc-*-windiss.
        * emulparams/elf32ppcwindiss.sh: New file.
        * emulparams/elf32ppcwindiss.sh: New file.
2002-04-30  Richard Sandiford  
2002-04-30  Richard Sandiford  
        * ldlang.c (print_assignment): Update print_dot for assignments to ".".
        * ldlang.c (print_assignment): Update print_dot for assignments to ".".
        * ldexp.c (exp_print_token): Add "infix_p" argument.
        * ldexp.c (exp_print_token): Add "infix_p" argument.
        (exp_print_tree): Update accordingly.
        (exp_print_tree): Update accordingly.
2002-04-28  Alan Modra  
2002-04-28  Alan Modra  
        * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
        * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * mpw-elfmips.c: Delete.
        * mpw-elfmips.c: Delete.
        * mpw-eppcmac.c: Delete.
        * mpw-eppcmac.c: Delete.
        * mpw-esh.c: Delete.
        * mpw-esh.c: Delete.
        * mpw-idtmips.c: Delete.
        * mpw-idtmips.c: Delete.
2002-04-17  J"orn Rennecke 
2002-04-17  J"orn Rennecke 
        * emulparams/shelf32.sh (MACHINE): Now sh5.
        * emulparams/shelf32.sh (MACHINE): Now sh5.
2002-04-17  Thiemo Seufer 
2002-04-17  Thiemo Seufer 
        * ldgram.y: Fix syntax warning.
        * ldgram.y: Fix syntax warning.
2002-04-11  Nick Clifton  
2002-04-11  Nick Clifton  
        * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
        * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
        to prevent "-n" from being taken as an abbreviation for
        to prevent "-n" from being taken as an abbreviation for
        "--no-pipeline-knowledge".
        "--no-pipeline-knowledge".
2002-04-08  Alan Modra  
2002-04-08  Alan Modra  
        * ldlang.c (lang_size_sections_1): Don't complain about
        * ldlang.c (lang_size_sections_1): Don't complain about
        SEC_NEVER_LOAD sections having no memory region specified.
        SEC_NEVER_LOAD sections having no memory region specified.
        * ld.texinfo (Format Commands ): Typo fix.
        * ld.texinfo (Format Commands ): Typo fix.
2002-04-07  matthew green  
2002-04-07  matthew green  
        * configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
        * configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
2002-04-04  Alan Modra  
2002-04-04  Alan Modra  
        * dep-in.sed: Cope with absolute paths.
        * dep-in.sed: Cope with absolute paths.
        * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
        * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
        Run "make dep-am".
        Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2002-04-04  Thiemo Seufer 
2002-04-04  Thiemo Seufer 
        * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
        * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
2002-04-03  Jakub Jelinek  
2002-04-03  Jakub Jelinek  
        * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
        * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
        is smaller than maximum, round dot up to common page boundary.
        is smaller than maximum, round dot up to common page boundary.
2002-03-28  Alan Modra  
2002-03-28  Alan Modra  
        * configure.host: Set up for generic hosts first, then tweak as
        * configure.host: Set up for generic hosts first, then tweak as
        necessary in more specific targets.
        necessary in more specific targets.
        (HOSTING_LIBS): Include libgcc_eh.a if found.
        (HOSTING_LIBS): Include libgcc_eh.a if found.
2002-03-23  Andreas Jaeger  
2002-03-23  Andreas Jaeger  
        * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
        * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
2002-03-21  Alan Modra  
2002-03-21  Alan Modra  
        * Makefile.am: Run "make dep-am".
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2002-03-21  Albert Chin-A-Young  
2002-03-21  Albert Chin-A-Young  
        * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
        * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
2002-03-20  Alan Modra  
2002-03-20  Alan Modra  
        * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
        * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
        add the symbol to the linker hash table immediately.
        add the symbol to the linker hash table immediately.
        (lang_place_undefineds): Split symbol creation out..
        (lang_place_undefineds): Split symbol creation out..
        (insert_undefined): ..to here.
        (insert_undefined): ..to here.
2002-03-18  David O'Brien  
2002-03-18  David O'Brien  
        * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
        * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
        the contents of the buffer returned from basename function will are
        the contents of the buffer returned from basename function will are
        getting overwritten while still being used.
        getting overwritten while still being used.
2002-03-18  Jan Hubicka  
2002-03-18  Jan Hubicka  
            Andreas Jaeger  
            Andreas Jaeger  
            Andreas Schwab  
            Andreas Schwab  
        * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
        * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
        * elf_x86_64.sh (ARCH): Set to i386:x86-64
        * elf_x86_64.sh (ARCH): Set to i386:x86-64
        set libraries to default to lib64 paths.
        set libraries to default to lib64 paths.
2002-03-18  Tom Rix  
2002-03-18  Tom Rix  
        * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
        * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
        * configure.tgt : Same.
        * configure.tgt : Same.
        * emulparms/aix5ppc.sh : New file. For eaix5ppc.
        * emulparms/aix5ppc.sh : New file. For eaix5ppc.
        * emulparms/aix5rs6.sh : New file. For eaix5rs6.
        * emulparms/aix5rs6.sh : New file. For eaix5rs6.
        * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
        * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
        emulation parameters for better -b32, -b64 support.
        emulation parameters for better -b32, -b64 support.
        * emulparms/aixrs6.sh : Same.
        * emulparms/aixrs6.sh : Same.
        * emulparms/ppcmacos.sh : Same.
        * emulparms/ppcmacos.sh : Same.
        * emultempl/aix.em (choose_target) : Use new emulation parameters
        * emultempl/aix.em (choose_target) : Use new emulation parameters
        OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
        OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
        * Makefile.in : Regenerate.
        * Makefile.in : Regenerate.
2002-03-18  Nick Clifton  
2002-03-18  Nick Clifton  
        * po/fr.po: Updated version.
        * po/fr.po: Updated version.
2002-03-18  Alan Modra  
2002-03-18  Alan Modra  
        * ldmain.c (main): Move .text readonly flag fudges from here..
        * ldmain.c (main): Move .text readonly flag fudges from here..
        * ldlang.c (lang_process): ..to here.
        * ldlang.c (lang_process): ..to here.
2002-03-14  Alan Modra  
2002-03-14  Alan Modra  
        * ldlang.c (lang_check): Remove the word size check added in last
        * ldlang.c (lang_check): Remove the word size check added in last
        change.  Treat emitrelocations case as for relocatable links.
        change.  Treat emitrelocations case as for relocatable links.
2002-03-13  Nick Clifton  
2002-03-13  Nick Clifton  
        * po/fr.po: Updated version.
        * po/fr.po: Updated version.
2002-03-13  Alan Modra  
2002-03-13  Alan Modra  
        * ldlang.c (lang_check): Do relocatable link checks first, so that
        * ldlang.c (lang_check): Do relocatable link checks first, so that
        warn_mismatch can't override.  Check compatible and word size too.
        warn_mismatch can't override.  Check compatible and word size too.
2002-03-07  Daniel Jacobowitz  
2002-03-07  Daniel Jacobowitz  
        * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
        * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
2002-03-05  Jakub Jelinek  
2002-03-05  Jakub Jelinek  
        * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
        * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
        DATA_SEGMENT_ALIGN.
        DATA_SEGMENT_ALIGN.
2002-03-04  H.J. Lu 
2002-03-04  H.J. Lu 
        * scripttempl/elf.sc: Put .preinit_array, .init_array and
        * scripttempl/elf.sc: Put .preinit_array, .init_array and
        .fini_array in the data segment.
        .fini_array in the data segment.
2002-03-04  Alan Modra  
2002-03-04  Alan Modra  
        * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
        * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
2002-03-01  David Mosberger  
2002-03-01  David Mosberger  
        * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
        * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
        .init_array, and .fini_array.
        .init_array, and .fini_array.
2002-02-20  Andreas Schwab  
2002-02-20  Andreas Schwab  
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
        .IA64_unwind* in a relocatable link.
        .IA64_unwind* in a relocatable link.
2002-02-20  Nick Clifton  
2002-02-20  Nick Clifton  
        * NEWS: Mark 2.12 branch.
        * NEWS: Mark 2.12 branch.
2002-02-19  Martin Schwidefsky  
2002-02-19  Martin Schwidefsky  
        * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
        * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
        * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
        * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
2002-02-18  Tom Rix  
2002-02-18  Tom Rix  
        * emultempl/aix.em (gld*_parse_args): Add -brtl support.
        * emultempl/aix.em (gld*_parse_args): Add -brtl support.
        (gld*_before_allocation): Same.
        (gld*_before_allocation): Same.
        (gld*_create_output_section_statements): Generate
        (gld*_create_output_section_statements): Generate
        __rtinit if run time linking.  Add librtl.a to the link.
        __rtinit if run time linking.  Add librtl.a to the link.
        (gld*_read_file): Clean.
        (gld*_read_file): Clean.
2002-02-18  Alan Modra  
2002-02-18  Alan Modra  
        * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
        * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
2002-02-18  David O'Brien  
2002-02-18  David O'Brien  
        * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
        * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
        eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
        eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
        and eelf64alpha_fbsd.
        and eelf64alpha_fbsd.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
        * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
        x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
        x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
        use a FreeBSD-specific emulation rather than the psABI one.
        use a FreeBSD-specific emulation rather than the psABI one.
        * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
        * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
        for all FreeBSD ELF systems.
        for all FreeBSD ELF systems.
        * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
        * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
        emulation.
        emulation.
        * emulparams/elf32ppc_fbsd.sh: Likewise.
        * emulparams/elf32ppc_fbsd.sh: Likewise.
        * emulparams/elf64_ia64_fbsd.sh: Likewise.
        * emulparams/elf64_ia64_fbsd.sh: Likewise.
        * emulparams/elf64_sparc_fbsd.sh: Likewise.
        * emulparams/elf64_sparc_fbsd.sh: Likewise.
        * emulparams/elf64alpha_fbsd.sh: Likewise.
        * emulparams/elf64alpha_fbsd.sh: Likewise.
        * emulparams/elf_i386_fbsd.sh: Likewise.
        * emulparams/elf_i386_fbsd.sh: Likewise.
        * emulparams/elf_x86_64_fbsd.sh: Likewise.
        * emulparams/elf_x86_64_fbsd.sh: Likewise.
2002-02-18  Nick Clifton  
2002-02-18  Nick Clifton  
        * po/tr.po: Updated version.
        * po/tr.po: Updated version.
2002-02-18  Alan Modra  
2002-02-18  Alan Modra  
        * ld.texinfo (Output Section Fill): Fix amateur texinfo.
        * ld.texinfo (Output Section Fill): Fix amateur texinfo.
        (FILL): Likewise.
        (FILL): Likewise.
2002-02-17  Hans-Peter Nilsson  
2002-02-17  Hans-Peter Nilsson  
        * emultempl/mmo.em (mmo_after_open): Don't call
        * emultempl/mmo.em (mmo_after_open): Don't call
        _bfd_mmix_check_all_relocs when producing ELF output.
        _bfd_mmix_check_all_relocs when producing ELF output.
2002-02-15  Richard Henderson  
2002-02-15  Richard Henderson  
        * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
        * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
        definition.  Emit a unop+nop pair.
        definition.  Emit a unop+nop pair.
2002-02-15  Hans-Peter Nilsson  
2002-02-15  Hans-Peter Nilsson  
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
        for presence of .MMIX.reg_contents.linker_allocated before early
        for presence of .MMIX.reg_contents.linker_allocated before early
        exit.
        exit.
        * NEWS: Mention support for MMIX.
        * NEWS: Mention support for MMIX.
2002-02-15  Alan Modra  
2002-02-15  Alan Modra  
        Support arbitrary length fill patterns.
        Support arbitrary length fill patterns.
        * ld.texinfo (Output Section Fill): Describe fill expressions.
        * ld.texinfo (Output Section Fill): Describe fill expressions.
        (FILL): Refer to the above.
        (FILL): Refer to the above.
        * ldexp.h (etree_value_type): Add "str" field.
        * ldexp.h (etree_value_type): Add "str" field.
        (union etree_union): Add "str" to "value" struct.
        (union etree_union): Add "str" to "value" struct.
        (exp_bigintop): Declare.
        (exp_bigintop): Declare.
        (exp_get_fill): Declare.
        (exp_get_fill): Declare.
        * ldexp.c: Include "safe-ctype.h".
        * ldexp.c: Include "safe-ctype.h".
        (exp_intop): Set value.str to NULL.
        (exp_intop): Set value.str to NULL.
        (exp_bigintop): New function.
        (exp_bigintop): New function.
        (new_rel): Pass in "str", and set new.str from it.
        (new_rel): Pass in "str", and set new.str from it.
        (new_rel_from_section): Set new.str to NULL.
        (new_rel_from_section): Set new.str to NULL.
        (fold_name): Adjust calls to new_rel.
        (fold_name): Adjust calls to new_rel.
        (exp_fold_tree): Likewise.
        (exp_fold_tree): Likewise.
        (exp_get_fill): New function.
        (exp_get_fill): New function.
        * ldgram.y (struct big_int bigint, fill_type *fill): New.
        * ldgram.y (struct big_int bigint, fill_type *fill): New.
        (INT): Returns a "bigint".  Adjust all code handling INTs.
        (INT): Returns a "bigint".  Adjust all code handling INTs.
        (fill_opt): Returns a "fill".
        (fill_opt): Returns a "fill".
        (fill_exp): Split out of fill_opt, use for FILL.
        (fill_exp): Split out of fill_opt, use for FILL.
        * ldlang.h (struct _fill_type): New.
        * ldlang.h (struct _fill_type): New.
        (fill_type): Move typedef to ldexp.h.
        (fill_type): Move typedef to ldexp.h.
        (lang_output_section_statement_type): "fill" is now a pointer.
        (lang_output_section_statement_type): "fill" is now a pointer.
        (lang_fill_statement_type): Likewise.
        (lang_fill_statement_type): Likewise.
        (lang_padding_statement_type): Likewise.
        (lang_padding_statement_type): Likewise.
        (lang_add_fill): Now takes a "fill_type *" param.
        (lang_add_fill): Now takes a "fill_type *" param.
        (lang_leave_output_section_statement): Likewise.
        (lang_leave_output_section_statement): Likewise.
        (lang_do_assignments): Likewise.
        (lang_do_assignments): Likewise.
        (lang_size_sections): Likewise.
        (lang_size_sections): Likewise.
        (lang_leave_overlay_section): Likewise.
        (lang_leave_overlay_section): Likewise.
        (lang_leave_overlay): Likewise.
        (lang_leave_overlay): Likewise.
        * ldlang.c: Include ldgram.h after ldexp.h.
        * ldlang.c: Include ldgram.h after ldexp.h.
        (lang_output_section_statement_lookup): Adjust for fill_type change.
        (lang_output_section_statement_lookup): Adjust for fill_type change.
        (print_fill_statement): Likewise.
        (print_fill_statement): Likewise.
        (print_padding_statement): Likewise.
        (print_padding_statement): Likewise.
        (insert_pad): Now takes a "fill_type *" arg.
        (insert_pad): Now takes a "fill_type *" arg.
        (size_input_section): Likewise.
        (size_input_section): Likewise.
        (lang_size_sections_1): Likewise.
        (lang_size_sections_1): Likewise.
        (lang_size_sections): Likewise.
        (lang_size_sections): Likewise.
        (lang_do_assignments): Likewise.
        (lang_do_assignments): Likewise.
        (lang_add_fill): Likewise.
        (lang_add_fill): Likewise.
        (lang_leave_output_section_statement): Likewise.
        (lang_leave_output_section_statement): Likewise.
        (lang_leave_overlay_section): Likewise.
        (lang_leave_overlay_section): Likewise.
        (lang_leave_overlay): Likewise.
        (lang_leave_overlay): Likewise.
        Adjust all callers of the above function.
        Adjust all callers of the above function.
        * ldlex.l: Include ldgram.h after ldexp.h.  Allow hex numbers
        * ldlex.l: Include ldgram.h after ldexp.h.  Allow hex numbers
        starting with "0X" as well as "0x".  Return bigint.str for hex
        starting with "0X" as well as "0x".  Return bigint.str for hex
        numbers starting with "0x" or "0X", zero bigint.str otherwise.
        numbers starting with "0x" or "0X", zero bigint.str otherwise.
        Always use base 16 for numbers starting with "$".
        Always use base 16 for numbers starting with "$".
        * ldmain.c: Include ldgram.h after ldexp.h.
        * ldmain.c: Include ldgram.h after ldexp.h.
        * ldwrite.c (build_link_order): Use bfd_data_link_order in place
        * ldwrite.c (build_link_order): Use bfd_data_link_order in place
        of bfd_fill_link_order.
        of bfd_fill_link_order.
        * pe-dll.c: Adjust lang_do_assignments calls.
        * pe-dll.c: Adjust lang_do_assignments calls.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/ppc64elf.em: Likewise.
        * emultempl/ppc64elf.em: Likewise.
        * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
        * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
        lang_add_assignment call.
        lang_add_assignment call.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
2002-02-14  Phil Edwards  
2002-02-14  Phil Edwards  
        * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
        * ld.texinfo (VERSION scripts): Symbol names are globbing patterns.
        * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
        * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern;
        the pattern in question is not a regexp.
        the pattern in question is not a regexp.
        * ldlang.c: Likewise.
        * ldlang.c: Likewise.
        * ldlang.h: Likewise.
        * ldlang.h: Likewise.
        * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
        * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also.
2002-02-12  Jakub Jelinek  
2002-02-12  Jakub Jelinek  
        * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
        * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
        * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
        * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
        (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
        (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
        * ldexp.c (exp_data_seg): New variable.
        * ldexp.c (exp_data_seg): New variable.
        (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
        (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
        (fold_binary): Handle DATA_SEGMENT_ALIGN.
        (fold_binary): Handle DATA_SEGMENT_ALIGN.
        (exp_fold_tree): Handle DATA_SEGMENT_END.
        (exp_fold_tree): Handle DATA_SEGMENT_END.
        Pass allocation_done when recursing instead of hardcoding
        Pass allocation_done when recursing instead of hardcoding
        lang_allocating_phase_enum.
        lang_allocating_phase_enum.
        * ldexp.h (exp_data_seg): New.
        * ldexp.h (exp_data_seg): New.
        * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
        * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
        (lang_size_sections): New.
        (lang_size_sections): New.
        * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
        * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
        * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
        * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
        if COMMONPAGESIZE is defined.
        if COMMONPAGESIZE is defined.
        * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
        * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
        * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
        * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
        * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
        * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
        * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
        * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
        * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
        * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
        libraries only.
        libraries only.
2002-02-11  Alan Modra  
2002-02-11  Alan Modra  
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2002-02-10  Daniel Jacobowitz  
2002-02-10  Daniel Jacobowitz  
        * lexsup.c: Remove strtoul declaration.
        * lexsup.c: Remove strtoul declaration.
2002-02-10  Daniel Jacobowitz  
2002-02-10  Daniel Jacobowitz  
        * ldmain.c: Add prototype for main ().
        * ldmain.c: Add prototype for main ().
        * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
        * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H.
        * emultempl/lnk960.em (lnk960_choose_target): Function should
        * emultempl/lnk960.em (lnk960_choose_target): Function should
        take two arguments.
        take two arguments.
2002-02-10  Alan Modra  
2002-02-10  Alan Modra  
        * ldlang.c (entry_section): New initialised variable.
        * ldlang.c (entry_section): New initialised variable.
        (lang_finish): Use it.
        (lang_finish): Use it.
        * ldlang.h (entry_section): Declare.
        * ldlang.h (entry_section): Declare.
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set
        entry_section to ".opd".
        entry_section to ".opd".
2002-02-09  Chris Demetriou  
2002-02-09  Chris Demetriou  
        * ld.texinfo (Options): Add back in -nostdlib documentation,
        * ld.texinfo (Options): Add back in -nostdlib documentation,
        which had been inadvertently removed.
        which had been inadvertently removed.
2002-02-09  Hans-Peter Nilsson  
2002-02-09  Hans-Peter Nilsson  
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust
        register section vma to a sane value after emitting error.  Make
        register section vma to a sane value after emitting error.  Make
        fatal conditions cause program exit when emitting message.
        fatal conditions cause program exit when emitting message.
2002-02-08  Ivan Guzvinec 
2002-02-08  Ivan Guzvinec 
        * configure.tgt: Add or32-*-rtems target.
        * configure.tgt: Add or32-*-rtems target.
2002-02-08  Alexandre Oliva  
2002-02-08  Alexandre Oliva  
        Contribute sh64-elf.
        Contribute sh64-elf.
        2002-01-24  Alexandre Oliva  
        2002-01-24  Alexandre Oliva  
        * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
        * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined
        in OTHER_RELOCATABLE_SECTIONS.
        in OTHER_RELOCATABLE_SECTIONS.
        2002-01-18  Alexandre Oliva  
        2002-01-18  Alexandre Oliva  
        * emulparams/shelf32.sh (STACK_ADDR): Define.
        * emulparams/shelf32.sh (STACK_ADDR): Define.
        (OTHER_RELOCATABLE_SECTIONS): Renamed to...
        (OTHER_RELOCATABLE_SECTIONS): Renamed to...
        (OTHER_SECTIONS): this.  Removed stack settings.
        (OTHER_SECTIONS): this.  Removed stack settings.
        * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
        * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set.
        (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
        (OTHER_SECTIONS): Reset after sourcing shelf32.sh.
        2001-03-12  DJ Delorie  
        2001-03-12  DJ Delorie  
        * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
        * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable
        relaxing if any shmedia or mixed sections are found.
        relaxing if any shmedia or mixed sections are found.
        2001-03-07  DJ Delorie  
        2001-03-07  DJ Delorie  
        * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
        * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to
        einfo.  Gracefully decline to output to non-elf formats.
        einfo.  Gracefully decline to output to non-elf formats.
        2001-03-06  Hans-Peter Nilsson  
        2001-03-06  Hans-Peter Nilsson  
        * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
        * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>:
        Default to _end aligned to next multiple of 0x40000, plus 0x40000.
        Default to _end aligned to next multiple of 0x40000, plus 0x40000.
        * emulparams/shelf32.sh: Ditto.
        * emulparams/shelf32.sh: Ditto.
        2001-01-14  Hans-Peter Nilsson  
        2001-01-14  Hans-Peter Nilsson  
        * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
        * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak
        comment.
        comment.
        2001-01-10  Ben Elliston  
        2001-01-10  Ben Elliston  
        * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
        * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid
        non-portable shell constructs. From Hans-Peter Nilsson.
        non-portable shell constructs. From Hans-Peter Nilsson.
        2001-01-09  Hans-Peter Nilsson  
        2001-01-09  Hans-Peter Nilsson  
        * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
        * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty.
        * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
        * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust
        dependencies to the shell script include chain.
        dependencies to the shell script include chain.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        2001-01-06  Hans-Peter Nilsson  
        2001-01-06  Hans-Peter Nilsson  
        * emultempl/sh64elf.em: Update and tweak comments.
        * emultempl/sh64elf.em: Update and tweak comments.
        (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
        (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and
        make a .cranges section SEC_IN_MEMORY.
        make a .cranges section SEC_IN_MEMORY.
        2000-12-30  Hans-Peter Nilsson  
        2000-12-30  Hans-Peter Nilsson  
        * emultempl/sh64elf.em
        * emultempl/sh64elf.em
        (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
        (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when
        .cranges section found to be necessary; continue and set stored
        .cranges section found to be necessary; continue and set stored
        section contents flags for sections with non-mixed contents.
        section contents flags for sections with non-mixed contents.
        Use a struct sh64_section_data container and sh64_elf_section_data
        Use a struct sh64_section_data container and sh64_elf_section_data
        to store contents-type flags.
        to store contents-type flags.
        Remove unused update of "isec".
        Remove unused update of "isec".
        (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
        (sh64_elf_${EMULATION_NAME}_after_allocation): Only process
        sections marked SHF_SH5_ISA32_MIXED.  Use sh64_elf_section_data to
        sections marked SHF_SH5_ISA32_MIXED.  Use sh64_elf_section_data to
        access contents-type flags.  Assert that the associated container
        access contents-type flags.  Assert that the associated container
        is initialized.  Use that container, not elf_gp_size, to hold size
        is initialized.  Use that container, not elf_gp_size, to hold size
        of linker-generated cranges contents.
        of linker-generated cranges contents.
        2000-12-18  Hans-Peter Nilsson  
        2000-12-18  Hans-Peter Nilsson  
        * emultempl/sh64elf.em
        * emultempl/sh64elf.em
        (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
        (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if
        there's already a .cranges section.  When section flag difference
        there's already a .cranges section.  When section flag difference
        is found, don't NULL-check cranges a second time.  Tweak comments.
        is found, don't NULL-check cranges a second time.  Tweak comments.
        (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
        (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after
        merging, not max size, as size of ld-generated .cranges contents.
        merging, not max size, as size of ld-generated .cranges contents.
        Don't set ELF section flags in output section.  When checking for
        Don't set ELF section flags in output section.  When checking for
        needed .cranges descriptors, don't use a variable; compare
        needed .cranges descriptors, don't use a variable; compare
        incoming ELF section flags directly to SHF_SH5_ISA32_MIXED.  Tweak
        incoming ELF section flags directly to SHF_SH5_ISA32_MIXED.  Tweak
        comments.
        comments.
        2000-12-18  Hans-Peter Nilsson  
        2000-12-18  Hans-Peter Nilsson  
        * emultempl/sh64elf.em: New file.
        * emultempl/sh64elf.em: New file.
        * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
        * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
        * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set.
        (OTHER_RELOCATING_SECTIONS): Ditto.
        (OTHER_RELOCATING_SECTIONS): Ditto.
        (EXTRA_EM_FILE): New, set to sh64elf if not set.
        (EXTRA_EM_FILE): New, set to sh64elf if not set.
        * emulparams/shlelf32.sh: Stub out all settings except
        * emulparams/shlelf32.sh: Stub out all settings except
        OUTPUT_FORMAT.  Source shelf32.sh.
        OUTPUT_FORMAT.  Source shelf32.sh.
        * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
        * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and
        OTHER_RELOCATING_SECTIONS.
        OTHER_RELOCATING_SECTIONS.
        (OTHER_RELOCATING_SECTIONS): Remove .cranges.
        (OTHER_RELOCATING_SECTIONS): Remove .cranges.
        * emulparams/shlelf64.sh: Stub out all settings except
        * emulparams/shlelf64.sh: Stub out all settings except
        OUTPUT_FORMAT.  Source shelf64.sh.
        OUTPUT_FORMAT.  Source shelf64.sh.
        2000-12-15  Hans-Peter Nilsson  
        2000-12-15  Hans-Peter Nilsson  
        * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
        * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include
        .cranges section.
        .cranges section.
        (DATA_START_SYMBOLS): Define, provide ___data.
        (DATA_START_SYMBOLS): Define, provide ___data.
        (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
        (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8
        for consecutive .data section.
        for consecutive .data section.
        (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
        (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss
        section after .data section.
        section after .data section.
        * emulparams/shlelf64.sh: Ditto.
        * emulparams/shlelf64.sh: Ditto.
        * emulparams/shelf32.sh: Ditto.
        * emulparams/shelf32.sh: Ditto.
        (ALIGNMENT): Define to 8.
        (ALIGNMENT): Define to 8.
        * emulparams/shelf32.sh: Ditto.
        * emulparams/shelf32.sh: Ditto.
        2000-12-12  Hans-Peter Nilsson  
        2000-12-12  Hans-Peter Nilsson  
        * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
        * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get
        built-in linker scripts.
        built-in linker scripts.
        2000-11-30  Hans-Peter Nilsson  
        2000-11-30  Hans-Peter Nilsson  
        * emulparams/shlelf64.sh: New.
        * emulparams/shlelf64.sh: New.
        * emulparams/shelf64.sh: New.
        * emulparams/shelf64.sh: New.
        * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
        * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to
        targ_extra_emuls.
        targ_extra_emuls.
        * Makefile.am: Add support for shlelf64 and shelf64.
        * Makefile.am: Add support for shlelf64 and shelf64.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        2000-11-29  Hans-Peter Nilsson  
        2000-11-29  Hans-Peter Nilsson  
        * configure.tgt (sh64-*-elf*): Add shelf as default.
        * configure.tgt (sh64-*-elf*): Add shelf as default.
        Add shlelf to targ_extra_emuls.
        Add shlelf to targ_extra_emuls.
        2000-11-24  Hans-Peter Nilsson  
        2000-11-24  Hans-Peter Nilsson  
        * emulparams/shelf32.sh: New file.
        * emulparams/shelf32.sh: New file.
        * emulparams/shlelf32.sh: New file.
        * emulparams/shlelf32.sh: New file.
        * Makefile.am: Add support for shlelf32 and shelf32.
        * Makefile.am: Add support for shlelf32 and shelf32.
        * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
        * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2002-02-05  Hans-Peter Nilsson  
2002-02-05  Hans-Peter Nilsson  
        * ldlang.c (lang_reset_memory_regions): Rename from
        * ldlang.c (lang_reset_memory_regions): Rename from
        reset_memory_regions.  Change all callers.  Make public.
        reset_memory_regions.  Change all callers.  Make public.
        * ldlang.h (lang_reset_memory_regions): Prototype.
        * ldlang.h (lang_reset_memory_regions): Prototype.
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
        lang_reset_memory_regions before lang_size_sections.
        lang_reset_memory_regions before lang_size_sections.
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.
2002-02-04  Hans-Peter Nilsson  
2002-02-04  Hans-Peter Nilsson  
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed
        arithmetic when checking for too many global registers.
        arithmetic when checking for too many global registers.
2002-02-02  Jason Thorpe  
2002-02-02  Jason Thorpe  
        * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
        * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o.
        (ehppanbsd.c): New rule.
        (ehppanbsd.c): New rule.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (hppa*-*-netbsd*): New target.
        * configure.tgt (hppa*-*-netbsd*): New target.
        * emulparams/hppalinux.sh: Add comment to check other files
        * emulparams/hppalinux.sh: Add comment to check other files
        that source this file it is modified, and list which
        that source this file it is modified, and list which
        files that do.
        files that do.
        * emulparams/hppanbsd.sh: New file.
        * emulparams/hppanbsd.sh: New file.
2002-02-01  Geoffrey Keating  
2002-02-01  Geoffrey Keating  
        * scripttempl/xstormy16.sc: Don't allocate extra space for the
        * scripttempl/xstormy16.sc: Don't allocate extra space for the
        stack.
        stack.
2002-02-01  Hans-Peter Nilsson  
2002-02-01  Hans-Peter Nilsson  
        Support on-demand global register allocation from
        Support on-demand global register allocation from
        R_MMIX_BASE_PLUS_OFFSET relocs.
        R_MMIX_BASE_PLUS_OFFSET relocs.
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from
        mmix_set_reg_section_vma.  Call
        mmix_set_reg_section_vma.  Call
        _bfd_mmix_finalize_linker_allocated_gregs.
        _bfd_mmix_finalize_linker_allocated_gregs.
        (mmix_before_allocation): New function.
        (mmix_before_allocation): New function.
        (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
        (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation.
        (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
        (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation.
        * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
        * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP.
        (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
        (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated
        before .MMIX.reg_contents.
        before .MMIX.reg_contents.
        * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
        * emultempl/mmo.em (gldmmo_before_allocation): Define to default.
        (mmo_after_open): New function.
        (mmo_after_open): New function.
        (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
        (LDEMUL_AFTER_OPEN): Define to mmo_after_open.
        * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting.  Add
        * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting.  Add
        .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
        .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents.
2002-01-31  Ivan Guzvinec  
2002-01-31  Ivan Guzvinec  
        * emulparams/or32.sh: New file.
        * emulparams/or32.sh: New file.
        * emulparams/or32elf.sh: New file.
        * emulparams/or32elf.sh: New file.
        * scripttempl/or32.sc: New file.
        * scripttempl/or32.sc: New file.
        * configure.tgt : Add support for or32.
        * configure.tgt : Add support for or32.
        * configure: Regenerate
        * configure: Regenerate
        * Makefile.am: Add support for or32.
        * Makefile.am: Add support for or32.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * NEWS: Mention support for or32.
        * NEWS: Mention support for or32.
        * po/ld.pot: Regenerate.
        * po/ld.pot: Regenerate.
2002-01-29  Chris Demetriou  
2002-01-29  Chris Demetriou  
            Mitch Lichtenberg  
            Mitch Lichtenberg  
        * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
        * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
        * emultempl/mipself.em: New file to handle MIPS ELF embedded
        * emultempl/mipself.em: New file to handle MIPS ELF embedded
        reloc creation (ld --embedded-relocs).
        reloc creation (ld --embedded-relocs).
2002-01-27  Daniel Jacobowitz  
2002-01-27  Daniel Jacobowitz  
        * configure: Regenerated.
        * configure: Regenerated.
2002-01-26  Hans-Peter Nilsson  
2002-01-26  Hans-Peter Nilsson  
        * Makefile.am (install): Depend on install-info.
        * Makefile.am (install): Depend on install-info.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2002-01-26  Christian Rose  
2002-01-26  Christian Rose  
        * ldmain.c (main): Use full sentences to ease translation.
        * ldmain.c (main): Use full sentences to ease translation.
2002-01-26  Nick Clifton  
2002-01-26  Nick Clifton  
        * po/fr.po: Updated version.
        * po/fr.po: Updated version.
2002-01-25  Nick Clifton  
2002-01-25  Nick Clifton  
        * po/es.po: Updated version.
        * po/es.po: Updated version.
2002-01-25  Andreas Jaeger  
2002-01-25  Andreas Jaeger  
        * ldlex.l (yy_input): Correct error check.
        * ldlex.l (yy_input): Correct error check.
2002-01-25  Alan Modra  
2002-01-25  Alan Modra  
        * ldmisc.c (demangle): Put back dots when string not demangled.
        * ldmisc.c (demangle): Put back dots when string not demangled.
2002-01-22  Richard Henderson  
2002-01-22  Richard Henderson  
        * emulparams/elf64alpha.sh (NOP): Use unop.
        * emulparams/elf64alpha.sh (NOP): Use unop.
2002-01-21  Andreas Jaeger  
2002-01-21  Andreas Jaeger  
        * ldlex.l: Use fread instead of read.
        * ldlex.l: Use fread instead of read.
2002-01-21  Jason Thorpe  
2002-01-21  Jason Thorpe  
        * configure.tgt (ia64-*-netbsd*): New target.
        * configure.tgt (ia64-*-netbsd*): New target.
2002-01-21  H.J. Lu 
2002-01-21  H.J. Lu 
        * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
        * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to
        0.
        0.
        * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
        * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise.
2002-01-18  Andreas Jaeger  
2002-01-18  Andreas Jaeger  
        * ldver.c (ldversion): Update year.
        * ldver.c (ldversion): Update year.
2002-01-17  Nick Clifton  
2002-01-17  Nick Clifton  
        * po/ld.pot: Regenerate.
        * po/ld.pot: Regenerate.
2002-01-16  Alan Modra  
2002-01-16  Alan Modra  
        * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
        * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
        * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define.
        * emultempl/ppc64elf.em: New file.
        * emultempl/ppc64elf.em: New file.
2002-01-15  DJ Delorie  
2002-01-15  DJ Delorie  
        * scripttempl/pe.sc: Add support for constructor priorities.
        * scripttempl/pe.sc: Add support for constructor priorities.
2002-01-07  Marek Michalkiewicz  
2002-01-07  Marek Michalkiewicz  
        * emulparams/avr1200.sh (DATA_START): Define as 0x60.
        * emulparams/avr1200.sh (DATA_START): Define as 0x60.
        * emulparams/avr23xx.sh: Likewise.
        * emulparams/avr23xx.sh: Likewise.
        * emulparams/avr4433.sh: Likewise.
        * emulparams/avr4433.sh: Likewise.
        * emulparams/avr44x4.sh: Likewise.
        * emulparams/avr44x4.sh: Likewise.
        * emulparams/avr85xx.sh: Likewise.
        * emulparams/avr85xx.sh: Likewise.
        * emulparams/avrmega103.sh: Likewise.
        * emulparams/avrmega103.sh: Likewise.
        * emulparams/avrmega161.sh: Likewise.
        * emulparams/avrmega161.sh: Likewise.
        * emulparams/avrmega603.sh: Likewise.
        * emulparams/avrmega603.sh: Likewise.
        * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
        * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
2002-01-08  Alexandre Oliva  
2002-01-08  Alexandre Oliva  
        * ldlang.c (walk_wild_section): Exclude object file if enclosing
        * ldlang.c (walk_wild_section): Exclude object file if enclosing
        archive is excluded.
        archive is excluded.
2002-01-07  Jason Thorpe  
2002-01-07  Jason Thorpe  
        * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
        * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o.
        (eshelf_nbsd.c): New rule.
        (eshelf_nbsd.c): New rule.
        (eshlelf_nbsd.c): New rule.
        (eshlelf_nbsd.c): New rule.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (sh*le-*-netbsdelf*): New target.
        * configure.tgt (sh*le-*-netbsdelf*): New target.
        (sh*-*-netbsdelf*): New target.
        (sh*-*-netbsdelf*): New target.
        * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
        * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file.
        * emulparams/shelf_nbsd.sh: New emulation.
        * emulparams/shelf_nbsd.sh: New emulation.
        * emulparams/shlelf_nbsd.sh: New emulation.
        * emulparams/shlelf_nbsd.sh: New emulation.
2002-01-07  Nick Clifton  
2002-01-07  Nick Clifton  
        * po/es.po: New file: Spanish translation.
        * po/es.po: New file: Spanish translation.
        * configure.in (ALL_LINGUAS): Add es.
        * configure.in (ALL_LINGUAS): Add es.
        * configure: Regenerate.
        * configure: Regenerate.
2002-01-06  John Marshall  
2002-01-06  John Marshall  
        * ld.texinfo: Note that --emit-relocs is currently only
        * ld.texinfo: Note that --emit-relocs is currently only
        implemented for ELF.
        implemented for ELF.
2002-01-05  Alan Modra  
2002-01-05  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use
        of bfd_section_list_remove and bfd_section_list_insert macros.
        of bfd_section_list_remove and bfd_section_list_insert macros.
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
2002-01-04  Jason Thorpe  
2002-01-04  Jason Thorpe  
        * configure.tgt (x86_64-*-netbsd*): New target.
        * configure.tgt (x86_64-*-netbsd*): New target.
For older changes see ChangeLog-0001
For older changes see ChangeLog-0001


Local Variables:
Local Variables:
mode: change-log
mode: change-log
left-margin: 8
left-margin: 8
fill-column: 74
fill-column: 74
version-control: never
version-control: never
End:
End:
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.