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

Subversion Repositories openrisc

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

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

Rev 156 Rev 816
2001-12-21  Tom Rix  
2001-12-21  Tom Rix  
        (gld*_create_output_section_statements): New function.
        (gld*_create_output_section_statements): New function.
        For -binitfini support.
        For -binitfini support.
        * emultempl/aix.em (gld*_before_parse): Fix comment.
        * emultempl/aix.em (gld*_before_parse): Fix comment.
        * emultempl/aix.em (gld*_parse_args): Fix comment.
        * emultempl/aix.em (gld*_parse_args): Fix comment.
2001-12-20  Jason Thorpe  
2001-12-20  Jason Thorpe  
        * configure.tgt (mips*-dec-netbsd*): Delete alias for
        * configure.tgt (mips*-dec-netbsd*): Delete alias for
        mips*el-*-netbsd*.
        mips*el-*-netbsd*.
        (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
        (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
        * configure.tgt (arm-*-netbsdelf*): Add target.
        * configure.tgt (arm-*-netbsdelf*): Add target.
        (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
        (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
        * emulparams/armelf_nbsd.sh: Added.
        * emulparams/armelf_nbsd.sh: Added.
        * Makefile.am: Add rules for earmelf_nbsd.
        * Makefile.am: Add rules for earmelf_nbsd.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-12-19  Andreas Jaeger  ,
2001-12-19  Andreas Jaeger  ,
            Susanne Oberhauser 
            Susanne Oberhauser 
        * configure.host: Add rules for x86_64-*linux-gnu.  Change
        * configure.host: Add rules for x86_64-*linux-gnu.  Change
        s390x-linux entry to use gcc to report configuration, replace gcc
        s390x-linux entry to use gcc to report configuration, replace gcc
        with $CC in s390-linux
        with $CC in s390-linux
2001-12-19  Andreas Jaeger  
2001-12-19  Andreas Jaeger  
        * ld.texinfo (VERSION): Fix markup.
        * ld.texinfo (VERSION): Fix markup.
2001-12-18  matthew green  
2001-12-18  matthew green  
        * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
        * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
        (m68kelfnbsd.c): New rule.
        (m68kelfnbsd.c): New rule.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (m68*-hp-netbsd*): Renamed to ..
        * configure.tgt (m68*-hp-netbsd*): Renamed to ..
        (m68*-*-netbsd*4k*): .. this.
        (m68*-*-netbsd*4k*): .. this.
        (m68*-*-netbsdelf*): New target.
        (m68*-*-netbsdelf*): New target.
        (m68*-*-netbsd*): Also include ELF support.
        (m68*-*-netbsd*): Also include ELF support.
        (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
        (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
        * emulparams/m68kelfnbsd.sh: New emulation.
        * emulparams/m68kelfnbsd.sh: New emulation.
2001-12-18  Jakub Jelinek  
2001-12-18  Jakub Jelinek  
        * ldgram.y (vers_node): Support anonymous version tags.
        * ldgram.y (vers_node): Support anonymous version tags.
        * ldlang.c (lang_register_vers_node): Ensure anonymous version
        * ldlang.c (lang_register_vers_node): Ensure anonymous version
        tag is not defined together with non-anonymous versions.
        tag is not defined together with non-anonymous versions.
        * ld.texinfo: Document it.
        * ld.texinfo: Document it.
2001-12-18  Nick Clifton  
2001-12-18  Nick Clifton  
        * po/tr.po: New file: Turkish translation.
        * po/tr.po: New file: Turkish translation.
        * configure.in (ALL_LINGUAS): Add tr.
        * configure.in (ALL_LINGUAS): Add tr.
        * configure: Regenerate.
        * configure: Regenerate.
2001-12-17  Jason Thorpe  
2001-12-17  Jason Thorpe  
        * Makefile.am: Add rules for eelf64alpha_nbsd.
        * Makefile.am: Add rules for eelf64alpha_nbsd.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (alpha*-*-netbsd*): Set
        * configure.tgt (alpha*-*-netbsd*): Set
        targ_emul to elf64alpha_nbsd.
        targ_emul to elf64alpha_nbsd.
        * emulparams/elf64alpha_nbsd.sh: Added.
        * emulparams/elf64alpha_nbsd.sh: Added.
2001-12-17  Alan Modra  
2001-12-17  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust
        section_tail when fiddling with section list.
        section_tail when fiddling with section list.
        (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
        (gld${EMULATION_NAME}_list_options): Ensure sentences aren't
        broken into separate strings to make translation easier.
        broken into separate strings to make translation easier.
        * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
        * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when
        fiddling with section list.
        fiddling with section list.
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2001-12-16  Hans-Peter Nilsson  
2001-12-16  Hans-Peter Nilsson  
        * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
        * scripttempl/mmo.sc: Add .debug_ranges to listed sections.
2001-12-15  Alan Modra  
2001-12-15  Alan Modra  
        * ldmain.c (main): Initialise link_info.eh_frame_hdr.
        * ldmain.c (main): Initialise link_info.eh_frame_hdr.
2001-12-13  Jakub Jelinek  
2001-12-13  Jakub Jelinek  
        * emultempl/elf32.em (finish): Supply output_bfd
        * emultempl/elf32.em (finish): Supply output_bfd
        to bfd_elf*_discard_info.
        to bfd_elf*_discard_info.
        (OPTION_EH_FRAME_HDR): Define.
        (OPTION_EH_FRAME_HDR): Define.
        (longopts): Add --eh-frame-hdr.
        (longopts): Add --eh-frame-hdr.
        (parse_args): Handle it.
        (parse_args): Handle it.
        (list_options): Add --eh-frame-hdr to help.
        (list_options): Add --eh-frame-hdr to help.
        * emultempl/hppaelf.em (finish): Supply output_bfd
        * emultempl/hppaelf.em (finish): Supply output_bfd
        to bfd_elf*_discard_info.
        to bfd_elf*_discard_info.
        * scripttempl/elf.sc (.eh_frame_hdr): Add.
        * scripttempl/elf.sc (.eh_frame_hdr): Add.
2001-12-13  Alan Modra  
2001-12-13  Alan Modra  
        * lexsup.c (parse_args): Don't pass shortopts to second call to
        * lexsup.c (parse_args): Don't pass shortopts to second call to
        getopt functions.  Restore optind rather than decrementing before
        getopt functions.  Restore optind rather than decrementing before
        second call.  Remove errind as it now duplicates last_optind.
        second call.  Remove errind as it now duplicates last_optind.
2001-12-11  Christopher Faylor  
2001-12-11  Christopher Faylor  
        * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
        * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.
2001-12-07  Geoffrey Keating  
2001-12-07  Geoffrey Keating  
            Richard Henderson  
            Richard Henderson  
        * Makefile.am: Add support for xstormy16.
        * Makefile.am: Add support for xstormy16.
        * configure.tgt: Add support for xstormy16.
        * configure.tgt: Add support for xstormy16.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * emulparams/elf32xstormy16.sh: New file.
        * emulparams/elf32xstormy16.sh: New file.
        * scripttempl/xstormy16.sc: New file.
        * scripttempl/xstormy16.sc: New file.
2001-10-01  Christopher Faylor 
2001-10-01  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.
        * configure: Regenerate.
        * configure: Regenerate.
        * configure.tgt (*cygwin): Set LIB_PATH for cross build.
        * configure.tgt (*cygwin): Set LIB_PATH for cross build.
        * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
        * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS.
2001-12-07  Nick Clifton  
2001-12-07  Nick Clifton  
        * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
        * lexsup.c (ld_options): Insert 'PROGRAM' into the text string
        describing the -N option so that it is easier to translate into
        describing the -N option so that it is easier to translate into
        foreign languages.
        foreign languages.
2001-12-05  Nick Clifton  
2001-12-05  Nick Clifton  
        * emultempl/pe.em (..._list_options): Replace multiple fprintf
        * emultempl/pe.em (..._list_options): Replace multiple fprintf
        statements describing a single option with a single, newline
        statements describing a single option with a single, newline
        escaped fprintf.  This allows better translation into other
        escaped fprintf.  This allows better translation into other
        languages.
        languages.
        * ldmain.c (add_archive_element): Combine multiple strings
        * ldmain.c (add_archive_element): Combine multiple strings
        into a single string to permit better translation into other
        into a single string to permit better translation into other
        languages.
        languages.
2001-12-05  Tom Rix  
2001-12-05  Tom Rix  
        * Makefile.am: Remove eaixppc64.
        * Makefile.am: Remove eaixppc64.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-12-04  Tom Rix  
2001-12-04  Tom Rix  
        * emultempl/aix.em (choose_target): Change default target to
        * emultempl/aix.em (choose_target): Change default target to
        OUTPUT_FORMAT for ppcmacos.  Add braces to remove compiler
        OUTPUT_FORMAT for ppcmacos.  Add braces to remove compiler
        warning.
        warning.
        (gld*_read_file): Fix typo.
        (gld*_read_file): Fix typo.
        (change_symbol_mode): Add prototype.
        (change_symbol_mode): Add prototype.
        (is_syscall): Same.
        (is_syscall): Same.
        * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
        * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete.
        * emulparams/aixrs6.sh : Same.
        * emulparams/aixrs6.sh : Same.
        * emulparams/ppcmacos.sh : Same.
        * emulparams/ppcmacos.sh : Same.
        * emulparams/aixppc64.sh : Delete file.
        * emulparams/aixppc64.sh : Delete file.
        * emultempl/aix.em : Formatting changes.
        * emultempl/aix.em : Formatting changes.
2001-12-04  Hans-Peter Nilsson  
2001-12-04  Hans-Peter Nilsson  
        * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
        * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes.
        (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
        (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting
        __Sbss.
        __Sbss.
        (OTHER_END_SYMBOLS): Fix formatting.
        (OTHER_END_SYMBOLS): Fix formatting.
        * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
        * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes.
        (OTHER_END_SYMBOLS): Fix formatting.
        (OTHER_END_SYMBOLS): Fix formatting.
2001-12-04  Alan Modra  
2001-12-04  Alan Modra  
        * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
        * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT.
2001-12-02  Tom Rix  
2001-12-02  Tom Rix  
        * configure.tgt : Remove eaixppc64 emulations.
        * configure.tgt : Remove eaixppc64 emulations.
        * Makefile.in : Remove eaixppc64.c
        * Makefile.in : Remove eaixppc64.c
        * ldemul.c (ldemul_choose_target): New parameters argc, argv.
        * ldemul.c (ldemul_choose_target): New parameters argc, argv.
        (ldemul_default_target): Same.
        (ldemul_default_target): Same.
        * emultempl/gld960.em (gld960_choose_target): Same.
        * emultempl/gld960.em (gld960_choose_target): Same.
        * emultempl/gld960c.em (gld960_choose_target): Same.
        * emultempl/gld960c.em (gld960_choose_target): Same.
        * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
        * scripttempl/aix.sc: Remove OUTPUT_FORMAT.
        * emultempl/aix.em (is_syscall): syscall_mask now a variable.
        * emultempl/aix.em (is_syscall): syscall_mask now a variable.
        * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
        * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable.
        * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
        * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation.
        * emultempl/aix.em (choose_target): New function.  Handle emulation of
        * emultempl/aix.em (choose_target): New function.  Handle emulation of
        -b32 and -b64.
        -b32 and -b64.
2001-11-27  H.J. Lu 
2001-11-27  H.J. Lu 
        * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
        * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
        * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
        * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
        * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
        * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.
        * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
        * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
        is not empty.
        is not empty.
        (SDATA): Likewise.
        (SDATA): Likewise.
        (REL_SDATA): Likewise.
        (REL_SDATA): Likewise.
        (REL_SBSS): Likewise.
        (REL_SBSS): Likewise.
        (REL_SDATA2): Likewise.
        (REL_SDATA2): Likewise.
        (REL_SBSS2): Likewise.
        (REL_SBSS2): Likewise.
        (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
        (SBSS2): Define if ${NO_SMALL_DATA} is not empty.
        (SDATA2): Likewise.
        (SDATA2): Likewise.
2001-11-25  Stephane Carrez  
2001-11-25  Stephane Carrez  
        * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
        * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
        destructor in rom.
        destructor in rom.
        * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
        * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.
2001-11-22  H.J. Lu  
2001-11-22  H.J. Lu  
        * Makefile.in: Regenerated with automake based on automake
        * Makefile.in: Regenerated with automake based on automake
        1.4-8 in RedHat 7.1.
        1.4-8 in RedHat 7.1.
2001-11-22  Alan Modra  
2001-11-22  Alan Modra  
        * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
        * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
        (config.status): Delete rule.
        (config.status): Delete rule.
        Add extra dependencies to cover sourced emulparams files.
        Add extra dependencies to cover sourced emulparams files.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * scripttempl/elf.sc: Order 
,
.* and
        * scripttempl/elf.sc: Order 
,
.* and
        corresponding linkonce sections as seen in input files.
        corresponding linkonce sections as seen in input files.
        Formatting fixes.  Zero vma of all sections if not relocating.
        Formatting fixes.  Zero vma of all sections if not relocating.
        (STACK): Define and insert if STACK_ADDR defined.
        (STACK): Define and insert if STACK_ADDR defined.
        (OTHER_RELOCATING_SECTIONS): Delete.
        (OTHER_RELOCATING_SECTIONS): Delete.
        (OTHER_END_SYMBOLS): Define.
        (OTHER_END_SYMBOLS): Define.
        (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
        (OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
        (OTHER_READWRITE_SECTIONS): Likewise.
        (OTHER_READWRITE_SECTIONS): Likewise.
        (OTHER_GOT_SECTIONS): Likewise.
        (OTHER_GOT_SECTIONS): Likewise.
        (OTHER_SDATA_SECTIONS): Likewise.
        (OTHER_SDATA_SECTIONS): Likewise.
        (OTHER_BSS_SECTIONS): Likewise.
        (OTHER_BSS_SECTIONS): Likewise.
        * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
        * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
        (OTHER_READWRITE_SECTIONS): Likewise.
        (OTHER_READWRITE_SECTIONS): Likewise.
        * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
        * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
        (OTHER_READWRITE_SECTIONS): Likewise.
        (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
        * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
        (STACK_ADDR): Define.
        (STACK_ADDR): Define.
        * emulparams/armelf_oabi.sh: As for armelf.sh.
        * emulparams/armelf_oabi.sh: As for armelf.sh.
        * emulparams/elf32mcore.sh: As for armelf.sh.
        * emulparams/elf32mcore.sh: As for armelf.sh.
        * emulparams/h8300elf.sh: As for armelf.sh.
        * emulparams/h8300elf.sh: As for armelf.sh.
        * emulparams/mn10200.sh: As for armelf.sh.
        * emulparams/mn10200.sh: As for armelf.sh.
        * emulparams/shelf.sh: As for armelf.sh.
        * emulparams/shelf.sh: As for armelf.sh.
        * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
        * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
        (OTHER_END_SYMBOLS): Define.
        (OTHER_END_SYMBOLS): Define.
        * emulparams/m32relf.sh: As for elf32fr30.sh.
        * emulparams/m32relf.sh: As for elf32fr30.sh.
        * emulparams/h8300helf.sh: As for elf32fr30.sh.
        * emulparams/h8300helf.sh: As for elf32fr30.sh.
        * emulparams/h8300self.sh: As for elf32fr30.sh.
        * emulparams/h8300self.sh: As for elf32fr30.sh.
        * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
        * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
        defines with RELOCATING test.
        defines with RELOCATING test.
        (OTHER_SDATA_SECTIONS): Likewise.
        (OTHER_SDATA_SECTIONS): Likewise.
        (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
        (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
        (OTHER_END_SYMBOLS): ..this.
        (OTHER_END_SYMBOLS): ..this.
        * emulparams/crislinux.sh: As for criself.sh.
        * emulparams/crislinux.sh: As for criself.sh.
        * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
        * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
        if not relocating.
        if not relocating.
        (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
        (OTHER_RELOCATING_SECTIONS): Delete, replacing with..
        (OTHER_SECTIONS): ..this.  Zero vma if not relocating.  Order
        (OTHER_SECTIONS): ..this.  Zero vma if not relocating.  Order
        normal and linkonce sections as seen in input files.
        normal and linkonce sections as seen in input files.
        * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
        * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
        (TEXT_DYNAMIC): Likewise.
        (TEXT_DYNAMIC): Likewise.
        (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
        (INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
        (OTHER_SDATA_SECTIONS): Likewise.
        (OTHER_SDATA_SECTIONS): Likewise.
        * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
        * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
        * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
        * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
        * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
        * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
        (OTHER_PLT_RELOC_SECTIONS): Likewise.
        (OTHER_PLT_RELOC_SECTIONS): Likewise.
        (OTHER_READONLY_SECTIONS): Likewise.  Order normal and linkonce
        (OTHER_READONLY_SECTIONS): Likewise.  Order normal and linkonce
        sections as seen in input files.
        sections as seen in input files.
        * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
        * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
        * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
        * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
        if not relocating.
        if not relocating.
        (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
        (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
        (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
        (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
        * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
        * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
        (OTHER_SECTIONS): Instead, use this..
        (OTHER_SECTIONS): Instead, use this..
        (OTHER_END_SYMBOLS): ..and this.
        (OTHER_END_SYMBOLS): ..and this.
        * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
        * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
        * emulparams/elf32bsmip.sh: Likewise.
        * emulparams/elf32bsmip.sh: Likewise.
        * emulparams/elf32btsmip.sh: Likewise.
        * emulparams/elf32btsmip.sh: Likewise.
        * emulparams/elf32ebmip.sh: Likewise.
        * emulparams/elf32ebmip.sh: Likewise.
        * emulparams/elf32lmip.sh: Likewise.
        * emulparams/elf32lmip.sh: Likewise.
        * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
        * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
        * emulparams/elf32lsmip.sh: Likewise.
        * emulparams/elf32lsmip.sh: Likewise.
        * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
        * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
        * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
        * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
        * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
        * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
        * emulparams/elf64btsmip.sh: Likewise.
        * emulparams/elf64btsmip.sh: Likewise.
        * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
        * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
        * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
        * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
        * emulparams/elf32ppclinux.sh: Likewise.
        * emulparams/elf32ppclinux.sh: Likewise.
        * emulparams/elf32ppcsim.sh: Likewise.
        * emulparams/elf32ppcsim.sh: Likewise.
        * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
        * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
        * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
        * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
        * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
        * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
        * emulparams/h8300self.sh: Likewise.
        * emulparams/h8300self.sh: Likewise.
        * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
        * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
        * emulparams/sh.sh: Comment.
        * emulparams/sh.sh: Comment.
        * emulparams/shl.sh: Source sh.sh, remove duplicates.
        * emulparams/shl.sh: Source sh.sh, remove duplicates.
        * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
        * emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
        * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
        * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.
2001-11-21  David Heine 
2001-11-21  David Heine 
            Alan Modra  
            Alan Modra  
        * ldlang.c (map_input_to_output_sections): Replace "break"
        * ldlang.c (map_input_to_output_sections): Replace "break"
        accidentally removed with 2001-08-03 change.
        accidentally removed with 2001-08-03 change.
        (lang_gc_sections_1): Likewise.
        (lang_gc_sections_1): Likewise.
2001-11-21  Alan Modra  
2001-11-21  Alan Modra  
        * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
        * ldlang.c (walk_wild_section): Move sec == NULL case out of loop.
2001-11-20  Angela Marie Thomas 
2001-11-20  Angela Marie Thomas 
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead
        of false when calling lang_size_sections.
        of false when calling lang_size_sections.
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
        * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
2001-11-15  Alan Modra  
2001-11-15  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this
        function when LDEMUL_FINISH isn't set to the same name.  Don't
        function when LDEMUL_FINISH isn't set to the same name.  Don't
        call ${LDEMUL_FINISH}.
        call ${LDEMUL_FINISH}.
        (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
        (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined.
        * emultempl/armelf.em (arm_elf_finish): Call
        * emultempl/armelf.em (arm_elf_finish): Call
        gld${EMULATION_NAME}_finish.
        gld${EMULATION_NAME}_finish.
        * emultempl/hppaelf.em (hppaelf_finish): Rename to
        * emultempl/hppaelf.em (hppaelf_finish): Rename to
        gld${EMULATION_NAME}_finish.  Call bfd_elf32_discard_info and
        gld${EMULATION_NAME}_finish.  Call bfd_elf32_discard_info and
        hppaelf_layout_sections_again if necessary.
        hppaelf_layout_sections_again if necessary.
        (need_laying_out): New var.
        (need_laying_out): New var.
        (hppaelf_layaout_sections_again): Rename to
        (hppaelf_layaout_sections_again): Rename to
        hppaelf_layout_sections_again.  Clear need_laying_out.
        hppaelf_layout_sections_again.  Clear need_laying_out.
        (PARSE_AND_LIST_OPTIONS): Format text.
        (PARSE_AND_LIST_OPTIONS): Format text.
2001-11-14  H.J. Lu  
2001-11-14  H.J. Lu  
        * emultempl/armelf.em (arm_elf_finish): Renamed from
        * emultempl/armelf.em (arm_elf_finish): Renamed from
        gld${EMULATION_NAME}_finish.
        gld${EMULATION_NAME}_finish.
        (LDEMUL_FINISH): Set to arm_elf_finish.
        (LDEMUL_FINISH): Set to arm_elf_finish.
2001-11-14  Daniel Jacobowitz  
2001-11-14  Daniel Jacobowitz  
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New.
        (struct ld_emulation_xfer_struct): Use it.
        (struct ld_emulation_xfer_struct): Use it.
2001-11-13  Ross Alexander 
2001-11-13  Ross Alexander 
        * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
        * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add
        additional symbols referenced by newer crt0.o files from HP.
        additional symbols referenced by newer crt0.o files from HP.
2001-11-12  Anthony Green  
2001-11-12  Anthony Green  
        * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
        * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol.
2001-11-12  Alfred M. Szmidt  
2001-11-12  Alfred M. Szmidt  
        * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
        * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-11-02  Stephane Carrez  
2001-11-02  Stephane Carrez  
        * ld.texinfo: Use @command for commands, @option for options.
        * ld.texinfo: Use @command for commands, @option for options.
        * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
        * Makefile.am (POD2MAN): Use 'GNU Development Tools' for
        the page man title.
        the page man title.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2001-11-04  Chris Demetriou  
2001-11-04  Chris Demetriou  
        * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
        * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
        Add support for targets.
        Add support for targets.
2001-11-02  Nick Clifton  
2001-11-02  Nick Clifton  
        * configure.in (ALL_LINGUAS): Add "fr" and "sv"
        * configure.in (ALL_LINGUAS): Add "fr" and "sv"
        * configure: Regernate.
        * configure: Regernate.
        * po/fr.po: New file.
        * po/fr.po: New file.
        * po/sv.po: New file.
        * po/sv.po: New file.
2001-11-01  NIIBE Yutaka  
2001-11-01  NIIBE Yutaka  
        * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
        * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls
        as little endian default and to support big endian.
        as little endian default and to support big endian.
2001-11-01  Chris Demetriou  
2001-11-01  Chris Demetriou  
        * ld.texinfo (Options): Document new option, -nostdlib.
        * ld.texinfo (Options): Document new option, -nostdlib.
        * lexsup.c (OPTION_NOSTDLIB): New definition.
        * lexsup.c (OPTION_NOSTDLIB): New definition.
        (ld_options): Add entry for "nostdlib".
        (ld_options): Add entry for "nostdlib".
        (parse_args): Handle OPTIONS_NOSTDLIB.
        (parse_args): Handle OPTIONS_NOSTDLIB.
        * ldfile.c (ldfile_add_library_path): Don't add directories
        * ldfile.c (ldfile_add_library_path): Don't add directories
        to the search path if they weren't specified on the command line
        to the search path if they weren't specified on the command line
        and -nostdlib was specified.
        and -nostdlib was specified.
        * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
        * ld.h (ld_config_type): New member only_cmd_line_lib_dirs.
2001-10-31  Nick Clifton  
2001-10-31  Nick Clifton  
        * lexsup.c (parse_args): Prevent infinite parsing loop when
        * lexsup.c (parse_args): Prevent infinite parsing loop when
        "-rpath.a" is specified on the command line.
        "-rpath.a" is specified on the command line.
        Replace calls to fprintf with calls to einfo.
        Replace calls to fprintf with calls to einfo.
2001-10-31  John Marshall  
2001-10-31  John Marshall  
        * ld.texinfo: A historical requirement that MEMORY and SECTIONS
        * ld.texinfo: A historical requirement that MEMORY and SECTIONS
        appear only once across all the linker scripts involved in a link
        appear only once across all the linker scripts involved in a link
        invocation no longer applies.  Make the documentation reflect
        invocation no longer applies.  Make the documentation reflect
        that.
        that.
2001-10-31  NIIBE Yutaka  
2001-10-31  NIIBE Yutaka  
        * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
        * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
        targets.
        targets.
        (sh-*-linux*): Added targ_extra_libpath.
        (sh-*-linux*): Added targ_extra_libpath.
2001-10-31  David Heine  
2001-10-31  David Heine  
        * ldlang.c (lang_size_sections): Keep a valid output_offset field
        * ldlang.c (lang_size_sections): Keep a valid output_offset field
        for padding statements.
        for padding statements.
2001-10-30  Hans-Peter Nilsson  
2001-10-30  Hans-Peter Nilsson  
        * configure.tgt (mmix-*-*): New target.
        * configure.tgt (mmix-*-*): New target.
        * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o.
        Add dependencies to match.
        Add dependencies to match.
        * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
        * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em,
        emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
        emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em,
        scripttempl/mmo.sc: New files.
        scripttempl/mmo.sc: New files.
        * gen-doc.texi: @set MMIX.
        * gen-doc.texi: @set MMIX.
        * ld.texinfo: Ditto.
        * ld.texinfo: Ditto.
        [MMIX] Add MMIX node.
        [MMIX] Add MMIX node.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-10-29  Kazu Hirata  
2001-10-29  Kazu Hirata  
        * ldlang.c: Fix a comment typo.
        * ldlang.c: Fix a comment typo.
2001-10-23  Alan Modra  
2001-10-23  Alan Modra  
        * configure.host: Move alpha*-*-linux-gnu* entry to generic
        * configure.host: Move alpha*-*-linux-gnu* entry to generic
        entries, and match *-*-linux*.
        entries, and match *-*-linux*.
2001-10-20  Alan Modra  
2001-10-20  Alan Modra  
        * ldgram.y (mri_script_command): Surround processing of INCLUDE
        * ldgram.y (mri_script_command): Surround processing of INCLUDE
        with ldlex_script, ldlex_popstate.
        with ldlex_script, ldlex_popstate.
        (ifile_p1): Likewise.
        (ifile_p1): Likewise.
        * ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
        * ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
        correct slot.
        correct slot.
        (lex_push_file): Save current lineno to lineno_stack.  Set lineno
        (lex_push_file): Save current lineno to lineno_stack.  Set lineno
        to 1.  Don't BEGIN(SCRIPT).
        to 1.  Don't BEGIN(SCRIPT).
        (lex_redirect): Similarly.
        (lex_redirect): Similarly.
        * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
        * ldmain.c (main): Set yydebug non-zero if YYDEBUG.
2001-10-20  Nick Clifton  
2001-10-20  Nick Clifton  
        * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
        * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and
        __EH_FRAME_END__ and accept eh frames into data section.
        __EH_FRAME_END__ and accept eh frames into data section.
        Add ctor and dtor sections.
        Add ctor and dtor sections.
2001-10-19  Danny Smith  
2001-10-19  Danny Smith  
        * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
        * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
        (auto-export): Fix indentation.
        (auto-export): Fix indentation.
2001-10-18  Danny Smith  
2001-10-18  Danny Smith  
        * pe-dll.c (autofilter_objectlist): Add startup objects
        * pe-dll.c (autofilter_objectlist): Add startup objects
        for profiling.
        for profiling.
        (auto-export): Constify char * p.
        (auto-export): Constify char * p.
        Extract file basename and use strcmp rather than ststr
        Extract file basename and use strcmp rather than ststr
        for object lookup.
        for object lookup.
2001-10-18  Chris Demetriou  
2001-10-18  Chris Demetriou  
        * ldmain.c (get_emulation): Improve comment about the handling
        * ldmain.c (get_emulation): Improve comment about the handling
        of -mipsN options.
        of -mipsN options.
2001-10-17  Alan Modra  
2001-10-17  Alan Modra  
        * po/POTFILES.in: Regenerate.
        * po/POTFILES.in: Regenerate.
2001-10-16  Vassili Karpov  
2001-10-16  Vassili Karpov  
        * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
        * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
        -z nocopyreloc and -z nocombreloc usage strings.
        -z nocopyreloc and -z nocombreloc usage strings.
2001-10-12  Vassili Karpov  
2001-10-12  Vassili Karpov  
        * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
        * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc
        in usage.
        in usage.
2001-10-11  Aleksey Romanov 
2001-10-11  Aleksey Romanov 
        * scripttempl/armaout.sc: Place .bss section after end of aligned
        * scripttempl/armaout.sc: Place .bss section after end of aligned
        data section to match behaviour of aout code in constructrion of
        data section to match behaviour of aout code in constructrion of
        header.
        header.
2001-10-11  Danny Smith  
2001-10-11  Danny Smith  
        * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
        * pe-dll.c (autofilter_entry_type autofilter_liblist: Add
        startup files for mingw32 dlls to list.
        startup files for mingw32 dlls to list.
2001-10-10  Chris Demetriou  
2001-10-10  Chris Demetriou  
        * emultempl/elf32.em: Fix shell 'if' usage for portability.
        * emultempl/elf32.em: Fix shell 'if' usage for portability.
2001-10-08  Aldy Hernandez  
2001-10-08  Aldy Hernandez  
        * configure.tgt (targ): Add arm9e-*-elf.
        * configure.tgt (targ): Add arm9e-*-elf.
2001-10-05  H.J. Lu  
2001-10-05  H.J. Lu  
        * genscripts.sh: Fix a typo in the last change.
        * genscripts.sh: Fix a typo in the last change.
2001-10-05  Jakub Jelinek  
2001-10-05  Jakub Jelinek  
        * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
        * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and
        -z nocombreloc in usage.
        -z nocombreloc in usage.
2001-10-03  Jim Blandy  
2001-10-03  Jim Blandy  
        * genscripts.sh: Include a comment at the top of each generated
        * genscripts.sh: Include a comment at the top of each generated
        script, explaining its purpose.
        script, explaining its purpose.
2001-10-03  Vassili Karpov  
2001-10-03  Vassili Karpov  
        * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
        * emultempl/elf32.em (parse_args): Handle -z nocopyreloc.
        * NEWS: Mention -z nocopyreloc.
        * NEWS: Mention -z nocopyreloc.
        * ld.texinfo (Options): Describe nocopyreloc.
        * ld.texinfo (Options): Describe nocopyreloc.
2001-10-03  Alan Modra  
2001-10-03  Alan Modra  
        * configure: Regenerate.
        * configure: Regenerate.
2001-10-02  Alan Modra  
2001-10-02  Alan Modra  
        * ldver.h (ld_program_version): Remove declaration.
        * ldver.h (ld_program_version): Remove declaration.
        * lexsup.c (parse_args): Move printing of copyright message..
        * lexsup.c (parse_args): Move printing of copyright message..
        * ldver.c (ldversion): .. to here.
        * ldver.c (ldversion): .. to here.
        Use BFD_VERSION_STRING in place of BFD_VERSION.
        Use BFD_VERSION_STRING in place of BFD_VERSION.
        (ld_program_version): Remove.
        (ld_program_version): Remove.
        * Makefile.am (Makefile): Depend on bfd/configure.in.
        * Makefile.am (Makefile): Depend on bfd/configure.in.
        Run "make dep-am".
        Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-09-30  Hans-Peter Nilsson  
2001-09-30  Hans-Peter Nilsson  
        * Makefile.am: Update dependencies with "make dep-am".
        * Makefile.am: Update dependencies with "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-09-29  John Reiser  
2001-09-29  John Reiser  
        * ldlang.c (lang_common): Conditionally inhibit Common allocation.
        * ldlang.c (lang_common): Conditionally inhibit Common allocation.
        * lexsup.c: Add --no-define-common commandline option.
        * lexsup.c: Add --no-define-common commandline option.
        * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
        * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command.
        * ldlex.l: Likewise.
        * ldlex.l: Likewise.
        * ld.h: Add command_line.inhibit_common_definition.
        * ld.h: Add command_line.inhibit_common_definition.
        * ldmain.c (main): Initialize.
        * ldmain.c (main): Initialize.
        * ld.texinfo: Document.
        * ld.texinfo: Document.
2001-09-29  Alan Modra  
2001-09-29  Alan Modra  
        * ldlang.c (section_already_linked): Remove assignment to kept_section.
        * ldlang.c (section_already_linked): Remove assignment to kept_section.
2001-09-26  Alan Modra  
2001-09-26  Alan Modra  
        * ldmisc.c (USE_STDARG): Remove.
        * ldmisc.c (USE_STDARG): Remove.
        (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
        (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE.
        (einfo): Likewise.
        (einfo): Likewise.
        (minfo): Likewise.
        (minfo): Likewise.
        (lfinfo): Likewise.
        (lfinfo): Likewise.
        * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
        * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi
        declarations.  Update copyright.
        declarations.  Update copyright.
2001-09-24  Charles Wilson  
2001-09-24  Charles Wilson  
        * pe-dll.c: Remove obsoleted declaration of
        * pe-dll.c: Remove obsoleted declaration of
        pe_get_data_import_dll_name.
        pe_get_data_import_dll_name.
        (pe_create_import_fixup): Fix thinko.
        (pe_create_import_fixup): Fix thinko.
        * ld.texinfo(enable-auto-import): Clarify the explanation.
        * ld.texinfo(enable-auto-import): Clarify the explanation.
2001-09-24  Nick Clifton  
2001-09-24  Nick Clifton  
        * pe-dll.c (pe_create_import_fixup): Revert previous patch.
        * pe-dll.c (pe_create_import_fixup): Revert previous patch.
        * emultemp/pe.em (pe_data_import_dll): Move definition outside of
        * emultemp/pe.em (pe_data_import_dll): Move definition outside of
        DLL_SUPPORT controlled code.
        DLL_SUPPORT controlled code.
2001-09-24  Charles Wilson  
2001-09-24  Charles Wilson  
        * emultempl/pe.em(pe_data_import_dll): Make static.
        * emultempl/pe.em(pe_data_import_dll): Make static.
        (pe_get_data_import_dll_name): New accessor function.
        (pe_get_data_import_dll_name): New accessor function.
        * pe-dll.c(pe_create_import_fixup): call
        * pe-dll.c(pe_create_import_fixup): call
        pe_get_data_import_dll_name() from pe.em, instead of
        pe_get_data_import_dll_name() from pe.em, instead of
        directly accessing pe_data_import_dll variable from pe.em.
        directly accessing pe_data_import_dll variable from pe.em.
2001-09-18  Bruno Haible  
2001-09-18  Bruno Haible  
        * deffilep.y: Include "safe-ctype.h" instead of .
        * deffilep.y: Include "safe-ctype.h" instead of .
        (def_file_add_directive): Use ISSPACE instead of isspace.
        (def_file_add_directive): Use ISSPACE instead of isspace.
        (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
        (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of
        isdigit/isxdigit/isalpha/isalnum.
        isdigit/isxdigit/isalpha/isalnum.
        * emultempl/aix.em: Include "safe-ctype.h" instead of .
        * emultempl/aix.em: Include "safe-ctype.h" instead of .
        (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
        (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace.
        * emultempl/elf32.em: Include "safe-ctype.h" instead of .
        * emultempl/elf32.em: Include "safe-ctype.h" instead of .
        (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
        (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of
        isalnum.
        isalnum.
        * emultempl/gld960c.em: Include "safe-ctype.h" instead of .
        * emultempl/gld960c.em: Include "safe-ctype.h" instead of .
        (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
        (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of
        isupper/tolower.
        isupper/tolower.
        * emultempl/sunos.em: Include "safe-ctype.h" instead of .
        * emultempl/sunos.em: Include "safe-ctype.h" instead of .
        (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
        (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit.
        * ldctor.c: Include "safe-ctype.h" instead of .
        * ldctor.c: Include "safe-ctype.h" instead of .
        (ctor_prio): Use ISDIGIT instead of isdigit.
        (ctor_prio): Use ISDIGIT instead of isdigit.
        * ldfile.c: Include "safe-ctype.h" instead of .
        * ldfile.c: Include "safe-ctype.h" instead of .
        (ldfile_open_file_search): Use ISALPHA instead of isalpha.
        (ldfile_open_file_search): Use ISALPHA instead of isalpha.
        (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
        (ldfile_add_arch): Use ISUPPER/TOLOWER instead of
        isupper/tolower.
        isupper/tolower.
        * ldlang.c: Include "safe-ctype.h" instead of .
        * ldlang.c: Include "safe-ctype.h" instead of .
        (stricpy): Use TOLOWER instead of isupper/tolower.
        (stricpy): Use TOLOWER instead of isupper/tolower.
        (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
        (lang_leave_overlay_section): Use ISALNUM instead of isalnum.
        * ldlex.l: Include "safe-ctype.h" instead of .
        * ldlex.l: Include "safe-ctype.h" instead of .
        (lex_warn_invalid): Use ISPRINT instead of isprint.
        (lex_warn_invalid): Use ISPRINT instead of isprint.
        * ldmain.c: Include "safe-ctype.h" instead of .
        * ldmain.c: Include "safe-ctype.h" instead of .
        (main): For gettext, also set the LC_CTYPE locate facet.
        (main): For gettext, also set the LC_CTYPE locate facet.
        (add_keepsyms_file): Use ISSPACE instead of isspace.
        (add_keepsyms_file): Use ISSPACE instead of isspace.
        * lexsup.c: Include "safe-ctype.h" instead of .
        * lexsup.c: Include "safe-ctype.h" instead of .
        (is_num, parse_args): Use ISDIGIT instead of isdigit.
        (is_num, parse_args): Use ISDIGIT instead of isdigit.
        * mpw-elfmips.c: Include "safe-ctype.h" instead of .
        * mpw-elfmips.c: Include "safe-ctype.h" instead of .
        (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
        (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum.
        * mpw-eppcmac.c: Include "safe-ctype.h" instead of .
        * mpw-eppcmac.c: Include "safe-ctype.h" instead of .
        (gldppcmacos_read_file): Use ISSPACE instead of isspace.
        (gldppcmacos_read_file): Use ISSPACE instead of isspace.
        * pe-dll.c: Include "safe-ctype.h" instead of .
        * pe-dll.c: Include "safe-ctype.h" instead of .
        (quoteput): Use ISSPACE instead of isspace.
        (quoteput): Use ISSPACE instead of isspace.
        (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
        (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM
        instead of isalnum.
        instead of isalnum.
2001-09-18  Alan Modra  
2001-09-18  Alan Modra  
        * deffilep.y (def_stash_module): Constify "name" param.
        * deffilep.y (def_stash_module): Constify "name" param.
        * pe-dll.c: Replace CONST with const throughout.
        * pe-dll.c: Replace CONST with const throughout.
        (quick_symbol): Constify "n1", "n2", "n3" params.
        (quick_symbol): Constify "n1", "n2", "n3" params.
        (make_singleton_name_thunk): Constify "import" param.  Make
        (make_singleton_name_thunk): Constify "import" param.  Make
        "buffer_len" a size_t.
        "buffer_len" a size_t.
        (make_import_fixup_entry): Constify "name", "fixup_name",
        (make_import_fixup_entry): Constify "name", "fixup_name",
        "dll_symname" params.
        "dll_symname" params.
        (pe_get16): Cast args of bfd_seek.  Replace bfd_read with bfd_bread.
        (pe_get16): Cast args of bfd_seek.  Replace bfd_read with bfd_bread.
        (pe_get32): Likewise.
        (pe_get32): Likewise.
        (pe_implied_import_dll): Likewise.
        (pe_implied_import_dll): Likewise.
        * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
        * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
        (sort_by_section_name): Likewise.
        (sort_by_section_name): Likewise.
        * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
        * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
        (make_import_fixup): Cast printf arg, rel->address to long rather
        (make_import_fixup): Cast printf arg, rel->address to long rather
        than int.
        than int.
        (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
        (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2001-09-15  Alan Modra  
2001-09-15  Alan Modra  
        * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
        * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
        defines BufferSize.  Increase buffer size by one.
        defines BufferSize.  Increase buffer size by one.
2001-09-14  Ralf Habacker 
2001-09-14  Ralf Habacker 
        * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
        * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak.
2001-09-14  Kevin Lo 
2001-09-14  Kevin Lo 
        * configure.tgt: Add arm-openbsd target.
        * configure.tgt: Add arm-openbsd target.
2001-09-12  H.J. Lu  
2001-09-12  H.J. Lu  
        * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
        * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
        eelf64lppc.o to ...
        eelf64lppc.o to ...
        (ALL_64_EMULATIONS): Here.
        (ALL_64_EMULATIONS): Here.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2001-09-12  Paul Sokolovsky  
2001-09-12  Paul Sokolovsky  
        * emultempl/pe.em(make_import_fixup): change signature to
        * emultempl/pe.em(make_import_fixup): change signature to
        take asection as well as arelec; we need this for proper
        take asection as well as arelec; we need this for proper
        error reporting.  Only call pe_create_import_fixup() if
        error reporting.  Only call pe_create_import_fixup() if
        there is no attempt to add a constant addend to the reloc;
        there is no attempt to add a constant addend to the reloc;
        otherwise, report error condition.
        otherwise, report error condition.
        * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
        * pe-dll.c(pe_walk_relocs_of_symbol): change signature,
        since final argument is a pointer to make_import_fixup().
        since final argument is a pointer to make_import_fixup().
        Change call to cb() to match make_import_fixup() signature.
        Change call to cb() to match make_import_fixup() signature.
        (make_import_fixup_mark): make buffer_len unsigned.
        (make_import_fixup_mark): make buffer_len unsigned.
        * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
        * pe-dll.h: change signature of pe_walk_relocs_of_symbol.
2001-09-12  Charles Wilson  
2001-09-12  Charles Wilson  
        * ld.texinfo: add verbose documentation for auto-import
        * ld.texinfo: add verbose documentation for auto-import
        direct-addressing workaround, to compliment the terse
        direct-addressing workaround, to compliment the terse
        error message.
        error message.
2001-09-12  Andrew MacLeod  
2001-09-12  Andrew MacLeod  
        * scripttempl/v850.sc: Add gcc_except_table sections.
        * scripttempl/v850.sc: Add gcc_except_table sections.
2001-09-11  Jeffrey A Law  (law@cygnus.com)
2001-09-11  Jeffrey A Law  (law@cygnus.com)
        * emulparams/h8300helf.sh: Move stack to a much higher memory address.
        * emulparams/h8300helf.sh: Move stack to a much higher memory address.
        * emulparams/h8300self.sh: Similarly.
        * emulparams/h8300self.sh: Similarly.
2001-09-05 Danny Smith 
2001-09-05 Danny Smith 
        * ld.texinfo (Options, --stack): Correct default value for stack
        * ld.texinfo (Options, --stack): Correct default value for stack
        reserve.
        reserve.
2001-09-05  Tom Rix 
2001-09-05  Tom Rix 
        * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
        * emultempl/aix.em : Handle import file XMC_XO and syscall symbols.
2001-09-03  Andreas Jaeger  
2001-09-03  Andreas Jaeger  
        * emultempl/beos.em: Declare prototypes for comparions functions,
        * emultempl/beos.em: Declare prototypes for comparions functions,
        adjust definitions.
        adjust definitions.
2001-09-02  Andreas Jaeger  
2001-09-02  Andreas Jaeger  
        * emultempl/aix.em: Add missing prototype.
        * emultempl/aix.em: Add missing prototype.
        * emultempl/lnk960.em: Likewise.
        * emultempl/lnk960.em: Likewise.
        * emultempl/vanilla.em: Likewise.
        * emultempl/vanilla.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/gld960c.em: Likewise.
        * emultempl/gld960c.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emultempl/gld960.em: Likewise.
        * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
        * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter
        for prototype declaration.
        for prototype declaration.
2001-08-31  Eric Christopher  
2001-08-31  Eric Christopher  
            Jason Eckhardt  
            Jason Eckhardt  
        * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
        * ldmain.c (get_emulation): Add support for -mips32 and -mips64.
2001-08-31  Andreas Jaeger  
2001-08-31  Andreas Jaeger  
        * emultempl/pe.em: Add missing prototypes.
        * emultempl/pe.em: Add missing prototypes.
        (gld_${EMULATION_NAME}_after_open): Remove extra args to
        (gld_${EMULATION_NAME}_after_open): Remove extra args to
        pe_find_data_imports.
        pe_find_data_imports.
        (pr_sym): Add unused attribute.
        (pr_sym): Add unused attribute.
2001-08-29  Joel Sherrill 
2001-08-29  Joel Sherrill 
        * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
        * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change
        default from coff to elf.
        default from coff to elf.
2001-08-29  Jeff Law 
2001-08-29  Jeff Law 
        * emulparams/h8300helf.sh: Resync with h8300elf.sh.  Update
        * emulparams/h8300helf.sh: Resync with h8300elf.sh.  Update
        ARCH specification.
        ARCH specification.
        * emulparams/h8300self.sh: Similarly.
        * emulparams/h8300self.sh: Similarly.
2001-08-28  J"orn Rennecke 
2001-08-28  J"orn Rennecke 
        * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
        * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and
        eh8300self.o .
        eh8300self.o .
        (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
        (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets.
        * configure.tgt (h8300-*-elf*): New case.
        * configure.tgt (h8300-*-elf*): New case.
        * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
        * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files.
        * emulparams/h8300self.sh: New file.
        * emulparams/h8300self.sh: New file.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
2001-08-28  Nick Clifton  
2001-08-28  Nick Clifton  
        * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
        * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
        with macro name.
        with macro name.
2001-08-27  Linus Nordberg  
2001-08-27  Linus Nordberg  
            Alan Modra  
            Alan Modra  
        * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o.
        (eelf64ppc.c, eelf64lppc.c): Add make targets.
        (eelf64ppc.c, eelf64lppc.c): Add make targets.
        Run "make dep-am"
        Run "make dep-am"
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add powerpc64 support.  Move pdp11, pjl, pj
        * configure.tgt: Add powerpc64 support.  Move pdp11, pjl, pj
        entries to correct alphabetical position.
        entries to correct alphabetical position.
        * emulparams/elf64ppc.sh: New.
        * emulparams/elf64ppc.sh: New.
        * emulparams/elf64lppc.sh: New.
        * emulparams/elf64lppc.sh: New.
2001-08-27  Nick Clifton  
2001-08-27  Nick Clifton  
        * ldmain.c (main): Declare BSIZE as static.
        * ldmain.c (main): Declare BSIZE as static.
2001-08-23  Jakub Jelinek  
2001-08-23  Jakub Jelinek  
        * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
        * emultempl/elf32.em (place_orphan): Place orphan .rel* sections
        into .rel.dyn resp. .rela.dyn if combreloc.
        into .rel.dyn resp. .rela.dyn if combreloc.
        (get_script): If .x linker script is equal to .xn, only put it
        (get_script): If .x linker script is equal to .xn, only put it
        once into the binary.
        once into the binary.
        Add .xc and .xsc scripts.
        Add .xc and .xsc scripts.
        (parse_args): Handle -z combreloc and -z nocombreloc.
        (parse_args): Handle -z combreloc and -z nocombreloc.
        * scripttempl/elf.sc (.rela.sbss): Fix a typo.
        * scripttempl/elf.sc (.rela.sbss): Fix a typo.
        For .xc and .xsc scripts put all .rel* or .rela* input sections
        For .xc and .xsc scripts put all .rel* or .rela* input sections
        but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
        but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
        * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
        * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
        is elf.
        is elf.
        Strip trailing whitespace from script.
        Strip trailing whitespace from script.
        Generate .xc and .xsc scripts if requested.
        Generate .xc and .xsc scripts if requested.
        * ldmain.c (main): Initialize link_info.combreloc and
        * ldmain.c (main): Initialize link_info.combreloc and
        link_info.spare_dynamic_tags.
        link_info.spare_dynamic_tags.
        * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
        * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
        (ld_options): Add --spare-dynamic-tags option.
        (ld_options): Add --spare-dynamic-tags option.
        (parse_args): Likewise.
        (parse_args): Likewise.
        * ld.texinfo: Document -z combreloc and -z nocombreloc.
        * ld.texinfo: Document -z combreloc and -z nocombreloc.
        * ldint.texinfo: Document .xc and .xsc linker scripts.
        * ldint.texinfo: Document .xc and .xsc linker scripts.
        * NEWS: Add notes about -z combreloc and SHF_MERGE.
        * NEWS: Add notes about -z combreloc and SHF_MERGE.
2001-08-22  H.J. Lu  
2001-08-22  H.J. Lu  
        * emulparams/elf32fr30.sh: Add a newline.
        * emulparams/elf32fr30.sh: Add a newline.
2001-08-21  Andreas Jaeger  
2001-08-21  Andreas Jaeger  
        * deffilep.y: Add missing prototypes.
        * deffilep.y: Add missing prototypes.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
2001-08-20  Alan Modra  
2001-08-20  Alan Modra  
        * ldlang.c (insert_pad): Fix typos in last patch.
        * ldlang.c (insert_pad): Fix typos in last patch.
        * ldlang.c: When traversing lang_statement_union_type lists,
        * ldlang.c: When traversing lang_statement_union_type lists,
        consistently use "header.next" rather than "next".
        consistently use "header.next" rather than "next".
        * mpw-eppcmac.c: Likewise.
        * mpw-eppcmac.c: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/hppaelf.em: Likewise.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
        * ldlang.h (union lang_statement_union): Remove "next" field.
        * ldlang.h (union lang_statement_union): Remove "next" field.
        * ldlang.c (insert_pad): Use offsetof macro.
        * ldlang.c (insert_pad): Use offsetof macro.
        (lang_size_sections): Always neuter padding statements.
        (lang_size_sections): Always neuter padding statements.
        * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
        * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete.
        * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
        * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param
        passed to lang_size_sections.
        passed to lang_size_sections.
        (pe_exe_fill_sections): Likewise.
        (pe_exe_fill_sections): Likewise.
        * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
        * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em.
        (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
        (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em.
2001-08-18  Alan Modra  
2001-08-18  Alan Modra  
        * emultempl/aix.em: Formatting fixes.
        * emultempl/aix.em: Formatting fixes.
2001-08-18  Alan Modra  
2001-08-18  Alan Modra  
        * ldlang.c (insert_pad): Make use of an existing pad statement if
        * ldlang.c (insert_pad): Make use of an existing pad statement if
        available.  Move code calculating alignment, adjusting section
        available.  Move code calculating alignment, adjusting section
        alignment power, and adjusting dot to ..
        alignment power, and adjusting dot to ..
        (size_input_section): .. here.  Remove unused relax param.
        (size_input_section): .. here.  Remove unused relax param.
        (lang_size_sections): Change boolean `relax' param to boolean *.
        (lang_size_sections): Change boolean `relax' param to boolean *.
        Adjust call to size_input_section.  Make use of insert_pad to
        Adjust call to size_input_section.  Make use of insert_pad to
        place pad after the assignment statement.  If relaxing, zap
        place pad after the assignment statement.  If relaxing, zap
        padding statements.
        padding statements.
        (reset_memory_regions): Reset output_bfd section sizes too.
        (reset_memory_regions): Reset output_bfd section sizes too.
        (relax_again): Move to..
        (relax_again): Move to..
        (lang_process): ..here.  Adjust call to lang_size_sections, and
        (lang_process): ..here.  Adjust call to lang_size_sections, and
        remove duplicated code.
        remove duplicated code.
        * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
        * ldlang.h (lang_size_sections): Change `relax' param to boolean *.
2001-08-17  Alan Modra  
2001-08-17  Alan Modra  
        * ld.texinfo: Document that fill values now use the four least
        * ld.texinfo: Document that fill values now use the four least
        significant bytes.
        significant bytes.
        * emulparams/elf32fr30.sh (NOP): Update.
        * emulparams/elf32fr30.sh (NOP): Update.
        * emulparams/elf32mcore.sh: Likewise.
        * emulparams/elf32mcore.sh: Likewise.
        * emulparams/elf64_s390.sh: Likewise.
        * emulparams/elf64_s390.sh: Likewise.
        * emulparams/elf_i386.sh: Likewise.
        * emulparams/elf_i386.sh: Likewise.
        * emulparams/elf_i386_be.sh: Likewise.
        * emulparams/elf_i386_be.sh: Likewise.
        * emulparams/elf_i386_chaos.sh: Likewise.
        * emulparams/elf_i386_chaos.sh: Likewise.
        * emulparams/elf_i386_ldso.sh: Likewise.
        * emulparams/elf_i386_ldso.sh: Likewise.
        * emulparams/elf_s390.sh: Likewise.
        * emulparams/elf_s390.sh: Likewise.
        * emulparams/elf_x86_64.sh: Likewise.
        * emulparams/elf_x86_64.sh: Likewise.
        * emulparams/i386moss.sh: Likewise.
        * emulparams/i386moss.sh: Likewise.
        * emulparams/i386nw.sh: Likewise.
        * emulparams/i386nw.sh: Likewise.
        * emulparams/m68kelf.sh: Likewise.
        * emulparams/m68kelf.sh: Likewise.
        * scripttempl/elf.sc: Update NOP comment.
        * scripttempl/elf.sc: Update NOP comment.
        * scripttempl/elfi370.sc: Likewise.
        * scripttempl/elfi370.sc: Likewise.
        * scripttempl/elfm68hc11.sc: Likewise.
        * scripttempl/elfm68hc11.sc: Likewise.
        * scripttempl/elfm68hc12.sc: Likewise.
        * scripttempl/elfm68hc12.sc: Likewise.
        * scripttempl/nw.sc: Likewise.
        * scripttempl/nw.sc: Likewise.
2001-08-15  Tom Rix 
2001-08-15  Tom Rix 
        * ldgram.y (saved_script_handle): Initialize to NULL.
        * ldgram.y (saved_script_handle): Initialize to NULL.
        * ldmain.c (main): Change check on saved_script_handle.
        * ldmain.c (main): Change check on saved_script_handle.
2001-08-14  Alan Modra  
2001-08-14  Alan Modra  
        * emultempl/elf32.em: Formatting fixes.
        * emultempl/elf32.em: Formatting fixes.
        (output_prev_sec_find): Test for bfd_ind_section too;  do so by
        (output_prev_sec_find): Test for bfd_ind_section too;  do so by
        looking at sec->owner.
        looking at sec->owner.
        (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
        (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
        (gld${EMULATION_NAME}_place_orphan): Add a few comments.  Remove
        (gld${EMULATION_NAME}_place_orphan): Add a few comments.  Remove
        unused code, and reorganize orphan section placement code.
        unused code, and reorganize orphan section placement code.
        * ldlang.c (wild_doit): Rename to lang_add_section.
        * ldlang.c (wild_doit): Rename to lang_add_section.
        * ldlang.h: Here too.
        * ldlang.h: Here too.
        * mpw-elfmips.c: And here.
        * mpw-elfmips.c: And here.
        * emultempl/beos.em: And here.
        * emultempl/beos.em: And here.
        * emultempl/elf32.em: And here.
        * emultempl/elf32.em: And here.
        * emultempl/hppaelf.em: And here.
        * emultempl/hppaelf.em: And here.
        * emultempl/pe.em: And here.
        * emultempl/pe.em: And here.
2001-08-13  Richard Henderson  
2001-08-13  Richard Henderson  
        * emultempl/needrelax.em: New file.
        * emultempl/needrelax.em: New file.
        * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
        * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
        * Makefile.am (eelf64_ia64.c): Depend on it.
        * Makefile.am (eelf64_ia64.c): Depend on it.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2001-08-13  Alan Modra  
2001-08-13  Alan Modra  
        * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
        * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
        output_section is set non-NULL.
        output_section is set non-NULL.
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
        `true' for SEC_EXCLUDE sections so that the generic code doesn't
        `true' for SEC_EXCLUDE sections so that the generic code doesn't
        needlessly create an output_section_statement.  Treat a correctly
        needlessly create an output_section_statement.  Treat a correctly
        named output_section_statement with NULL bfd_section as compatible.
        named output_section_statement with NULL bfd_section as compatible.
2001-08-13  Hans-Peter Nilsson  
2001-08-13  Hans-Peter Nilsson  
        * emultempl/generic.em: Support EXTRA_EM_FILE.
        * emultempl/generic.em: Support EXTRA_EM_FILE.
        (ld_${EMULATION_NAME}_emulation): Support emulation parameters
        (ld_${EMULATION_NAME}_emulation): Support emulation parameters
        LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
        LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
        LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
        LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
        LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
        LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
        LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
        LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
        LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
        LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
        LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
        LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
        LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
        LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
        LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
        LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
        LDEMUL_FIND_POTENTIAL_LIBRARIES.
        LDEMUL_FIND_POTENTIAL_LIBRARIES.
2001-08-12  Richard Henderson  
2001-08-12  Richard Henderson  
        * scripttempl/elf.sc, scripttempl/elfd30v.sc,
        * scripttempl/elf.sc, scripttempl/elfd30v.sc,
        scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
        scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
        scripttempl/v850.sc: Keep .jcr data.
        scripttempl/v850.sc: Keep .jcr data.
2001-08-12  H.J. Lu  
2001-08-12  H.J. Lu  
            Andrew Haley  
            Andrew Haley  
            Nick Clifton  
            Nick Clifton  
        * ldgram.y (had_script): Change name to saved_script_handle.
        * ldgram.y (had_script): Change name to saved_script_handle.
        Change type to file handle.
        Change type to file handle.
        * ld.h (had_script): Rename and retype.
        * ld.h (had_script): Rename and retype.
        * ldfile.c (ldfile_open_command_file): Save the file handle
        * ldfile.c (ldfile_open_command_file): Save the file handle
        used in saved_script_handle.
        used in saved_script_handle.
        * lexsup.c (parse_args): Do not allow -c option to alter
        * lexsup.c (parse_args): Do not allow -c option to alter
        saved_script_handle.
        saved_script_handle.
        * ldmain.c (main): Print out the linker script used if
        * ldmain.c (main): Print out the linker script used if
        --verbose is given.  Check saved_script_handle to obtain the
        --verbose is given.  Check saved_script_handle to obtain the
        external linker script used, or if NULL, dump the builtin
        external linker script used, or if NULL, dump the builtin
        script.
        script.
        * ld.texinfo: Document that --verbose now dumps the linker
        * ld.texinfo: Document that --verbose now dumps the linker
        script used, regardless of whether it was an internal or an
        script used, regardless of whether it was an internal or an
        external script.
        external script.
2001-08-10  Andreas Jaeger  
2001-08-10  Andreas Jaeger  
        * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
        * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
        to build warnings.
        to build warnings.
        * configure: Regenerate.
        * configure: Regenerate.
2001-08-09  Alan Modra  
2001-08-09  Alan Modra  
        * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
        * emultempl/elf32.em (output_prev_sec_find): Add missing prototype.
        * scripttempl/elf.sc: Move non-text .dynamic section before
        * scripttempl/elf.sc: Move non-text .dynamic section before
        .plt/.got/.sdata* group.
        .plt/.got/.sdata* group.
        (OTHER_GOT_SECTIONS): Move to immediately after .got.
        (OTHER_GOT_SECTIONS): Move to immediately after .got.
        (OTHER_SDATA_SECTIONS): Add.
        (OTHER_SDATA_SECTIONS): Add.
        * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
        * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than
        OTHER_GOT_SECTIONS.
        OTHER_GOT_SECTIONS.
        * emulparams/crislinux.sh: Likewise.
        * emulparams/crislinux.sh: Likewise.
        * emulparams/elf32b4300.sh: Likewise.
        * emulparams/elf32b4300.sh: Likewise.
        * emulparams/elf32bmip.sh: Likewise.
        * emulparams/elf32bmip.sh: Likewise.
        * emulparams/elf32bmipn32.sh: Likewise.
        * emulparams/elf32bmipn32.sh: Likewise.
        * emulparams/elf32bsmip.sh: Likewise.
        * emulparams/elf32bsmip.sh: Likewise.
        * emulparams/elf32btsmip.sh: Likewise.
        * emulparams/elf32btsmip.sh: Likewise.
        * emulparams/elf32ebmip.sh: Likewise.
        * emulparams/elf32ebmip.sh: Likewise.
        * emulparams/elf32elmip.sh: Likewise.
        * emulparams/elf32elmip.sh: Likewise.
        * emulparams/elf32l4300.sh: Likewise.
        * emulparams/elf32l4300.sh: Likewise.
        * emulparams/elf32lmip.sh: Likewise.
        * emulparams/elf32lmip.sh: Likewise.
        * emulparams/elf32lsmip.sh: Likewise.
        * emulparams/elf32lsmip.sh: Likewise.
        * emulparams/elf32ltsmip.sh: Likewise.
        * emulparams/elf32ltsmip.sh: Likewise.
        * emulparams/elf64bmip.sh: Likewise.
        * emulparams/elf64bmip.sh: Likewise.
        * emulparams/elf64btsmip.sh: Likewise.
        * emulparams/elf64btsmip.sh: Likewise.
        * emulparams/elf64ltsmip.sh: Likewise.
        * emulparams/elf64ltsmip.sh: Likewise.
2001-08-08  Alan Modra  
2001-08-08  Alan Modra  
        * genscripts.sh: Source the emulparams script before each output
        * genscripts.sh: Source the emulparams script before each output
        script is generated so that variables like `RELOCATING' may affect
        script is generated so that variables like `RELOCATING' may affect
        variables defined in the emulparams script.
        variables defined in the emulparams script.
2001-08-04  Alan Modra  
2001-08-04  Alan Modra  
        * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
        * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this
        order.
        order.
        * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
        * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change,
        ie. iterate over wild_statement.section_list.
        ie. iterate over wild_statement.section_list.
        (gld${EMULATION_NAME}_place_orphan): Likewise.
        (gld${EMULATION_NAME}_place_orphan): Likewise.
2001-08-03  Stephane Carrez  
2001-08-03  Stephane Carrez  
        * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
        * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle
        .fini[0-4] sections used by _exit
        .fini[0-4] sections used by _exit
        (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
        (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM.
        (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
        (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*.
        * scripttempl/elfm68hc11.sc: Likewise.
        * scripttempl/elfm68hc11.sc: Likewise.
2001-08-03  H.J. Lu  
2001-08-03  H.J. Lu  
        * emultempl/beos.em (init): Add the missing initialization.
        * emultempl/beos.em (init): Add the missing initialization.
2001-08-03  Alan Modra  
2001-08-03  Alan Modra  
        * ld.texinfo (Input Section Basics): Clarify ordering of output
        * ld.texinfo (Input Section Basics): Clarify ordering of output
        sections.
        sections.
        * ldlang.c (callback_t): Add wildcard_list param.
        * ldlang.c (callback_t): Add wildcard_list param.
        (walk_wild_section): Remove "section" param.  Rewrite for
        (walk_wild_section): Remove "section" param.  Rewrite for
        lang_wild_statement_type change.  Remove unique_section_p test.
        lang_wild_statement_type change.  Remove unique_section_p test.
        (walk_wild_file): Remove "section" param.
        (walk_wild_file): Remove "section" param.
        (walk_wild): Remove "section" and "file" params.
        (walk_wild): Remove "section" and "file" params.
        (lang_gc_wild): Likewise.
        (lang_gc_wild): Likewise.
        (wild): Likewise.  Modify for lang_wild_statement_type change.
        (wild): Likewise.  Modify for lang_wild_statement_type change.
        (wild_sort): Likewise.  Add "sec" param.
        (wild_sort): Likewise.  Add "sec" param.
        (gc_section_callback): Likewise.
        (gc_section_callback): Likewise.
        (output_section_callback): Likewise.  Do unique_section_p test.
        (output_section_callback): Likewise.  Do unique_section_p test.
        (map_input_to_output_sections): Modify call to wild.
        (map_input_to_output_sections): Modify call to wild.
        (lang_gc_sections_1): Likewise.
        (lang_gc_sections_1): Likewise.
        (print_wild_statement): Modify for lang_wild_statement_type
        (print_wild_statement): Modify for lang_wild_statement_type
        change.
        change.
        (lang_add_wild): Replace filename, filenames_sorted param with
        (lang_add_wild): Replace filename, filenames_sorted param with
        filespec.  Replace section_name, sections_sorted,
        filespec.  Replace section_name, sections_sorted,
        exclude_filename_list with section_list.
        exclude_filename_list with section_list.
        * ldlang.h (lang_add_wild): Here too.
        * ldlang.h (lang_add_wild): Here too.
        (lang_wild_statement_type): Replace section_name, sections_sorted,
        (lang_wild_statement_type): Replace section_name, sections_sorted,
        and exclude_filename_list with section_list.
        and exclude_filename_list with section_list.
        * ldgram.y (current_file): Delete.
        * ldgram.y (current_file): Delete.
        (%union): Add wildcard_list.
        (%union): Add wildcard_list.
        (file_NAME_list): Set type to wildcard_list.  Build a linked list
        (file_NAME_list): Set type to wildcard_list.  Build a linked list
        rather than calling lang_add_wild for each entry.
        rather than calling lang_add_wild for each entry.
        (input_section_spec_no_keep): Call lang_add_wild here instead.
        (input_section_spec_no_keep): Call lang_add_wild here instead.
        * ld.h (struct wildcard_list): Declare.
        * ld.h (struct wildcard_list): Declare.
        * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
        * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
2001-08-02  Charles Wilson  
2001-08-02  Charles Wilson  
        * ldmain.c (main): initialize link_info.pei386_auto_import
        * ldmain.c (main): initialize link_info.pei386_auto_import
        * pe-dll.c: new tables for auto-export filtering
        * pe-dll.c: new tables for auto-export filtering
        (auto_export): change API, pass abfd for contextual filtering.
        (auto_export): change API, pass abfd for contextual filtering.
        Loop thru tables of excluded symbols instead of comparing
        Loop thru tables of excluded symbols instead of comparing
        "by hand".
        "by hand".
2001-08-02  Paul Sokolovsky  
2001-08-02  Paul Sokolovsky  
        * pe-dll.c: new variable pe_dll_enable_extra_debug. New
        * pe-dll.c: new variable pe_dll_enable_extra_debug. New
        static variable current_sec (static struct sec *). Add
        static variable current_sec (static struct sec *). Add
        forward declaration for add_bfd_to_link.
        forward declaration for add_bfd_to_link.
        (process_def_file): Don't export undefined symbols. Do not
        (process_def_file): Don't export undefined symbols. Do not
        export symbols starting with  "_imp__".  Call auto_export()
        export symbols starting with  "_imp__".  Call auto_export()
        with new API.
        with new API.
        (pe_walk_relocs_of_symbol): New function.
        (pe_walk_relocs_of_symbol): New function.
        (generate_reloc): add optional extra debugging
        (generate_reloc): add optional extra debugging
        (pe_dll_generate_def_file): eliminate extraneous initial blank
        (pe_dll_generate_def_file): eliminate extraneous initial blank
        line in output
        line in output
        (make_one): enlarge symtab to make room for __nm__ symbols
        (make_one): enlarge symtab to make room for __nm__ symbols
        (DATA auto-import support).
        (DATA auto-import support).
        (make_singleton_name_thunk): New function.
        (make_singleton_name_thunk): New function.
        (make_import_fixup_mark): New function.
        (make_import_fixup_mark): New function.
        (make_import_fixup_entry): New function.
        (make_import_fixup_entry): New function.
        (pe_create_import_fixup): New function.
        (pe_create_import_fixup): New function.
        (add_bfd_to_link): Specify that 'name' argument is a CONST
        (add_bfd_to_link): Specify that 'name' argument is a CONST
        char *.
        char *.
        * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
        * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
        declare new functions pe_walk_relocs_of_symbol and
        declare new functions pe_walk_relocs_of_symbol and
        pe_create_import_fixup.
        pe_create_import_fixup.
        * emultempl/pe.em: add new options --enable-auto-import,
        * emultempl/pe.em: add new options --enable-auto-import,
        --disable-auto-import, and --enable-extra-pe-debug.
        --disable-auto-import, and --enable-extra-pe-debug.
        (make_import_fixup): New function.
        (make_import_fixup): New function.
        (pe_find_data_imports): New function.
        (pe_find_data_imports): New function.
        (pr_sym): New function.
        (pr_sym): New function.
        (gld_${EMULATION_NAME}_after_open): Add optional extra pe
        (gld_${EMULATION_NAME}_after_open): Add optional extra pe
        debugging. Call pe_find_data_imports.  Mark .idata as DATA, not
        debugging. Call pe_find_data_imports.  Mark .idata as DATA, not
        CODE.
        CODE.
2001-08-02  Charles Wilson  
2001-08-02  Charles Wilson  
        * ld.texinfo: add additional documentation for
        * ld.texinfo: add additional documentation for
        --export-all-symbols.  Document --out-implib,
        --export-all-symbols.  Document --out-implib,
        --enable-auto-image-base, --disable-auto-image-base,
        --enable-auto-image-base, --disable-auto-image-base,
        --dll-search-prefix, --enable-auto-import, and
        --dll-search-prefix, --enable-auto-import, and
        --disable-auto-import.
        --disable-auto-import.
        * ldint.texinfo: Add detailed documentation on auto-import
        * ldint.texinfo: Add detailed documentation on auto-import
        implementation.
        implementation.
2001-07-30  Nick Clifton  
2001-07-30  Nick Clifton  
        * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
        * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
        example.
        example.
2001-07-24  Alan Modra  
2001-07-24  Alan Modra  
        * Makefile.am: Update dependencies with "make dep-am".
        * Makefile.am: Update dependencies with "make dep-am".
        * Makefile.in: Regenerate
        * Makefile.in: Regenerate
2001-07-23  Alan Modra  
2001-07-23  Alan Modra  
        * ldcref.c (check_section_sym_xref): New function.
        * ldcref.c (check_section_sym_xref): New function.
        (check_nocrossrefs): Call it.
        (check_nocrossrefs): Call it.
        (check_nocrossref): Interate over h->refs here instead of..
        (check_nocrossref): Interate over h->refs here instead of..
        (check_refs): ..here.  Pass in the symbol name, section, and bfd
        (check_refs): ..here.  Pass in the symbol name, section, and bfd
        rather than hash_entry pointers.
        rather than hash_entry pointers.
        (struct check_refs_info): Keep symbol name rather than hash entry.
        (struct check_refs_info): Keep symbol name rather than hash entry.
        Remove "same".
        Remove "same".
        (check_reloc_refs): Tweak for above changes in check_refs_info.
        (check_reloc_refs): Tweak for above changes in check_refs_info.
        Only report references to section syms when symname is NULL to
        Only report references to section syms when symname is NULL to
        prevent duplicate messages for the same reloc.
        prevent duplicate messages for the same reloc.
2001-07-19  Nick Clifton  
2001-07-19  Nick Clifton  
        * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
        * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
        available.  Do not print NULL trees.
        available.  Do not print NULL trees.
        (exp_print_token): Print unknown tokens with values > 126 as
        (exp_print_token): Print unknown tokens with values > 126 as
        decimal values not ASCII characters.
        decimal values not ASCII characters.
        * ldlang.c (lang_leave_overlay): If a region is specified assign
        * ldlang.c (lang_leave_overlay): If a region is specified assign
        it to all sections inside the overlay unless they have been
        it to all sections inside the overlay unless they have been
        assigned to the own, non-default, memory region.
        assigned to the own, non-default, memory region.
        * README: Add header for consistency with other README files.
        * README: Add header for consistency with other README files.
2001-07-14  H.J. Lu  
2001-07-14  H.J. Lu  
        * emultempl/elf32.em (output_prev_sec_find): Never return
        * emultempl/elf32.em (output_prev_sec_find): Never return
        bfd_abs_section_ptr, bfd_com_section_ptr nor
        bfd_abs_section_ptr, bfd_com_section_ptr nor
        bfd_und_section_ptr.
        bfd_und_section_ptr.
2001-07-14  Nick Clifton  
2001-07-14  Nick Clifton  
        * Makefile.am (em32relf.c): Change dependency from generic.em to
        * Makefile.am (em32relf.c): Change dependency from generic.em to
        elf32.em.
        elf32.em.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-07-14  matthew green  
2001-07-14  matthew green  
        * configure.tgt (i386-*-netbsdelf*): New target.
        * configure.tgt (i386-*-netbsdelf*): New target.
        (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
        (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
2001-07-13  Jakub Jelinek  
2001-07-13  Jakub Jelinek  
        * emultempl/elf32.em (output_prev_sec_find): New.
        * emultempl/elf32.em (output_prev_sec_find): New.
        (place_orphan): Use it.
        (place_orphan): Use it.
2001-07-11  H.J. Lu  
2001-07-11  H.J. Lu  
        * ldmain.c (main): Fix typos in the last change.
        * ldmain.c (main): Fix typos in the last change.
2001-07-11  Jakub Jelinek  
2001-07-11  Jakub Jelinek  
        * ldmain.c (main): Disallow -F and -f without -shared.
        * ldmain.c (main): Disallow -F and -f without -shared.
2001-07-11  Nick Clifton  
2001-07-11  Nick Clifton  
        * emultempl/pe.em (after_open): Check for the output_bfd not
        * emultempl/pe.em (after_open): Check for the output_bfd not
        having any coff_data structure allocated to it.
        having any coff_data structure allocated to it.
2001-07-09  David O'Brien  
2001-07-09  David O'Brien  
        * emultempl/elf32.em: Do not assuming that contents of the buffer
        * emultempl/elf32.em: Do not assuming that contents of the buffer
        returned from basename function will remain unchanged accross other
        returned from basename function will remain unchanged accross other
        function calls.
        function calls.
2001-07-03  H.J. Lu  
2001-07-03  H.J. Lu  
        * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
        * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
        2001-07-03. It creates dynamic entries even for static binaries.
        2001-07-03. It creates dynamic entries even for static binaries.
2001-07-03  Jakub Jelinek  
2001-07-03  Jakub Jelinek  
        * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
        * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
        (DYNAMIC): Use it to reserve few dynamic entries for
        (DYNAMIC): Use it to reserve few dynamic entries for
        post-linking tools.
        post-linking tools.
2001-06-27  Alan Modra  
2001-06-27  Alan Modra  
        * emulparams/hppa64linux.sh: New file.
        * emulparams/hppa64linux.sh: New file.
        * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
        * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
        * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
        * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
        (ehppa64linux.c): Add rule to make it.
        (ehppa64linux.c): Add rule to make it.
        Run "make dep-am".
        Run "make dep-am".
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-06-21  Hans-Peter Nilsson  
2001-06-21  Hans-Peter Nilsson  
        * ld.texinfo (Options, -r): Mention restrictions when using
        * ld.texinfo (Options, -r): Mention restrictions when using
        different object formats.
        different object formats.
2001-06-19  Hans-Peter Nilsson  
2001-06-19  Hans-Peter Nilsson  
        * ldlang.c (lang_check): Emit fatal error if relocatable link
        * ldlang.c (lang_check): Emit fatal error if relocatable link
        between different object flavours with relocations in input.
        between different object flavours with relocations in input.
2001-06-19  H.J. Lu  
2001-06-19  H.J. Lu  
        * ld.texinfo (-E, --export-dynamic): Mention --version-script.
        * ld.texinfo (-E, --export-dynamic): Mention --version-script.
        (--version-script): Mention the language support.
        (--version-script): Mention the language support.
2001-06-19  H.J. Lu 
2001-06-19  H.J. Lu 
        * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
        * ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2001-06-18  H.J. Lu 
2001-06-18  H.J. Lu 
        * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
        * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
        (diststuff): Add $(MANS).
        (diststuff): Add $(MANS).
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * ld.1: Removed.
        * ld.1: Removed.
2001-06-18  Hans-Peter Nilsson  
2001-06-18  Hans-Peter Nilsson  
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
        Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
        Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
        * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
        * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
        * ld.h (args_type): Remove member export_dynamic.  All users
        * ld.h (args_type): Remove member export_dynamic.  All users
        changed to use struct bfd_link_info member.
        changed to use struct bfd_link_info member.
        * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
        * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
        $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
        $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-06-18  H.J. Lu  
2001-06-18  H.J. Lu  
        * ldlang.c (init_os): Add the newline to the einfo call.
        * ldlang.c (init_os): Add the newline to the einfo call.
        (lang_check): Likewise.
        (lang_check): Likewise.
        (lang_do_version_exports_section): Likewise.
        (lang_do_version_exports_section): Likewise.
2001-06-15  H.J. Lu  
2001-06-15  H.J. Lu  
        * lexsup.c (parse_args); Save optind to report unrecognized
        * lexsup.c (parse_args); Save optind to report unrecognized
        option.
        option.
2001-06-15  Hans-Peter Nilsson  
2001-06-15  Hans-Peter Nilsson  
        * ldlang.c (lang_check): Emit fatal error if relocatable link
        * ldlang.c (lang_check): Emit fatal error if relocatable link
        between different object flavours.
        between different object flavours.
        * lexsup.c (parse_args) :
        * lexsup.c (parse_args) :
        Set new link_info member export_dynamic.
        Set new link_info member export_dynamic.
        * ldmain.c (main): Initialize new link_info member export_dynamic.
        * ldmain.c (main): Initialize new link_info member export_dynamic.
2001-06-12  Nick Clifton  
2001-06-12  Nick Clifton  
        * ldlang.c (walk_wild): Only call walk_wild_file if
        * ldlang.c (walk_wild): Only call walk_wild_file if
        lookup_name returns something.
        lookup_name returns something.
        (lookup_name): If load_symbols fails, return NULL.
        (lookup_name): If load_symbols fails, return NULL.
        (load_symbols): Change to a boolean function.
        (load_symbols): Change to a boolean function.
        (open_input_bfds): If load_symbols fails then do not make the
        (open_input_bfds): If load_symbols fails then do not make the
        executable.
        executable.
2001-06-08  Alan Modra  
2001-06-08  Alan Modra  
        * ldlang.c (record_bfd_errors): Remove.
        * ldlang.c (record_bfd_errors): Remove.
        * emultempl/aix.em: Fix copyright dates.
        * emultempl/aix.em: Fix copyright dates.
2001-06-07  Andreas Jaeger  
2001-06-07  Andreas Jaeger  
        * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
        * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.
        (TEXT_START_ADDR): Likewise.
        (TEXT_START_ADDR): Likewise.
2001-06-06  Martin Schwidefsky 
2001-06-06  Martin Schwidefsky 
        * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
        * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
2001-06-05  Danny Smith  
2001-06-05  Danny Smith  
        * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
        * emultempl/pe.em (init): Reduce default stack reserve to 0x200000.
2001-05-31  H.J. Lu  
2001-05-31  H.J. Lu  
        * ldlang.c (open_input_bfds): Don't change the bfd error
        * ldlang.c (open_input_bfds): Don't change the bfd error
        handler whilst loading symbols.
        handler whilst loading symbols.
2001-05-28  Nick Clifton  
2001-05-28  Nick Clifton  
        * configure.tgt: Remove i370-mvs architecture, it is not currently
        * configure.tgt: Remove i370-mvs architecture, it is not currently
        supported.
        supported.
2001-05-25  H.J. Lu  
2001-05-25  H.J. Lu  
        * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
        * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
        like emulparams/aixppc.sh.
        like emulparams/aixppc.sh.
2001-05-25  H.J. Lu  
2001-05-25  H.J. Lu  
        * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
        * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
        setting of output_filename after bfd_scan_arch.
        setting of output_filename after bfd_scan_arch.
        * emultempl/pe.em: Likewise.
        * emultempl/pe.em: Likewise.
2001-05-25  H.J. Lu  
2001-05-25  H.J. Lu  
        * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
        * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
        like emulparams/aixppc.sh.
        like emulparams/aixppc.sh.
        * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
        * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
        instead of ${srcdir}/emultempl/stringify.sed.
        instead of ${srcdir}/emultempl/stringify.sed.
2001-05-25  Timothy Wall  
2001-05-25  Timothy Wall  
        * emulparams/elf64_aix.sh: Change settings to match IBM linker
        * emulparams/elf64_aix.sh: Change settings to match IBM linker
        output.
        output.
2001-05-25  Alan Modra  
2001-05-25  Alan Modra  
        * configure.host: Replace linuxoldld with linux*oldld.
        * configure.host: Replace linuxoldld with linux*oldld.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
2001-05-24  H.J. Lu  
2001-05-24  H.J. Lu  
        * emultempl/stringify.sed: Removed again.
        * emultempl/stringify.sed: Removed again.
2001-05-24  H.J. Lu  
2001-05-24  H.J. Lu  
        * emultempl/aix.em (OUTPUT_ARCH): Defined.
        * emultempl/aix.em (OUTPUT_ARCH): Defined.
        (gld${EMULATION_NAME}_before_parse): Initialize
        (gld${EMULATION_NAME}_before_parse): Initialize
        ldfile_output_architecture, ldfile_output_machine and
        ldfile_output_architecture, ldfile_output_machine and
        ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
        ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
        * emultempl/beos.em: Likewise.
        * emultempl/beos.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/elf32.em: Likewise.
        * emultempl/linux.em: Likewise.
        * emultempl/linux.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.
2001-05-24 Tom Rix 
2001-05-24 Tom Rix 
        * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
        * emultempl/aix.em : (gld${EMULATION_NAME}_read_file)
        udate import file format.
        udate import file format.
        (change_symbol_mode) New, same
        (change_symbol_mode) New, same
        (is_syscall) New, same
        (is_syscall) New, same
        * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
        * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK
        * emulparams/aixppc64.sh : same
        * emulparams/aixppc64.sh : same
        * emulparams/aixrs6.sh : same
        * emulparams/aixrs6.sh : same
        * emulparams/ppcmacos.sh : same
        * emulparams/ppcmacos.sh : same
        * emultempl/aix.em : use strtoull to parse options
        * emultempl/aix.em : use strtoull to parse options
        * Makefile.am : add eaixppc64 emulation for xcoff64
        * Makefile.am : add eaixppc64 emulation for xcoff64
        * Makefile.in : same
        * Makefile.in : same
        * configure.tgt : same
        * configure.tgt : same
        * scripttempl/aix.sc : default text section offset to 0x10000000
        * scripttempl/aix.sc : default text section offset to 0x10000000
        default data section offset to 0x20000000
        default data section offset to 0x20000000
        add .sv3264 and .sv64 pseudo sections
        add .sv3264 and .sv64 pseudo sections
        loader and debug sections use the currect section offset.
        loader and debug sections use the currect section offset.
        * emultempl/aix.em : Add xcoff64 support
        * emultempl/aix.em : Add xcoff64 support
        Add -binitfini support
        Add -binitfini support
        (gld${EMULATION_NAME}_before_parse) -binitfini
        (gld${EMULATION_NAME}_before_parse) -binitfini
        (gld${EMULATION_NAME}_parse_args) same
        (gld${EMULATION_NAME}_parse_args) same
        (gld${EMULATION_NAME}_before_allocation) format change for special
        (gld${EMULATION_NAME}_before_allocation) format change for special
        sections
        sections
        * emulparams/aixppc64.sh : New file for xcoff64 support
        * emulparams/aixppc64.sh : New file for xcoff64 support
2001-05-23  Alexandre Oliva  
2001-05-23  Alexandre Oliva  
        * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
        * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
        variable to avoid non-portable shell construct.
        variable to avoid non-portable shell construct.
2001-05-23  Thiemo Seufer 
2001-05-23  Thiemo Seufer 
        * ldmain.c (get_emulation): Add -mips5 command line argument.
        * ldmain.c (get_emulation): Add -mips5 command line argument.
2001-05-22  Alexandre Oliva  
2001-05-22  Alexandre Oliva  
        * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
        * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh.
        (ELF_INTERPRETER_NAME): Define it.
        (ELF_INTERPRETER_NAME): Define it.
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use
        it.
        it.
        * configure.tgt (targ_emul, targ_extra_emuls)
        * configure.tgt (targ_emul, targ_extra_emuls)
        [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
        [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso
        as primary, elf_i386 as extra.
        as primary, elf_i386 as extra.
        * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
        * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o.
        (eelf_i386_ldso.c): New rule.
        (eelf_i386_ldso.c): New rule.
        * Makefile.in: Rebuilt.
        * Makefile.in: Rebuilt.
2001-05-22  Nick Clifton  
2001-05-22  Nick Clifton  
        * lexsup.c (ld_options): Allow -I to be an alias for
        * lexsup.c (ld_options): Allow -I to be an alias for
        --dynamic-linker.  This is for Solaris compatability.
        --dynamic-linker.  This is for Solaris compatability.
        * ld.texinfo: Document that -I can be used.
        * ld.texinfo: Document that -I can be used.
        * ld.1: Regenerate.
        * ld.1: Regenerate.
2001-05-16  Alan Modra  
2001-05-16  Alan Modra  
        * ldlang.c (wild_doit): Use linker_has_input to reliably determine
        * ldlang.c (wild_doit): Use linker_has_input to reliably determine
        whether an input section is the first one assigned to an output
        whether an input section is the first one assigned to an output
        section.
        section.
        Assorted formatting fixes.
        Assorted formatting fixes.
2001-05-14  DJ Delorie  
2001-05-14  DJ Delorie  
        * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
        * Makefile.am (ld.dvi): Search bfd/doc for texinfo files.
        * Makefile.in: Ditto.
        * Makefile.in: Ditto.
2001-05-11  Jakub Jelinek  
2001-05-11  Jakub Jelinek  
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
        .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
        .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
        output sections.
        output sections.
        * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
        * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11  Jakub Jelinek  
2001-05-11  Jakub Jelinek  
        * ldlang.c (lang_process): Call bfd_merge_sections.
        * ldlang.c (lang_process): Call bfd_merge_sections.
2001-05-07  Thiemo Seufer 
2001-05-07  Thiemo Seufer 
        * ldgram.y: Fix typo.
        * ldgram.y: Fix typo.
2001-05-03  H.J. Lu  
2001-05-03  H.J. Lu  
        * emultempl/elf32.em: Include "libiberty.h".
        * emultempl/elf32.em: Include "libiberty.h".
        (gld${EMULATION_NAME}_vercheck): Call basename () to get the
        (gld${EMULATION_NAME}_vercheck): Call basename () to get the
        basename of the bfd filename.
        basename of the bfd filename.
        (gld${EMULATION_NAME}_stat_needed): Likewise.
        (gld${EMULATION_NAME}_stat_needed): Likewise.
        (gld${EMULATION_NAME}_try_needed): Likewise.
        (gld${EMULATION_NAME}_try_needed): Likewise.
        (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
        (gld${EMULATION_NAME}_open_dynamic_archive): Likewise.
2001-05-02  H.J. Lu  
2001-05-02  H.J. Lu  
        * emultempl/pe.em: Include .
        * emultempl/pe.em: Include .
2001-05-02  Johan Rydberg  
2001-05-02  Johan Rydberg  
        * emulparams/elf32openrisc.sh: New file.
        * emulparams/elf32openrisc.sh: New file.
        * Makefile.am: Add OpenRISC target.
        * Makefile.am: Add OpenRISC target.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * configure.tgt: Add openrisc-*-* mapping.
        * configure.tgt: Add openrisc-*-* mapping.
2001-05-02  Nick Clifton  
2001-05-02  Nick Clifton  
        * emultempl/aix.em: Replace buystring with xstrdup.
        * emultempl/aix.em: Replace buystring with xstrdup.
        * emultempl/beos.em: Replace buystring with xstrdup.
        * emultempl/beos.em: Replace buystring with xstrdup.
2001-05-02  H.J. Lu  
2001-05-02  H.J. Lu  
        * ldfile.c: Include "libiberty.h".
        * ldfile.c: Include "libiberty.h".
        * ldlex.l: Likewise.
        * ldlex.l: Likewise.
        * ldmisc.c (buystring): Removed.
        * ldmisc.c (buystring): Removed.
        * ldmisc.h: Likewise.
        * ldmisc.h: Likewise.
        * ldfile.c: Replace buystring with xstrdup.
        * ldfile.c: Replace buystring with xstrdup.
        * ldlang.c: Likewise.
        * ldlang.c: Likewise.
        * ldlex.l: Likewise.
        * ldlex.l: Likewise.
        * ldmain.c: Likewise.
        * ldmain.c: Likewise.
        * ldmisc.c: Likewise.
        * ldmisc.c: Likewise.
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * mpw-eppcmac.c: Likewise.
        * mpw-eppcmac.c: Likewise.
2001-04-30  Andreas Jaeger  
2001-04-30  Andreas Jaeger  
        * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
        * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value.
2001-04-28  Paul Sokolovsky  
2001-04-28  Paul Sokolovsky  
        * ldlang.c (load_symbols): Give emulation a chance
        * ldlang.c (load_symbols): Give emulation a chance
        to process unrecognized file before fatal error is
        to process unrecognized file before fatal error is
        reported, not after.
        reported, not after.
2001-04-27  Sean McNeil 
2001-04-27  Sean McNeil 
        * configure.tgt: Add arm-vxworks target.
        * configure.tgt: Add arm-vxworks target.
        * scripttempl/armcoff.sc: Support .text or .data as a section name
        * scripttempl/armcoff.sc: Support .text or .data as a section name
        prefix.
        prefix.
        Define _etext.
        Define _etext.
2001-04-13  J.T. Conklin  
2001-04-13  J.T. Conklin  
        * ld.texinfo: Document --fatal-warnings.
        * ld.texinfo: Document --fatal-warnings.
        * ld.1: Regenerate.
        * ld.1: Regenerate.
        * ldmisc.c (vfinfo): Set flag to inhibit making executable if
        * ldmisc.c (vfinfo): Set flag to inhibit making executable if
        warnings have been turned into errors.
        warnings have been turned into errors.
        * lexsup.c (OPTION_WARN_FATAL): Define.
        * lexsup.c (OPTION_WARN_FATAL): Define.
        (ld_options): Entry for --fatal-warnings.
        (ld_options): Entry for --fatal-warnings.
        (parse_args): Handle OPTION_WARN_FATAL.
        (parse_args): Handle OPTION_WARN_FATAL.
        * ld.h (ld_config_type): Add fatal_warnings field.
        * ld.h (ld_config_type): Add fatal_warnings field.
2001-04-13  Jakub Jelinek  
2001-04-13  Jakub Jelinek  
        * ldmain.c (main): Default to discard_sec_merge.
        * ldmain.c (main): Default to discard_sec_merge.
        * lexsup.c (OPTION_DISCARD_NONE): Define.
        * lexsup.c (OPTION_DISCARD_NONE): Define.
        (ld_options): Add --discard-none.
        (ld_options): Add --discard-none.
        (parse_args): Handle OPTION_DISCARD_NONE.
        (parse_args): Handle OPTION_DISCARD_NONE.
        * ldlang.c (wild_doit): SEC_MERGE should be set in the output
        * ldlang.c (wild_doit): SEC_MERGE should be set in the output
        section only if SEC_MERGE and SEC_STRINGS flags and entsize of
        section only if SEC_MERGE and SEC_STRINGS flags and entsize of
        all its input sections match.
        all its input sections match.
2001-04-05  Steven J. Hill  
2001-04-05  Steven J. Hill  
        * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o.
        (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
        (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o.
        (eelf32ltsmip.c): New target.
        (eelf32ltsmip.c): New target.
        (eelf64btsmip.c): Likewise.
        (eelf64btsmip.c): Likewise.
        (eelf64ltsmip.c): Likewise.
        (eelf64ltsmip.c): Likewise.
        * Makefile.in: Regenerated.
        * Makefile.in: Regenerated.
        * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
        * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS
        target.
        target.
        (mips*-*-linux-gnu*): Likewise.
        (mips*-*-linux-gnu*): Likewise.
        * emulparams/elf32ltsmip.sh: New. Traditional little endian
        * emulparams/elf32ltsmip.sh: New. Traditional little endian
        MIPS taget.
        MIPS taget.
        * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
        * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian
        target.
        target.
        * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
        * emulparams/elf64ltsmip.sh: New. Traditional 64bit little
        endian target.
        endian target.
2001-04-05  Hans-Peter Nilsson  
2001-04-05  Hans-Peter Nilsson  
        * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
        * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide
        correct value of __Stext here.
        correct value of __Stext here.
        (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
        (TEXT_START_SYMBOLS): Define; always define __Stext, to start of
        .startup section.
        .startup section.
        * emulparams/crislinux.sh: Remove FIXME.
        * emulparams/crislinux.sh: Remove FIXME.
2001-04-02  Alan Modra  
2001-04-02  Alan Modra  
        * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
        * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k.
        (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
        (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise.
2001-03-27  Hans-Peter Nilsson  
2001-03-27  Hans-Peter Nilsson  
        * configure.tgt (cris-*-*): Change default emulation to criself.
        * configure.tgt (cris-*-*): Change default emulation to criself.
        (cris-*-*aout*): New rule.
        (cris-*-*aout*): New rule.
2001-03-27  Matthew Wilcox  
2001-03-27  Matthew Wilcox  
        * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
        * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000.
        (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
        (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
2001-03-26  Andreas Jaeger  
2001-03-26  Andreas Jaeger  
        * ld.texinfo (Overview): Fix syntax in texi code.
        * ld.texinfo (Overview): Fix syntax in texi code.
2001-03-25  Stephane Carrez  
2001-03-25  Stephane Carrez  
        * ld.texinfo: Put @c man indications to generate the ld man page.
        * ld.texinfo: Put @c man indications to generate the ld man page.
        When generating man, define all the variables.  Define SEEALSO
        When generating man, define all the variables.  Define SEEALSO
        and SYNOPSIS.  Re-organize some lines to avoid the cross references.
        and SYNOPSIS.  Re-organize some lines to avoid the cross references.
        * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
        * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables.
        (ld.1): Generate from ld.texinfo.
        (ld.1): Generate from ld.texinfo.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-03-23  Mark Elbrecht 
2001-03-23  Mark Elbrecht 
        * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
        * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections'
        and '-fdata-sections'. Set the VMA of STABS sections to zero.
        and '-fdata-sections'. Set the VMA of STABS sections to zero.
2001-03-17  Ulrich Drepper  
2001-03-17  Ulrich Drepper  
        * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
        * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
        is an absolute path look only for this file and not along the path.
        is an absolute path look only for this file and not along the path.
2001-03-17  Ulrich Drepper  
2001-03-17  Ulrich Drepper  
        * emultempl/elf32.em (OPTION_GROUP): New macro.
        * emultempl/elf32.em (OPTION_GROUP): New macro.
        Add new option Bgroup to longopts.
        Add new option Bgroup to longopts.
        (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
        (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
        (gld*_list_options): Add -Bgroup and -z defs.
        (gld*_list_options): Add -Bgroup and -z defs.
        * ld.1: Document -Bgroup and -z defs.
        * ld.1: Document -Bgroup and -z defs.
        * ld.texinfo: Likewise.
        * ld.texinfo: Likewise.
2001-03-07  Michael Meissner  
2001-03-07  Michael Meissner  
        * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
        * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal
        with sections created by -fdata-sections.
        with sections created by -fdata-sections.
        (.dynbss,.bss): Ditto.
        (.dynbss,.bss): Ditto.
2001-03-05  Alan Modra  
2001-03-05  Alan Modra  
        * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
        * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
        after_allocation_default, not gld..._before_allocation.
        after_allocation_default, not gld..._before_allocation.
2001-02-27  Alan Modra  
2001-02-27  Alan Modra  
        * configure.in (BFD_VERSION): New.
        * configure.in (BFD_VERSION): New.
        (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
        (AM_INIT_AUTOMAKE): Use $BFD_VERSION.
        * configure: Regenerate.
        * configure: Regenerate.
        * Makefile.am: Run "make dep-am"
        * Makefile.am: Run "make dep-am"
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-02-26  Timothy Wall  
2001-02-26  Timothy Wall  
        * emulparams/elf64_aix.sh: Add additional read-only sections;
        * emulparams/elf64_aix.sh: Add additional read-only sections;
        uncomment lines which are now required.
        uncomment lines which are now required.
2001-02-26  H.J. Lu  
2001-02-26  H.J. Lu  
        * ldlang.c (open_input_bfds): Set the bfd error handler so
        * ldlang.c (open_input_bfds): Set the bfd error handler so
        that problems can be caught whilst loading symbols.
        that problems can be caught whilst loading symbols.
        (record_bfd_errors): New function: Report BFD errors and mark
        (record_bfd_errors): New function: Report BFD errors and mark
        the executable output as being invalid.
        the executable output as being invalid.
2001-02-22  Timothy Wall  
2001-02-22  Timothy Wall  
        * configure.host: Add configuration for ia64-*-aix*.
        * configure.host: Add configuration for ia64-*-aix*.
        * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
        * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*.
        Add dependencies for eelf64_aix.c.
        Add dependencies for eelf64_aix.c.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add ia64-*-aix* mapping.
        * configure.tgt: Add ia64-*-aix* mapping.
        * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
        * emulparams/elf64_aix.sh: Add settings for elf64 on aix5.
2001-02-20  H.J. Lu  
2001-02-20  H.J. Lu  
        * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
        * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to
        false if we found the file.
        false if we found the file.
2001-02-18  David O'Brien  
2001-02-18  David O'Brien  
        * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
        * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64,
        FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
        FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries.
2001-02-18  lars brinkhoff  
2001-02-18  lars brinkhoff  
        * Makefile.am: Add PDP-11 target.
        * Makefile.am: Add PDP-11 target.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * emulparams/pdp11.sh: New file.
        * emulparams/pdp11.sh: New file.
2001-02-17  David O'Brien  
2001-02-17  David O'Brien  
        * configure.host: Add a generic FreeBSD configuration entry such that
        * configure.host: Add a generic FreeBSD configuration entry such that
        all [modern] FreeBSD systems on all platforms will look the same.
        all [modern] FreeBSD systems on all platforms will look the same.
2001-02-14  H.J. Lu  
2001-02-14  H.J. Lu  
        * configure.tgt: Remove mention of earmelf_linux26.
        * configure.tgt: Remove mention of earmelf_linux26.
2001-02-13  Richard Henderson  
2001-02-13  Richard Henderson  
        * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
        * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove.
2001-02-13  H.J. Lu  
2001-02-13  H.J. Lu  
        * ldexp.h (node_type): Add etree_provided.
        * ldexp.h (node_type): Add etree_provided.
        * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
        * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node
        type to etree_provided if defined by PROVIDE. Allow updating
        type to etree_provided if defined by PROVIDE. Allow updating
        for etree_provided.
        for etree_provided.
        (exp_print_tree): Handle etree_provided.
        (exp_print_tree): Handle etree_provided.
        * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
        * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle
        etree_provided.
        etree_provided.
2001-02-09  David Mosberger  
2001-02-09  David Mosberger  
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
        .IA_64.unwind.* pattern to unwind table section and
        .IA_64.unwind.* pattern to unwind table section and
        .IA_64.unwind_info* pattern to unwind info section.
        .IA_64.unwind_info* pattern to unwind info section.
2001-02-09  Martin Schwidefsky  
2001-02-09  Martin Schwidefsky  
        * Makefile.am: Add linux target for S/390.
        * Makefile.am: Add linux target for S/390.
        * Makefile.in: Likewise.
        * Makefile.in: Likewise.
        * configure.host: Likewise.
        * configure.host: Likewise.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * emulparams/elf64_s390.sh: New file.
        * emulparams/elf64_s390.sh: New file.
        * emulparams/elf_s390.sh: New file.
        * emulparams/elf_s390.sh: New file.
2001-02-09  Jakub Jelinek  
2001-02-09  Jakub Jelinek  
        * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
        * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
        targ_extra_libpath.
        targ_extra_libpath.
        (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
        (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.
2001-02-06  Philip Blundell  
2001-02-06  Philip Blundell  
        * Makefile.am: Remove mention of earmelf_linux26.
        * Makefile.am: Remove mention of earmelf_linux26.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2001-02-04  Philip Blundell  
2001-02-04  Philip Blundell  
        * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
        * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
        * emulparams/armelf_linux26.sh: Delete.
        * emulparams/armelf_linux26.sh: Delete.
        * configure.tgt: Remove mention of armelf_linux26 emulation.
        * configure.tgt: Remove mention of armelf_linux26 emulation.
2001-02-01  Nick Clifton  
2001-02-01  Nick Clifton  
        * ld.1: Replace occurances of -oformat with --oformat.
        * ld.1: Replace occurances of -oformat with --oformat.
2001-01-25  Jim Driftmyer 
2001-01-25  Jim Driftmyer 
        * ldlang.c (lang_leave_overlay): Don't set lma_region when
        * ldlang.c (lang_leave_overlay): Don't set lma_region when
        load_base is specified.
        load_base is specified.
2001-01-24  Hans-Peter Nilsson  
2001-01-24  Hans-Peter Nilsson  
        * emultempl/elf32.em: Correct spelling in comments and listed
        * emultempl/elf32.em: Correct spelling in comments and listed
        options.
        options.
2001-01-23  Alan Modra  
2001-01-23  Alan Modra  
        * ldlang.c (lang_leave_overlay): Only set lma_region from the
        * ldlang.c (lang_leave_overlay): Only set lma_region from the
        default for the first section of a group of overlay sections.
        default for the first section of a group of overlay sections.
2001-01-22  Alan Modra  
2001-01-22  Alan Modra  
        * Makefile.am (GENSCRIPTS): Pass exec_prefix.
        * Makefile.am (GENSCRIPTS): Pass exec_prefix.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * genscripts.sh: Use exec_prefix parameter to specify tool lib.
        * genscripts.sh: Use exec_prefix parameter to specify tool lib.
        Check for null tool_dir.
        Check for null tool_dir.
2001-01-16  Jim Wilson  
2001-01-16  Jim Wilson  
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
        * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind
        and IA_64.unwind.info.
        and IA_64.unwind.info.
2001-01-16  H.J. Lu  
2001-01-16  H.J. Lu  
        * ldlang.c (lang_check): Merge the private data only if the
        * ldlang.c (lang_check): Merge the private data only if the
        input file has contents.
        input file has contents.
2001-01-14  Alan Modra  
2001-01-14  Alan Modra  
        * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
        * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux.
        * emultempl/hppaelf.em (hppaelf_after_parse): New function,
        * emultempl/hppaelf.em (hppaelf_after_parse): New function,
        enabling search for libmilli.  On a relocatable link, make .text
        enabling search for libmilli.  On a relocatable link, make .text
        sections unique.
        sections unique.
        (LDEMUL_AFTER_PARSE): Define.
        (LDEMUL_AFTER_PARSE): Define.
        (hppaelf_finish): Correct spelling of relocatable in comments.
        (hppaelf_finish): Correct spelling of relocatable in comments.
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        rummage through the script for sections on the unique list.
        rummage through the script for sections on the unique list.
        Correct length of strncmp for ".note".
        Correct length of strncmp for ".note".
        (gld${EMULATION_NAME}_check_needed): Rearrange function.
        (gld${EMULATION_NAME}_check_needed): Rearrange function.
        * ldlang.c (unique_section_list): New var.
        * ldlang.c (unique_section_list): New var.
        (unique_section_p): New function.
        (unique_section_p): New function.
        (walk_wild_section): Don't match sections on unique_section_list.
        (walk_wild_section): Don't match sections on unique_section_list.
        (lang_add_unique): New function.
        (lang_add_unique): New function.
        Correct spelling of relocatable in comments.
        Correct spelling of relocatable in comments.
        * ldlang.h (struct unique_sections): Declare.
        * ldlang.h (struct unique_sections): Declare.
        (unique_section_list): Declare.
        (unique_section_list): Declare.
        (unique_section_p): Declare.
        (unique_section_p): Declare.
        (lang_add_unique): Declare.
        (lang_add_unique): Declare.
        * lexsup.c (ld_options): Allow --unique to take an optional arg.
        * lexsup.c (ld_options): Allow --unique to take an optional arg.
        (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
        (parse_args [OPTION_UNIQUE]): Call lang_add_unique.
        * ld.texinfo (--unique): Update.
        * ld.texinfo (--unique): Update.
2001-01-13  Nick Clifton  
2001-01-13  Nick Clifton  
        * lexsup.c (parse_args): Remove spurious white space.
        * lexsup.c (parse_args): Remove spurious white space.
2001-01-12  Nick Clifton  
2001-01-12  Nick Clifton  
        * lexsup.c (parse_args): Update copyright date.
        * lexsup.c (parse_args): Update copyright date.
2001-01-12  Philip Blundell  
2001-01-12  Philip Blundell  
        * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
        * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin.
2001-01-10  Kazu Hirata  
2001-01-10  Kazu Hirata  
        * scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
        * scripttempl/h8300.sc: Fix formatting.  Fix a comment typo.
        * scripttempl/h8300h.sc: Fix formatting.
        * scripttempl/h8300h.sc: Fix formatting.
        * scripttempl/h8300s.sc: Likewise.
        * scripttempl/h8300s.sc: Likewise.
        * scripttempl/h8500.sc: Likewise.
        * scripttempl/h8500.sc: Likewise.
        * scripttempl/h8500b.sc: Likewise.
        * scripttempl/h8500b.sc: Likewise.
        * scripttempl/h8500c.sc: Likewise.
        * scripttempl/h8500c.sc: Likewise.
        * scripttempl/h8500m.sc: Likewise.
        * scripttempl/h8500m.sc: Likewise.
        * scripttempl/h8500s.sc: Likewise.
        * scripttempl/h8500s.sc: Likewise.
2000-01-07  David O'Brien  
2000-01-07  David O'Brien  
        * emultempl/elf32.em: Only perform Linux ld hints processing when
        * emultempl/elf32.em: Only perform Linux ld hints processing when
        targeting Linux.
        targeting Linux.
2001-01-07  Philip Blundell  
2001-01-07  Philip Blundell  
        * ld.texinfo (Bug Reporting): Update email address for reports.
        * ld.texinfo (Bug Reporting): Update email address for reports.
2000-12-31  Nick Clifton  
2000-12-31  Nick Clifton  
        * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
        * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long
        options by checking for a return value of '?' not -1.
        options by checking for a return value of '?' not -1.
2000-12-28  Nick Clifton  
2000-12-28  Nick Clifton  
        * lexsup.c (struct ld_option): Add new enum value:
        * lexsup.c (struct ld_option): Add new enum value:
        EXACTLY_TWO_DASHES.
        EXACTLY_TWO_DASHES.
        (ld_options[]): Change -omagic, -output and -oformat options
        (ld_options[]): Change -omagic, -output and -oformat options
        to be EXACTLY_TWO_DASHES.
        to be EXACTLY_TWO_DASHES.
        (OUTPUT_COUNT): Use ARRAY_SIZE.
        (OUTPUT_COUNT): Use ARRAY_SIZE.
        (parse_args): Change parameter 'argc' to unsigned.
        (parse_args): Change parameter 'argc' to unsigned.
        Place EXACTLY_TWO_DASHES options into new really_longopts
        Place EXACTLY_TWO_DASHES options into new really_longopts
        array.
        array.
        If getopt_long_only fails, try calling getopt_long using the
        If getopt_long_only fails, try calling getopt_long using the
        really_longopts array.
        really_longopts array.
        (help): Print a double dash for both EXACTLY_TWO_DASHES and
        (help): Print a double dash for both EXACTLY_TWO_DASHES and
        TWO_DASHES options.
        TWO_DASHES options.
        * ldlex.h: Fix prototype of parse_args.
        * ldlex.h: Fix prototype of parse_args.
        * ld.texinfo: Document that long options starting with 'o'
        * ld.texinfo: Document that long options starting with 'o'
        must be preceeded by two dashes.  Change example of a single
        must be preceeded by two dashes.  Change example of a single
        dashed long option from -oformat to -trace-symbol.
        dashed long option from -oformat to -trace-symbol.
2000-12-26  Danny Smith  
2000-12-26  Danny Smith  
        * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
        * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define.
        (longopts[]): New --no-default-excludes option.
        (longopts[]): New --no-default-excludes option.
        (gld_${EMULATION_NAME}_list_options): Document.
        (gld_${EMULATION_NAME}_list_options): Document.
        (gld_${EMULATION_NAME}_parse_args): Handle.
        (gld_${EMULATION_NAME}_parse_args): Handle.
2000-12-13  Michael Sokolov  
2000-12-13  Michael Sokolov  
        * ldlang.c (new_stat): Revert the last beautification with "innocent"
        * ldlang.c (new_stat): Revert the last beautification with "innocent"
        whitespace, it breaks the K&R C preprocessor.
        whitespace, it breaks the K&R C preprocessor.
2000-12-11  DJ Delorie  
2000-12-11  DJ Delorie  
        * ld.texinfo: Add notes about --whole-archive and gcc.
        * ld.texinfo: Add notes about --whole-archive and gcc.
2000-11-18  Fred Fish  
2000-11-18  Fred Fish  
        * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
        * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define.
        (ld_options): Entry for --allow-shlib-undefined.
        (ld_options): Entry for --allow-shlib-undefined.
        (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
        (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED.
        * ldmain.c (main): Initialize link_info.allow_shlib_undefined
        * ldmain.c (main): Initialize link_info.allow_shlib_undefined
        to false.
        to false.
        * ld.texinfo: Document new command line switch.
        * ld.texinfo: Document new command line switch.
2000-12-12  Geoffrey Keating  
2000-12-12  Geoffrey Keating  
        * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
        * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS):
        .fixup is actually read/write.
        .fixup is actually read/write.
        * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
        * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise.
2000-12-11  Jan Hubicka  
2000-12-11  Jan Hubicka  
        * NEWS: Add note about x86_64 architecture.
        * NEWS: Add note about x86_64 architecture.
2000-12-06  Mark Elbrecht  
2000-12-06  Mark Elbrecht  
        * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
        * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
        Set DWARF2 sections to a VMA of zero.
        Set DWARF2 sections to a VMA of zero.
2000-12-01  Joel Sherrill  
2000-12-01  Joel Sherrill  
        * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
        * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
        New targets.
        New targets.
        (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
        (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
        (sparc*-*-rtems*): Switched from a.out to ELF.
        (sparc*-*-rtems*): Switched from a.out to ELF.
2000-11-30  Jan Hubicka  
2000-11-30  Jan Hubicka  
        * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
        * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o
        (eelf_x86_64.c): New.
        (eelf_x86_64.c): New.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add support for x86_64-*-linux-gnu*.
        * configure.tgt: Add support for x86_64-*-linux-gnu*.
        * emulparams/elf_x86_64.sh: New.
        * emulparams/elf_x86_64.sh: New.
2000-11-30  Hans-Peter Nilsson  
2000-11-30  Hans-Peter Nilsson  
        * emulparams/crislinux.sh (ENTRY): Change back to _start.
        * emulparams/crislinux.sh (ENTRY): Change back to _start.
        (TEXT_START_SYMBOLS): Remove conditional setting of __start.
        (TEXT_START_SYMBOLS): Remove conditional setting of __start.
        * scripttempl/crisaout.sc: Change all RELOCATING not related to
        * scripttempl/crisaout.sc: Change all RELOCATING not related to
        merging non-a.out sections into CONSTRUCTING.
        merging non-a.out sections into CONSTRUCTING.
2000-11-28  Nick Clifton  
2000-11-28  Nick Clifton  
        * ld.1 (COPYING): Mention that the GNU Free Documentation
        * ld.1 (COPYING): Mention that the GNU Free Documentation
        License is present in the sources, but not the output, and
        License is present in the sources, but not the output, and
        also available from the GNU website.
        also available from the GNU website.
        (GNU Free Documentation License): Comment out this section.
        (GNU Free Documentation License): Comment out this section.
2000-11-28  David O'Brien  
2000-11-28  David O'Brien  
        * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
        * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF
        does not use them.
        does not use them.
2000-11-25  David O'Brien  
2000-11-25  David O'Brien  
        * ld.1: Remove old date so it does not give the impression the manpage
        * ld.1: Remove old date so it does not give the impression the manpage
        is way out of date.
        is way out of date.
2000-11-24  Nick Clifton  
2000-11-24  Nick Clifton  
        * configure.tgt (xscale-coff): Add target.
        * configure.tgt (xscale-coff): Add target.
        (xscale-elf): Add target.
        (xscale-elf): Add target.
2000-11-24  Fred Fish  
2000-11-24  Fred Fish  
        * ldmain.c (main): Remove redundant init of config.make_executable
        * ldmain.c (main): Remove redundant init of config.make_executable
        to true.
        to true.
2000-11-15  Richard Henderson  
2000-11-15  Richard Henderson  
        * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
        * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M.
2000-11-14  Kazu Hirata  
2000-11-14  Kazu Hirata  
        * scripttempl/h8300.sc: Fix formatting.
        * scripttempl/h8300.sc: Fix formatting.
        * scripttempl/h8300h.sc: Likewise.
        * scripttempl/h8300h.sc: Likewise.
        * scripttempl/h8300s.sc: Likewise.
        * scripttempl/h8300s.sc: Likewise.
2000-11-14  Denis Chertykov  
2000-11-14  Denis Chertykov  
        * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
        * scripttempl/elf32avr.sc: Fix bug in .eeprom segment.
2000-11-09  Philip Blundell  
2000-11-09  Philip Blundell  
        * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
        * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME
        around orphan sections whose names can be represented in C.
        around orphan sections whose names can be represented in C.
2000-11-07  Jim Wilson  
2000-11-07  Jim Wilson  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local
        hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
        hold_sdata.  If SEC_SMALL_DATA set, set place to hold_sdata.
2000-11-06  Nick Clifton  
2000-11-06  Nick Clifton  
        * ld.texinfo: Add GNU Free Documentation License.
        * ld.texinfo: Add GNU Free Documentation License.
        * ldint.texinfo: Add GNU Free Documentation License.
        * ldint.texinfo: Add GNU Free Documentation License.
        * ld.1: Add GNU Free Documentation License.
        * ld.1: Add GNU Free Documentation License.
2000-11-05  Alan Modra  
2000-11-05  Alan Modra  
        * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
        * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer,
        yy_is_interactive, yy_at_bol, and yy_fill_buffer.
        yy_is_interactive, yy_at_bol, and yy_fill_buffer.
        * Makefile.am (DISTCLEANFILES): Add stringify.sed.
        * Makefile.am (DISTCLEANFILES): Add stringify.sed.
        Move 2000-11-02 Makefile.in changes to this file.
        Move 2000-11-02 Makefile.in changes to this file.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-11-03  Nick Clifton  
2000-11-03  Nick Clifton  
        * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
        * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose
        constructors and destructors.
        constructors and destructors.
        * scripttempl/h8300h.sc: Ditto.
        * scripttempl/h8300h.sc: Ditto.
        * scripttempl/h8300s.sc: Ditto.
        * scripttempl/h8300s.sc: Ditto.
        * scripttempl/h8500.sc: Ditto.
        * scripttempl/h8500.sc: Ditto.
        * scripttempl/h8500b.sc: Ditto.
        * scripttempl/h8500b.sc: Ditto.
        * scripttempl/h8500c.sc: Ditto.
        * scripttempl/h8500c.sc: Ditto.
        * scripttempl/h8500m.sc: Ditto.
        * scripttempl/h8500m.sc: Ditto.
        * scripttempl/h8500s.sc: Ditto.
        * scripttempl/h8500s.sc: Ditto.
        * scripttempl/v850.sc: Ditto.
        * scripttempl/v850.sc: Ditto.
        * scripttempl/w65.sc: Ditto.
        * scripttempl/w65.sc: Ditto.
        * scripttempl/z8000.sc: Ditto.
        * scripttempl/z8000.sc: Ditto.
2000-11-02  Per Lundberg  
2000-11-02  Per Lundberg  
        * Makefile.in (e_i386_chaos.c): New rule.
        * Makefile.in (e_i386_chaos.c): New rule.
        (ALL_EMULATIONS): Added e_i386_chaos.o.
        (ALL_EMULATIONS): Added e_i386_chaos.o.
        * emulparams/elf_i386_chaos.sh: New file.
        * emulparams/elf_i386_chaos.sh: New file.
        * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
        * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos.
2000-10-20  Jakub Jelinek  
2000-10-20  Jakub Jelinek  
        * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
        * emulparams/elf64_sparc.sh (TEXT_START_ADDR,
        NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
        NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets.
        Fix sed invocation, so that it coped with '/' in Solaris 64bit
        Fix sed invocation, so that it coped with '/' in Solaris 64bit
        library path suffix.
        library path suffix.
        Based on patch by Andrew Macleod .
        Based on patch by Andrew Macleod .
2000-10-18  Hans-Peter Nilsson  
2000-10-18  Hans-Peter Nilsson  
        * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
        * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32),
        for consecutive sections.
        for consecutive sections.
2000-10-17  Chandrakala Chavva  
2000-10-17  Chandrakala Chavva  
        * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
        * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific
        options.
        options.
        * ld.texinfo: Added notes about this new option.
        * ld.texinfo: Added notes about this new option.
2000-10-16  Nick Clifton  
2000-10-16  Nick Clifton  
        * emultempl/pe.em (_after_open): Add tests of return values from
        * emultempl/pe.em (_after_open): Add tests of return values from
        bfd functions.  Emit appropriate error messages if necessary.
        bfd functions.  Emit appropriate error messages if necessary.
2000-10-13  Nick Clifton  
2000-10-13  Nick Clifton  
        * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
        * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms'
        local variables - they are not used, but leave in the call to
        local variables - they are not used, but leave in the call to
        bfd_canonicalize_symtab.
        bfd_canonicalize_symtab.
        (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
        (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of
        pe_dll_search_prefix.
        pe_dll_search_prefix.
2000-10-12  Charles Wilson  
2000-10-12  Charles Wilson  
        * emultempl/pe.em (pe_dll_search_prefix): New variable,
        * emultempl/pe.em (pe_dll_search_prefix): New variable,
        (longopts): New --dll-search-prefix option.
        (longopts): New --dll-search-prefix option.
        (gld_${EMULATION_NAME}_list_options): Document.
        (gld_${EMULATION_NAME}_list_options): Document.
        (gld_${EMULATION_NAME}_parse_args): Handle.
        (gld_${EMULATION_NAME}_parse_args): Handle.
        (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
        (gld_${EMULATION_NAME}_open_dynamic_archive): When linking
        dynamically, search for a dll named '.dll'
        dynamically, search for a dll named '.dll'
        in preference to 'lib.dll' if --dll-search-prefix
        in preference to 'lib.dll' if --dll-search-prefix
        is specified.
        is specified.
2000-10-12  Alan Modra  
2000-10-12  Alan Modra  
        * ldlang.c (section_already_linked): Set kept_section instead of
        * ldlang.c (section_already_linked): Set kept_section instead of
        sec->comdat->sec.
        sec->comdat->sec.
2000-10-10  Kazu Hirata  
2000-10-10  Kazu Hirata  
        * deffile.h: Fix formatting.
        * deffile.h: Fix formatting.
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * mri.c: Likewise.
        * mri.c: Likewise.
2000-10-09  Paul Sokolovsky  
2000-10-09  Paul Sokolovsky  
        * pe-dll.c (make_one): Do not generate code thunk for DATA
        * pe-dll.c (make_one): Do not generate code thunk for DATA
        exports.
        exports.
        (process_def_file): deduce DATA flag for auto-export sumbols.
        (process_def_file): deduce DATA flag for auto-export sumbols.
2000-10-09  Kazu Hirata  
2000-10-09  Kazu Hirata  
        * ld.h: Fix formatting.
        * ld.h: Fix formatting.
        * ldcref.c: Likewise.
        * ldcref.c: Likewise.
        * ldctor.h: Likewise.
        * ldctor.h: Likewise.
        * ldemul.c: Likewise.
        * ldemul.c: 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.
        * ldmain.c: Likewise.
        * ldmain.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Revert some formatting fixes.
        * pe-dll.c: Revert some formatting fixes.
2000-10-08  Kazu Hirata  
2000-10-08  Kazu Hirata  
        * pe-dll.c: Fix formatting.
        * pe-dll.c: Fix formatting.
2000-10-05  Kazu Hirata  
2000-10-05  Kazu Hirata  
        * ldlang.c: Fix formatting.
        * ldlang.c: Fix formatting.
2000-10-03  DJ Delorie  
2000-10-03  DJ Delorie  
        * pe-dll.c (fill_edata): initialize entire block
        * pe-dll.c (fill_edata): initialize entire block
        (make_one): fill in correct section.
        (make_one): fill in correct section.
2000-10-03  Kazu Hirata  
2000-10-03  Kazu Hirata  
        * ldexp.c: Fix formatting.
        * ldexp.c: Fix formatting.
2000-10-02  DJ Delorie  
2000-10-02  DJ Delorie  
        * emultempl/pe.em (gld_*_after_open): detect case where there two
        * emultempl/pe.em (gld_*_after_open): detect case where there two
        import libraries for same dll; rename one to ensure proper link
        import libraries for same dll; rename one to ensure proper link
        order.
        order.
        * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
        * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix
        typo
        typo
        (generate_edata): fix typo
        (generate_edata): fix typo
2000-09-29  Hans-Peter Nilsson  
2000-09-29  Hans-Peter Nilsson  
        * scripttempl/crisaout.sc (ENTRY): Now __start.
        * scripttempl/crisaout.sc (ENTRY): Now __start.
        (.text): Add default setting for __start.
        (.text): Add default setting for __start.
        Remove CONSTRUCTORS handling.
        Remove CONSTRUCTORS handling.
        (/DISCARD/): Add .gnu.warning.*.
        (/DISCARD/): Add .gnu.warning.*.
        * emulparams/crislinux.sh (ENTRY): Now __start.
        * emulparams/crislinux.sh (ENTRY): Now __start.
        (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
        (TEXT_START_SYMBOLS): New; provide __Stext and __start default.
        * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
        * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris.
        (ENTRY): Now __start.
        (ENTRY): Now __start.
        (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
        (INITIAL_READONLY_SECTIONS): Add KEEP for .startup.
        (EXECUTABLE_SYMBOLS): Add default setting for __start.
        (EXECUTABLE_SYMBOLS): Add default setting for __start.
2000-09-29  Kazu Hirata  
2000-09-29  Kazu Hirata  
        * deffile.h: Fix formatting.
        * deffile.h: Fix formatting.
        * ld.h: Likewise.
        * ld.h: Likewise.
        * ldcref.c: Likewise.
        * ldcref.c: Likewise.
        * ldctor.c: Likewise.
        * ldctor.c: Likewise.
        * ldctor.h: Likewise.
        * ldctor.h: Likewise.
        * ldemul.c: Likewise.
        * ldemul.c: 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.
        * lexsup.c: Likewise.
        * lexsup.c: Likewise.
        * mri.c: Likewise.
        * mri.c: Likewise.
        * pe-dll.c: Likewise.
        * pe-dll.c: Likewise.
2000-09-28  Paul Sokolovsky  
2000-09-28  Paul Sokolovsky  
        * pe-dll.c (process_def_file): Uninitialized data wasn't
        * pe-dll.c (process_def_file): Uninitialized data wasn't
        exported with --export-all-symbols switch.
        exported with --export-all-symbols switch.
2000-09-28  DJ Delorie  
2000-09-28  DJ Delorie  
        * pe-dll.c (fill_edata): rearrange the data so that ordinals and
        * pe-dll.c (fill_edata): rearrange the data so that ordinals and
        noname work properly.
        noname work properly.
2000-09-28  Alan Modra  
2000-09-28  Alan Modra  
        * ld.texinfo (HPPA ELF32): New section.
        * ld.texinfo (HPPA ELF32): New section.
        * emultempl/hppaelf.em (group_size): New.
        * emultempl/hppaelf.em (group_size): New.
        (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
        (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs.
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE.
        (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size.  Duplicate
        (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size.  Duplicate
        options to prevent abbreviations matching.
        options to prevent abbreviations matching.
        (PARSE_AND_LIST_OPTIONS): Describe the above.  Reformat.
        (PARSE_AND_LIST_OPTIONS): Describe the above.  Reformat.
        (PARSE_AND_LIST_ARGS_CASES): Handle it.
        (PARSE_AND_LIST_ARGS_CASES): Handle it.
2000-09-21  Michael Sokolov  
2000-09-21  Michael Sokolov  
        * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
        * emultempl/m68kelf.em: Conditionalise the embedded relocs feature
        on the m68*-*-elf target.  Make it support COFF input objects.
        on the m68*-*-elf target.  Make it support COFF input objects.
2000-09-21  Kazu Hirata  
2000-09-21  Kazu Hirata  
        * ldmain.c: Fix formatting.
        * ldmain.c: Fix formatting.
        * ldmisc.c: Likewise.
        * ldmisc.c: Likewise.
        * ldver.c: Likewise.
        * ldver.c: Likewise.
        * ldwrite.c: Likewise.
        * ldwrite.c: Likewise.
2000-09-21  Alan Modra  
2000-09-21  Alan Modra  
        * ldwrite.c (clone_section): Silence gcc warnings.
        * ldwrite.c (clone_section): Silence gcc warnings.
2000-09-20  Alan Modra  
2000-09-20  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle
        out of memory failure.
        out of memory failure.
        * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
        * ldwrite.c (ldwrite): Remove unnecessary einfo arg.
        (clone_section): Handle out of memory failures.  Rename var to
        (clone_section): Handle out of memory failures.  Rename var to
        avoid c++ reserved word.
        avoid c++ reserved word.
2000-09-18  Alan Modra  
2000-09-18  Alan Modra  
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename
        stub_name param to stub_sec_name.
        stub_name param to stub_sec_name.
        (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
        (hppaelf_finish): Modify call to elf32_hppa_size_stubs.
2000-09-10  Michael Sokolov  
2000-09-10  Michael Sokolov  
        * emultempl/m68kelf.em: New file.
        * emultempl/m68kelf.em: New file.
        * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
        * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it.
        * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
        * Makefile.am (em68kelf.c): Add dependency on m68kelf.em.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-09-15  Alan Modra  
2000-09-15  Alan Modra  
        * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
        * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$
        only as needed.
        only as needed.
2000-09-13  Nick Clifton  
2000-09-13  Nick Clifton  
        * ldmain.c (multiple_definition): Disable relaxation if
        * ldmain.c (multiple_definition): Disable relaxation if
        multiple symbol definitions are encountered - otherwise the
        multiple symbol definitions are encountered - otherwise the
        linker could abort with an assertion failure.
        linker could abort with an assertion failure.
2000-09-10  Nick Clifton  
2000-09-10  Nick Clifton  
        * mri.c: Fix formatting.
        * mri.c: Fix formatting.
2000-09-07  H.J. Lu  
2000-09-07  H.J. Lu  
        * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
        * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
        * configure: Rebuild.
        * configure: Rebuild.
2000-09-07  H.J. Lu  
2000-09-07  H.J. Lu  
        * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
        * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-09-07  Alan Modra  
2000-09-07  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix
        broken list handling.  Create __start_SECNAME and __stop_SECNAME
        broken list handling.  Create __start_SECNAME and __stop_SECNAME
        when no place-holder.  Add some comments.  Test both SEC_CODE and
        when no place-holder.  Add some comments.  Test both SEC_CODE and
        SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
        SEC_READONLY for hold_text to prevent .rodata orphan poisoning.
        Handle case where no output section statement created.
        Handle case where no output section statement created.
2000-09-07  Niibe Yutaka  , Kaz Kojima  , Alexandre Oliva  
2000-09-07  Niibe Yutaka  , Kaz Kojima  , Alexandre Oliva  
        * configure.tgt (sh-*-linux*): Added.
        * configure.tgt (sh-*-linux*): Added.
        * Makefile.am: Added eshelf_linux and eshlelf_linux.
        * Makefile.am: Added eshelf_linux and eshlelf_linux.
        * Makefile.in: Rebuilt.
        * Makefile.in: Rebuilt.
        * emulparams/shelf_linux.sh: New file.
        * emulparams/shelf_linux.sh: New file.
        * emulparams/shlelf_linux.sh: New file.
        * emulparams/shlelf_linux.sh: New file.
2000-09-06  Alan Modra  
2000-09-06  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        try shuffling sections when the orphan happens to be the place
        try shuffling sections when the orphan happens to be the place
        holder.  Keep count of unique section names generated so we speed
        holder.  Keep count of unique section names generated so we speed
        the search for a new name.
        the search for a new name.
2000-09-06  Alexandre Oliva  
2000-09-06  Alexandre Oliva  
        * configure: Rebuilt with new libtool.m4.
        * configure: Rebuilt with new libtool.m4.
2000-09-05  Nick Clifton  
2000-09-05  Nick Clifton  
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * aclocal.m4: Regenerate.
        * aclocal.m4: Regenerate.
        * configure: Regenerate.
        * configure: Regenerate.
        * config.in: Regenerate.
        * config.in: Regenerate.
        * po/ld.pot: Regenerate.
        * po/ld.pot: Regenerate.
        * ldint.texinfo: Remove CVS revision marker - it foils local
        * ldint.texinfo: Remove CVS revision marker - it foils local
        comparisons.
        comparisons.
        * emultempl/ticoff.em: Remove extraneous comma.
        * emultempl/ticoff.em: Remove extraneous comma.
2000-09-05  Alan Modra  
2000-09-05  Alan Modra  
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC
        to stub section flags.
        to stub section flags.
        (hppa_for_each_input_file_wrapper): New.
        (hppa_for_each_input_file_wrapper): New.
        (hppa_lang_for_each_input_file): New.
        (hppa_lang_for_each_input_file): New.
        (lang_for_each_input_file): Define to call above.
        (lang_for_each_input_file): Define to call above.
        (multi_subspace): New.
        (multi_subspace): New.
        (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
        (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs.
        (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.
        (hppaelf_finish): Call elf32_hppa_set_gp.
        (hppaelf_finish): Call elf32_hppa_set_gp.
        (hppaelf_set_output_arch): Remove.
        (hppaelf_set_output_arch): Remove.
        (LDEMUL_SET_OUTPUT_ARCH): Remove.
        (LDEMUL_SET_OUTPUT_ARCH): Remove.
        * emulparams/hppalinux.sh (ELFSIZE): Define.
        * emulparams/hppalinux.sh (ELFSIZE): Define.
        (MACHINE): Define.
        (MACHINE): Define.
        (OTHER_READONLY_SECTIONS): Define.
        (OTHER_READONLY_SECTIONS): Define.
        (DATA_PLT): Define.
        (DATA_PLT): Define.
        (GENERATE_SHLIB_SCRIPT): Define.
        (GENERATE_SHLIB_SCRIPT): Define.
        * ldlang.c: Add missing prototypes, and tidy others.  Change CONST
        * ldlang.c: Add missing prototypes, and tidy others.  Change CONST
        to const throughout.  Change `void *' to `PTR' throughout.
        to const throughout.  Change `void *' to `PTR' throughout.
        (lang_memory_default): Function is local to file, add `static'.
        (lang_memory_default): Function is local to file, add `static'.
        * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
        * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em.
        (ehppalinux.c): Likewise.
        (ehppalinux.c): Likewise.
        (earmelf.c): Likewise.
        (earmelf.c): Likewise.
        (earmelf_linux.c): Likewise.
        (earmelf_linux.c): Likewise.
        (earmelf_linux26.c): Likewise.
        (earmelf_linux26.c): Likewise.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * ld.h (ld_config_type): Add unique_orphan_sections.
        * ld.h (ld_config_type): Add unique_orphan_sections.
        * lexsup.c (OPTION_UNIQUE): Define.
        * lexsup.c (OPTION_UNIQUE): Define.
        (ld_options): Add "--unique".
        (ld_options): Add "--unique".
        (parse_args): Handle it.
        (parse_args): Handle it.
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
        search for an existing output section if unique_orphan_sections is
        search for an existing output section if unique_orphan_sections is
        set.  Make use of bfd_get_unique_section_name rather than
        set.  Make use of bfd_get_unique_section_name rather than
        duplicating code here.
        duplicating code here.
        * ld.texinfo: Describe --unique.
        * ld.texinfo: Describe --unique.
        * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
        * lexsup.c (ld_options): Make split-by-reloc arg optional. Add
        optional arg to split-by-file.
        optional arg to split-by-file.
        (parse_args): Handle them.
        (parse_args): Handle them.
        * ld.texinfo: Update description of these options.
        * ld.texinfo: Update description of these options.
        * ldwrite.c (clone_section): Pass in the section name.  Replace
        * ldwrite.c (clone_section): Pass in the section name.  Replace
        local code with bfd_get_unique_section_name.
        local code with bfd_get_unique_section_name.
        (split_sections): Tidy code and comments.  Use a list traversal
        (split_sections): Tidy code and comments.  Use a list traversal
        more appropriate to the list construction.  Handle cooked section
        more appropriate to the list construction.  Handle cooked section
        sizes.  Split when split_by_reloc reached rather than exceeded.
        sizes.  Split when split_by_reloc reached rather than exceeded.
        Track section size and split when split_by_file reached.  Fix
        Track section size and split when split_by_file reached.  Fix
        link_order_tail (even though it's not used).
        link_order_tail (even though it's not used).
        (ldwrite): Modify condition for calling split_sections to suit
        (ldwrite): Modify condition for calling split_sections to suit
        changed split_by_reloc and split_by_file.
        changed split_by_reloc and split_by_file.
        * ldmain.c (main): Init config.split_by_reloc and
        * ldmain.c (main): Init config.split_by_reloc and
        config.split_by_file to -1.
        config.split_by_file to -1.
        * ld.h (ld_config_type): Change split_by_reloc to unsigned.
        * ld.h (ld_config_type): Change split_by_reloc to unsigned.
        Change split_by_file to bfd_size_type.
        Change split_by_file to bfd_size_type.
2000-09-02  Nick Clifton  
2000-09-02  Nick Clifton  
        * configure.in: Increase version number to 2.10.91.
        * configure.in: Increase version number to 2.10.91.
        * NEWS: Mention new ability to support removal of duplicate DWARF2
        * NEWS: Mention new ability to support removal of duplicate DWARF2
        debug information.
        debug information.
        * configure: Regenerate.
        * configure: Regenerate.
        * aclocal.m4: Regenerate.
        * aclocal.m4: Regenerate.
        * config.in: Regenerate.
        * config.in: Regenerate.
2000-09-02  Daniel Berlin 
2000-09-02  Daniel Berlin 
        * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
        * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info
        sections.
        sections.
        * scripttempl/elf32avr.sc: Ditto.
        * scripttempl/elf32avr.sc: Ditto.
        * scripttempl/elfd10v.sc: Ditto.
        * scripttempl/elfd10v.sc: Ditto.
        * scripttempl/elfd30v.sc: Ditto.
        * scripttempl/elfd30v.sc: Ditto.
        * scripttempl/elfi370.sc: Ditto.
        * scripttempl/elfi370.sc: Ditto.
        * scripttempl/elfm68hc11.sc: Ditto.
        * scripttempl/elfm68hc11.sc: Ditto.
        * scripttempl/elfm68hc12.sc: Ditto.
        * scripttempl/elfm68hc12.sc: Ditto.
        * scripttempl/elfi386beos.sc: Ditto.
        * scripttempl/elfi386beos.sc: Ditto.
        * scripttempl/v850.sc: Ditto.
        * scripttempl/v850.sc: Ditto.
2000-08-31  Alexandre Oliva  
2000-08-31  Alexandre Oliva  
        * acinclude.m4: Include libtool and gettext macros from the
        * acinclude.m4: Include libtool and gettext macros from the
        top level.
        top level.
        * aclocal.m4, configure: Rebuilt.
        * aclocal.m4, configure: Rebuilt.
2000-08-25  Nick Clifton  
2000-08-25  Nick Clifton  
        * ldlang.c (open_output): When choosing the target for a
        * ldlang.c (open_output): When choosing the target for a
        particular endianness, do nothing if the target is not
        particular endianness, do nothing if the target is not
        supported.
        supported.
2000-08-25  H.J. Lu  
2000-08-25  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
        check -rpath nor LD_RUN_PATH for cross link.
        check -rpath nor LD_RUN_PATH for cross link.
        * ld.texinfo: Document the change.
        * ld.texinfo: Document the change.
2000-08-24  Hans-Peter Nilsson  
2000-08-24  Hans-Peter Nilsson  
        * NEWS: Mention support for CRIS.
        * NEWS: Mention support for CRIS.
2000-08-23  H.J. Lu  
2000-08-23  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get
        the current runpath list from bfd_elf_get_runpath_list ()
        the current runpath list from bfd_elf_get_runpath_list ()
        before search.
        before search.
2000-08-22  H.J. Lu  
2000-08-22  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search
        the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
        the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after
        LD_LIBRARY_PATH for native linker. Display the needed DSO if
        LD_LIBRARY_PATH for native linker. Display the needed DSO if
        trace_file_tries is non-zero.
        trace_file_tries is non-zero.
        (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
        (gld${EMULATION_NAME}_try_needed): Report the needed DSO found
        if trace_file_tries is non-zero.
        if trace_file_tries is non-zero.
        * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
        * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH.
        * NEWS: Mention it.
        * NEWS: Mention it.
2000-08-14  Jason Eckhardt  
2000-08-14  Jason Eckhardt  
        * NEWS: Mention i860 support.
        * NEWS: Mention i860 support.
2000-08-14  Andreas Schwab  
2000-08-14  Andreas Schwab  
        * scripttempl/elf.sc: Fix last change to use correct comment
        * scripttempl/elf.sc: Fix last change to use correct comment
        syntax.
        syntax.
2000-08-10  Geoff Keating  
2000-08-10  Geoff Keating  
        * scripttempl/elf.sc: Add a comment giving the correspondence
        * scripttempl/elf.sc: Add a comment giving the correspondence
        between sections, per-datum sections, and linkonce sections.  Make
        between sections, per-datum sections, and linkonce sections.  Make
        the comment true even for .bss, .sdata, .sdata2, .sbss, and
        the comment true even for .bss, .sdata, .sdata2, .sbss, and
        .sbss2.
        .sbss2.
2000-08-10  Jason Eckhardt  
2000-08-10  Jason Eckhardt  
        * emulparams/elf32_i860.sh: New file.
        * emulparams/elf32_i860.sh: New file.
        * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
        * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}.
        * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
        * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o.
        (eelf32_i860.c): New rule.
        (eelf32_i860.c): New rule.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-08-10  Nick Clifton  
2000-08-10  Nick Clifton  
        * emulparams/mipspe.sh (ENTRY): Add definition.
        * emulparams/mipspe.sh (ENTRY): Add definition.
2000-08-08  Peter Jeremy  
2000-08-08  Peter Jeremy  
        * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
        * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath
        in error message.
        in error message.
2000-08-08  Stephane Carrez  
2000-08-08  Stephane Carrez  
        * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
        * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate
        the final size of .bss section.
        the final size of .bss section.
        * scripttempl/elfm68hc12.sc: Likewise.
        * scripttempl/elfm68hc12.sc: Likewise.
2000-08-04  Alan Modra  
2000-08-04  Alan Modra  
        * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
        * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to
        gld${EMULATION_NAME}_parse_args for consistency.  Combine
        gld${EMULATION_NAME}_parse_args for consistency.  Combine
        lastoptind and prevoptind vars, and keep track of last optind.
        lastoptind and prevoptind vars, and keep track of last optind.
        (gld_${EMULATION_NAME}_list_options): Rename to
        (gld_${EMULATION_NAME}_list_options): Rename to
        gld${EMULATION_NAME}_list_options.
        gld${EMULATION_NAME}_list_options.
2000-08-03  Rodney Brown  
2000-08-03  Rodney Brown  
        * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
        * configure.tgt: Select targ_emul=elf_i386 for Unixware 7
        (i586-sco-sysv5uw7.1.0).
        (i586-sco-sysv5uw7.1.0).
2000-07-27  H.J. Lu  
2000-07-27  H.J. Lu  
        * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
        * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed.
        (PARSE_AND_LIST_PROLOGUE): New.
        (PARSE_AND_LIST_PROLOGUE): New.
        (PARSE_AND_LIST_LONGOPTS): Likewise.
        (PARSE_AND_LIST_LONGOPTS): Likewise.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        (PARSE_AND_LIST_EPILOGUE): Likewise.
        (PARSE_AND_LIST_EPILOGUE): Likewise.
2000-07-28  Alan Modra  
2000-07-28  Alan Modra  
        * emultempl/armelf.em: Elide functions common to elf32.em,
        * emultempl/armelf.em: Elide functions common to elf32.em,
        ie. most of the file.
        ie. most of the file.
        (arm_elf_after_open): New.  Do arm specific things then call
        (arm_elf_after_open): New.  Do arm specific things then call
        gld${EMULATION_NAME}_after_open.
        gld${EMULATION_NAME}_after_open.
        (arm_elf_before_allocation): New.  Call
        (arm_elf_before_allocation): New.  Call
        gld${EMULATION_NAME}_before_allocation then do arm specifics.
        gld${EMULATION_NAME}_before_allocation then do arm specifics.
        (PARSE_AND_LIST_PROLOGUE): Define.
        (PARSE_AND_LIST_PROLOGUE): Define.
        (PARSE_AND_LIST_SHORTOPTS): Define.
        (PARSE_AND_LIST_SHORTOPTS): 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_AFTER_OPEN): Define.
        (LDEMUL_AFTER_OPEN): Define.
        (LDEMUL_BEFORE_ALLOCATION): Define.
        (LDEMUL_BEFORE_ALLOCATION): Define.
        (LDEMUL_BEFORE_PARSE): Define.
        (LDEMUL_BEFORE_PARSE): Define.
        (LDEMUL_FINISH): Define.
        (LDEMUL_FINISH): Define.
        * emultempl/hppaelf.em: Similarly zap most of this file.
        * emultempl/hppaelf.em: Similarly zap most of this file.
        (hppaelf_add_stub_section): Prototype.
        (hppaelf_add_stub_section): Prototype.
        (hppaelf_layaout_sections_again): Prototype.
        (hppaelf_layaout_sections_again): Prototype.
        (hook_in_stub): Prototype.
        (hook_in_stub): Prototype.
        (LDEMUL_SET_OUTPUT_ARCH): Define.
        (LDEMUL_SET_OUTPUT_ARCH): Define.
        (LDEMUL_FINISH): Define.
        (LDEMUL_FINISH): Define.
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
        * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
        * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32.
        (EXTRA_EM_FILE): New.
        (EXTRA_EM_FILE): New.
        * emulparams/armelf_linux.sh: Likewise.
        * emulparams/armelf_linux.sh: Likewise.
        * emulparams/armelf_linux26.sh: Likewise.
        * emulparams/armelf_linux26.sh: Likewise.
        * emulparams/hppalinux.sh: Likewise.
        * emulparams/hppalinux.sh: Likewise.
        * emulparams/hppaelf.sh: Likewise.
        * emulparams/hppaelf.sh: Likewise.
        (NOP): Define.
        (NOP): Define.
        * emultempl/elf32.em: Fix formatting.
        * emultempl/elf32.em: Fix formatting.
        (EXTRA_EM_FILE): Source it.
        (EXTRA_EM_FILE): Source it.
        (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
        (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
        LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
        LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
        LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
        LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
        LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
        LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
        LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
        LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
        LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
        LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
        LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
        LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
        LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
        LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
        LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars.  Add code to
        LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars.  Add code to
        allow functions in this file to be overridden.
        allow functions in this file to be overridden.
        (PARSE_AND_LIST_SHORTOPTS): Handle it.
        (PARSE_AND_LIST_SHORTOPTS): Handle it.
        * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
        * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h.
        * emultempl/elf32.em: Reorganize file.
        * emultempl/elf32.em: Reorganize file.
2000-07-27  Ivan Kokshaysky  
2000-07-27  Ivan Kokshaysky  
        * emulparams/elf64alpha.sh: Implement "-taso" emulation
        * emulparams/elf64alpha.sh: Implement "-taso" emulation
        specific option to fit 64-bit executable in the lower
        specific option to fit 64-bit executable in the lower
        31-bit address range.  This is done by changing start
        31-bit address range.  This is done by changing start
        address of .interp (the very first section of executable)
        address of .interp (the very first section of executable)
        and then setting EF_ALPHA_32BIT elf header flag.
        and then setting EF_ALPHA_32BIT elf header flag.
2000-07-21  Michael Sokolov  
2000-07-21  Michael Sokolov  
        * emultempl/m68kcoff.em: New file.
        * emultempl/m68kcoff.em: New file.
        * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
        * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template.
        * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
        * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than
        generic.em.
        generic.em.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-07-20  H.J. Lu  
2000-07-20  H.J. Lu  
        * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
        * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
        and "disable-new-dtags" to stop getopt from treating -d/-e as
        and "disable-new-dtags" to stop getopt from treating -d/-e as
        abbreviations for these options.
        abbreviations for these options.
2000-07-20  H.J. Lu  
2000-07-20  H.J. Lu  
        * ld.texinfo: Add documentation for --disable-new-dtags and
        * ld.texinfo: Add documentation for --disable-new-dtags and
        --enable-new-dtags.
        --enable-new-dtags.
        * ldmain.c (main): Initialize link_info.new_dtags to false.
        * ldmain.c (main): Initialize link_info.new_dtags to false.
        * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
        * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
        --disable-new-dtags and --enable-new-dtags.
        --disable-new-dtags and --enable-new-dtags.
        (gld_${EMULATION_NAME}_list_options): Likewise.
        (gld_${EMULATION_NAME}_list_options): Likewise.
2000-07-05  Kenneth Block  
2000-07-05  Kenneth Block  
        * lexsup.c: Add optional style to demangle switch
        * lexsup.c: Add optional style to demangle switch
        * ld.texinfo: Document optional style to demangle switch.
        * ld.texinfo: Document optional style to demangle switch.
2000-07-20  Hans-Peter Nilsson  
2000-07-20  Hans-Peter Nilsson  
        * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
        * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
        ecrislinux.o.
        ecrislinux.o.
        (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
        (ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
        Regenerate dependencies.
        Regenerate dependencies.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
        * configure.tgt (cris-*-*): New target.
        * configure.tgt (cris-*-*): New target.
        * emulparams/crisaout.sh, emulparams/criself.sh,
        * emulparams/crisaout.sh, emulparams/criself.sh,
        emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
        emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
        * po/POTFILES.in, po/ld.pot: Regenerate.
        * po/POTFILES.in, po/ld.pot: Regenerate.
2000-07-20  H.J. Lu  
2000-07-20  H.J. Lu  
        * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
        * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
        Print out ignored -z options.
        Print out ignored -z options.
2000-07-19  H.J. Lu  
2000-07-19  H.J. Lu  
        * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
        * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
        (PARSE_AND_LIST_PROLOGUE): New.
        (PARSE_AND_LIST_PROLOGUE): New.
        (PARSE_AND_LIST_LONGOPTS): Likewise.
        (PARSE_AND_LIST_LONGOPTS): Likewise.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_OPTIONS): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
        * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
        * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
        * lexsup.c (ld_options): Comment out 'z'.
        * lexsup.c (ld_options): Comment out 'z'.
        (parse_args): Likewise.
        (parse_args): Likewise.
        * emultempl/elf32.em: Include "elf/common.h".
        * emultempl/elf32.em: Include "elf/common.h".
        (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
        (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
        options.
        options.
        (gld_${EMULATION_NAME}_list_options): Likewise.
        (gld_${EMULATION_NAME}_list_options): Likewise.
        * ld.texinfo: Add documentation for the recognized -z options.
        * ld.texinfo: Add documentation for the recognized -z options.
2000-07-19  H.J. Lu  
2000-07-19  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
        bfd_elf_set_dt_needed_soname ().
        bfd_elf_set_dt_needed_soname ().
2000-07-18  DJ Delorie  
2000-07-18  DJ Delorie  
        * pe-dll.c (pe_dll_id_target): check object target name also
        * pe-dll.c (pe_dll_id_target): check object target name also
2000-07-18  Hans-Peter Nilsson  
2000-07-18  Hans-Peter Nilsson  
        * scripttempl/elf.sc (.init): Only do ${INIT_START} and
        * scripttempl/elf.sc (.init): Only do ${INIT_START} and
        ${INIT_END} if relocating.
        ${INIT_END} if relocating.
        (.fini): Likewise ${FINI_START} and ${FINI_END}.
        (.fini): Likewise ${FINI_START} and ${FINI_END}.
2000-07-16  Charles Wilson  
2000-07-16  Charles Wilson  
        * emultempl/pe.em (gld_*_open_dynamic_archive): New search
        * emultempl/pe.em (gld_*_open_dynamic_archive): New search
        order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
        order for dynamic library '-lfoo' on pei386: libfoo.dll.a,
        foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
        foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility
        errors introduced by the old dynamic lib search order.
        errors introduced by the old dynamic lib search order.
2000-07-17  DJ Delorie  
2000-07-17  DJ Delorie  
        * pe-dll.c (process_def_file): auto-export data items also
        * pe-dll.c (process_def_file): auto-export data items also
        (pe_process_import_defs): also see if _imp_ form needed
        (pe_process_import_defs): also see if _imp_ form needed
2000-07-12  Charles Wilson  
2000-07-12  Charles Wilson  
        * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
        * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
        for dll import libraries
        for dll import libraries
2000-07-12  Mark Elbrecht  
2000-07-12  Mark Elbrecht  
        * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
        * scripttempl/i386go32.sc: Support the g++ attribute init_priority in
        gcc 2.95.2 and later.
        gcc 2.95.2 and later.
2000-07-11  Kazu Hirata  
2000-07-11  Kazu Hirata  
        * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
        * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error
        message.
        message.
2000-07-10  Alan Modra  
2000-07-10  Alan Modra  
        * ldemul.h (struct lang_input_statement_struct): Remove forward
        * ldemul.h (struct lang_input_statement_struct): Remove forward
        declaration.
        declaration.
        (struct search_dirs): Likewise.
        (struct search_dirs): Likewise.
        * ldfile.h (struct lang_input_statement_struct): Likewise.
        * ldfile.h (struct lang_input_statement_struct): Likewise.
        Protect file from multiple inclusion.
        Protect file from multiple inclusion.
        * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
        * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain
        declaration from macro to file scope.
        declaration from macro to file scope.
        * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
        * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order.
        * ldgram.y: Likewise here.
        * ldgram.y: Likewise here.
        * ldlang.c: And here.
        * ldlang.c: And here.
        * ldmain.c: And here.
        * ldmain.c: And here.
        * mpw-elfmips.c: And here.
        * mpw-elfmips.c: And here.
        * mpw-eppcmac.c: And here.
        * mpw-eppcmac.c: And here.
        * emultempl/aix.em: And here.
        * emultempl/aix.em: And here.
        * emultempl/armcoff.em: And here.
        * emultempl/armcoff.em: And here.
        * emultempl/armelf.em: And here.
        * emultempl/armelf.em: And here.
        * emultempl/armelf_oabi.em: And here.
        * emultempl/armelf_oabi.em: And here.
        * emultempl/beos.em: And here.
        * emultempl/beos.em: And here.
        * emultempl/elf32.em: And here.
        * emultempl/elf32.em: And here.
        * emultempl/hppaelf.em: And here.
        * emultempl/hppaelf.em: And here.
        * emultempl/linux.em: And here.
        * emultempl/linux.em: And here.
        * emultempl/lnk960.em: And here.
        * emultempl/lnk960.em: And here.
        * emultempl/pe.em: And here.
        * emultempl/pe.em: And here.
        * emultempl/sunos.em: And here.
        * emultempl/sunos.em: And here.
        * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
        * mpw-esh.c: And here. Include ldexp.h and ldlang.h too.
        * mpw-idtmips.c: Ditto.
        * mpw-idtmips.c: Ditto.
        * emultempl/generic.em: Ditto.
        * emultempl/generic.em: Ditto.
        * emultempl/gld960.em: Ditto.
        * emultempl/gld960.em: Ditto.
        * emultempl/gld960c.em: Ditto.
        * emultempl/gld960c.em: Ditto.
        * emultempl/mipsecoff.em: Ditto.
        * emultempl/mipsecoff.em: Ditto.
        * emultempl/ticoff.em: Ditto.
        * emultempl/ticoff.em: Ditto.
        * emultempl/vanilla.em: Ditto.
        * emultempl/vanilla.em: Ditto.
        * pe-dll.c: Include ldfile.h
        * pe-dll.c: Include ldfile.h
        * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
        * ldver.c: Include ldexp.h, ldlang.h, ldfile.h
        * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
        * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing
        arguments to bfd_elf32_size_dynamic_sections call.
        arguments to bfd_elf32_size_dynamic_sections call.
        (gldelf32ebmip_place_orphan): Add missing arguments to
        (gldelf32ebmip_place_orphan): Add missing arguments to
        lang_leave_output_section_statement call.
        lang_leave_output_section_statement call.
2000-07-10  H.J. Lu  
2000-07-10  H.J. Lu  
        * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
        * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
        DLL_SUPPORT.
        DLL_SUPPORT.
        (strhash): Likewise.
        (strhash): Likewise.
        (compute_dll_image_base): Likewise.
        (compute_dll_image_base): Likewise.
        (pe_undef_found_sym): Likewise.
        (pe_undef_found_sym): Likewise.
        (pe_undef_cdecl_match): Likewise.
        (pe_undef_cdecl_match): Likewise.
        (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
        (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
        argument "arch" with ATTRIBUTE_UNUSED.
        argument "arch" with ATTRIBUTE_UNUSED.
2000-07-10  Alan Modra  
2000-07-10  Alan Modra  
        * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
        * configure.tgt: Remove extraneous hppa*-*-linux-gnu*.
        From  Ryan Bradetich  
        From  Ryan Bradetich  
        * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
        * ldwrite.c (SSIZE): Remove to cure macro redefinition warning.
2000-07-09  Alan Modra  
2000-07-09  Alan Modra  
        Changes to create multiple linker stubs, positioned immediately
        Changes to create multiple linker stubs, positioned immediately
        before the section where they are required.
        before the section where they are required.
        * emultempl/hppaelf.em: Include elf32-hppa.h.
        * emultempl/hppaelf.em: Include elf32-hppa.h.
        (stub_sec, file_chain): Delete.
        (stub_sec, file_chain): Delete.
        (hppaelf_create_output_section_statements): Don't make a stub
        (hppaelf_create_output_section_statements): Don't make a stub
        section here.
        section here.
        (hook_stub_info): New struct.
        (hook_stub_info): New struct.
        (hook_in_stub): New function.
        (hook_in_stub): New function.
        (hppaelf_add_stub_section): New function.
        (hppaelf_add_stub_section): New function.
        (hppaelf_finish): Do nothing for relocateable links.  Modify the
        (hppaelf_finish): Do nothing for relocateable links.  Modify the
        call to elf32_hppa_size_stubs.  Move code for updating section
        call to elf32_hppa_size_stubs.  Move code for updating section
        layout from here...
        layout from here...
        (hppaelf_layaout_sections_again): ..to here, a new function.
        (hppaelf_layaout_sections_again): ..to here, a new function.
        * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
        * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix
        broken list handling.  Pass in a pointer to the list.
        broken list handling.  Pass in a pointer to the list.
        (hppaelf_finish): Update call to hppaelf_delete_padding_statements
        (hppaelf_finish): Update call to hppaelf_delete_padding_statements
        for above changes.
        for above changes.
        (hppaelf_before_parse): Prototype.
        (hppaelf_before_parse): Prototype.
        (hppaelf_set_output_arch): Prototype.
        (hppaelf_set_output_arch): Prototype.
        (hppaelf_create_output_section_statements): Prototype.
        (hppaelf_create_output_section_statements): Prototype.
        (hppaelf_delete_padding_statements): Prototype.
        (hppaelf_delete_padding_statements): Prototype.
        (hppaelf_finish): Prototype.
        (hppaelf_finish): Prototype.
        Merge from elf32.em
        Merge from elf32.em
        * emultempl/hppaelf.em: Include ctype.h.
        * emultempl/hppaelf.em: Include ctype.h.
        (struct orphan_save): New.
        (struct orphan_save): New.
        (gld${EMULATION_NAME}_place_orphan): New.
        (gld${EMULATION_NAME}_place_orphan): New.
        (output_rel_find): New.
        (output_rel_find): New.
        (hppaelf_get_script): Update from elf32.em.
        (hppaelf_get_script): Update from elf32.em.
        (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
        (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation.
        Change emulation_name field to "${EMULATION_NAME}".  Add
        Change emulation_name field to "${EMULATION_NAME}".  Add
        gld${EMULATION_NAME}_place_orphan.
        gld${EMULATION_NAME}_place_orphan.
        * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o,  add
        * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o,  add
        ehppalinux.o, sort it.  Regenerate dependencies.
        ehppalinux.o, sort it.  Regenerate dependencies.
        (ehppalinux.c): Depend on hppaelf.em
        (ehppalinux.c): Depend on hppaelf.em
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: targ_emul=hppalinux for hppa*linux
        * configure.tgt: targ_emul=hppalinux for hppa*linux
        * emulparams/hppalinux.sh: New.
        * emulparams/hppalinux.sh: New.
        * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
        * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex.
2000-07-08  Alan Modra  
2000-07-08  Alan Modra  
        * lexsup.c (parse_args): Copy section name.
        * lexsup.c (parse_args): Copy section name.
2000-07-07  Charles Wilson  
2000-07-07  Charles Wilson  
        * emultempl/pe.em: institute the following search order for
        * emultempl/pe.em: institute the following search order for
        dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
        dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import
        libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
        libs), libfoo.dll, foo.dll (link direct to dll).  Fall back to
        static lib (libfoo.a) if none of the above are found.
        static lib (libfoo.a) if none of the above are found.
2000-07-07  Mumit Khan  
2000-07-07  Mumit Khan  
        * emultempl/pe.em (pe_enable_auto_image_base): New variable.
        * emultempl/pe.em (pe_enable_auto_image_base): New variable.
        (longopts): New --{enable,disable}-auto-image-base options.
        (longopts): New --{enable,disable}-auto-image-base options.
        (gld_${EMULATION_NAME}_list_options): Document.
        (gld_${EMULATION_NAME}_list_options): Document.
        (gld_${EMULATION_NAME}_parse): Handle.
        (gld_${EMULATION_NAME}_parse): Handle.
        (strhash): New static function.
        (strhash): New static function.
        (compute_dll_image_base): New static function.
        (compute_dll_image_base): New static function.
        (gld_${EMULATION_NAME}_set_symbols): Use.
        (gld_${EMULATION_NAME}_set_symbols): Use.
2000-07-05  DJ Delorie  
2000-07-05  DJ Delorie  
        * MAINTAINERS: new
        * MAINTAINERS: new
2000-07-01  Koundinya K  
2000-07-01  Koundinya K  
        * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
        * configure.tgt: Add traditional mips (mips*-*-sysv4*) target.
        * emulparams/elf32btsmip.sh: New file.
        * emulparams/elf32btsmip.sh: New file.
        * Makefile.am: Add traditional mips target.
        * Makefile.am: Add traditional mips target.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-07-01  H.J. Lu  
2000-07-01  H.J. Lu  
        * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
        * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for
        automake to use YLWRAP.
        automake to use YLWRAP.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-07-01  Alan Modra  
2000-07-01  Alan Modra  
        * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
        * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
        (CLEANFILES): Add DEPA.
        (CLEANFILES): Add DEPA.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-06-30  Timothy Wall  
2000-06-30  Timothy Wall  
        * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
        * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode
        the page in the upper octet of the address.
        the page in the upper octet of the address.
2000-06-26  Marek Michalkiewicz  
2000-06-26  Marek Michalkiewicz  
        * emulparams/avrmega161.sh (ARCH): Change to avr:5.
        * emulparams/avrmega161.sh (ARCH): Change to avr:5.
2000-06-24  Alan Modra  
2000-06-24  Alan Modra  
        * NEWS: arm-elf does --gc-sections too.
        * NEWS: arm-elf does --gc-sections too.
2000-06-22  Alan Modra  
2000-06-22  Alan Modra  
        * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
        * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
        find one.
        find one.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-06-21  H.J. Lu  
2000-06-21  H.J. Lu  
        * Makefile.am: Rebuild dependency.
        * Makefile.am: Rebuild dependency.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-06-20  H.J. Lu  
2000-06-20  H.J. Lu  
        * Makefile.am: Rebuild dependency.
        * Makefile.am: Rebuild dependency.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-06-20  Timothy Wall  
2000-06-20  Timothy Wall  
        * scripttempl/tic54xcoff.sc: New.
        * scripttempl/tic54xcoff.sc: New.
        * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
        * ldlang.c (wild_doit): Propagate SEC_BLOCK flag.
        * gen-doc.texi: Add flag for TI COFF.
        * gen-doc.texi: Add flag for TI COFF.
        * ld.texinfo: Add documentation for TI COFF handling switches.
        * ld.texinfo: Add documentation for TI COFF handling switches.
        * emultempl/ticoff.em: New. TI COFF handling.
        * emultempl/ticoff.em: New. TI COFF handling.
        * configure.tgt: Add tic54x target.
        * configure.tgt: Add tic54x target.
        * Makefile.am: Add tic54x target.
        * Makefile.am: Add tic54x target.
        * Makefile.in: Ditto.
        * Makefile.in: Ditto.
2000-06-20  Alan Modra  
2000-06-20  Alan Modra  
        * ldmain.c (set_scripts_dir): Correct pointer comparison when
        * ldmain.c (set_scripts_dir): Correct pointer comparison when
        checking for backslashes.
        checking for backslashes.
2000-06-19  Alan Modra  
2000-06-19  Alan Modra  
        * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
        * NEWS: Move entries not in 2.10 above "Changes in version 2.10".
2000-06-18  Alan Modra  
2000-06-18  Alan Modra  
        * NEWS: Update list of targets supporting --gc-sections.
        * NEWS: Update list of targets supporting --gc-sections.
        * scripttempl/elf.sc: KEEP .eh_frame contents.
        * scripttempl/elf.sc: KEEP .eh_frame contents.
        * scripttempl/elfd30v.sc: Same here.
        * scripttempl/elfd30v.sc: Same here.
2000-06-18  Stephane Carrez  
2000-06-18  Stephane Carrez  
        * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
        * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12
        and m68hc11 (elf).
        and m68hc11 (elf).
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
        * configure.tgt: Recognize m68hc12 and m68hc11.
        * configure.tgt: Recognize m68hc12 and m68hc11.
        * scripttempl/elfm68hc12.sc: New file.
        * scripttempl/elfm68hc12.sc: New file.
        * emulparams/m68hc12elfb: New emulation.
        * emulparams/m68hc12elfb: New emulation.
        * emulparams/m68hc12elf: New emulation.
        * emulparams/m68hc12elf: New emulation.
        * emulparams/m68hc11elfb.sh: New file.  User configurable emulation
        * emulparams/m68hc11elfb.sh: New file.  User configurable emulation
        (includes a memory.x script to define the ROM and RAM banks).
        (includes a memory.x script to define the ROM and RAM banks).
        * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
        * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh:
        New configuration files for support of Motorola 68hc11
        New configuration files for support of Motorola 68hc11
2000-06-15  Alan Modra  
2000-06-15  Alan Modra  
        * ldmain.c (main): Only change SEC_READONLY for final link.
        * ldmain.c (main): Only change SEC_READONLY for final link.
2000-06-13  H.J. Lu  
2000-06-13  H.J. Lu  
        * configure: Regenerate.
        * configure: Regenerate.
2000-06-08  David O'Brien  
2000-06-08  David O'Brien  
        * configure.in (VERSION): Update to show this is the CVS mainline.
        * configure.in (VERSION): Update to show this is the CVS mainline.
2000-06-07  Michael Sokolov  
2000-06-07  Michael Sokolov  
        * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
        * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
        input objects to be ECOFF.
        input objects to be ECOFF.
        (check_sections): einfo takes %B, not %P, to print a BFD name.
        (check_sections): einfo takes %B, not %P, to print a BFD name.
2000-06-05  Michael Matz 
2000-06-05  Michael Matz 
        * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
        * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in
        version scripts.
        version scripts.
        * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
        * ldlex.l (V_IDENTIFIER): Accept `::' in symbols.
2000-05-23  Marek Michalkiewicz  
2000-05-23  Marek Michalkiewicz  
        * emulparams/avr1200.sh (STACK): Define as 0.
        * emulparams/avr1200.sh (STACK): Define as 0.
        * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
        * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
        * emulparams/avr4433.sh (STACK): Likewise.
        * emulparams/avr4433.sh (STACK): Likewise.
        * emulparams/avr44x4.sh (STACK): Likewise.
        * emulparams/avr44x4.sh (STACK): Likewise.
        * emulparams/avr85xx.sh (STACK): Likewise.
        * emulparams/avr85xx.sh (STACK): Likewise.
        * emulparams/avrmega103.sh (STACK): Likewise.
        * emulparams/avrmega103.sh (STACK): Likewise.
        * emulparams/avrmega161.sh (STACK): Likewise.
        * emulparams/avrmega161.sh (STACK): Likewise.
        * emulparams/avrmega603.sh (STACK): Likewise.
        * emulparams/avrmega603.sh (STACK): Likewise.
        * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
        * scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
        (__stack): Define from ${STACK} for main().
        (__stack): Define from ${STACK} for main().
2000-05-26  Alan Modra  
2000-05-26  Alan Modra  
        * Makefile.am: Update dependencies with "make dep-am"
        * Makefile.am: Update dependencies with "make dep-am"
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-05-26  Eli Zaretskii  
2000-05-26  Eli Zaretskii  
        * ldmain.c: Include filenames.h.
        * ldmain.c: Include filenames.h.
        (set_scripts_dir): Support backslashes in program name.
        (set_scripts_dir): Support backslashes in program name.
2000-05-22  Igor Shevlyakov  
2000-05-22  Igor Shevlyakov  
        * ldmain.c (main): When deciding if ".text" section should be
        * ldmain.c (main): When deciding if ".text" section should be
        read-only, don't forget to reset SEC_READONLY because it
        read-only, don't forget to reset SEC_READONLY because it
        could be already set.
        could be already set.
2000-05-22  Thomas de Lellis  
2000-05-22  Thomas de Lellis  
        * ld.1: Add documentation for new command line option:
        * ld.1: Add documentation for new command line option:
        --section-start =
        --section-start =
        This is a generic version of -Ttext etc. which accepts
        This is a generic version of -Ttext etc. which accepts
        any section name as a parameter instead of just text/data/
        any section name as a parameter instead of just text/data/
        bss.
        bss.
        * ld.texinfo: More docs.
        * ld.texinfo: More docs.
        * NEWS: More docs.
        * NEWS: More docs.
        * lexsup.c: (parse_args): Recognize new command line option.
        * lexsup.c: (parse_args): Recognize new command line option.
        (ld_options): Add new option.
        (ld_options): Add new option.
2000-05-18  H.J. Lu  
2000-05-18  H.J. Lu  
        * lexsup.c (parse_args): `i' == `r', not `q'.
        * lexsup.c (parse_args): `i' == `r', not `q'.
2000-05-18  Jeffrey A Law  (law@cygnus.com)
2000-05-18  Jeffrey A Law  (law@cygnus.com)
        * configure.tgt (hppa*64*-*-*): Enable PA64 target.
        * configure.tgt (hppa*64*-*-*): Enable PA64 target.
2000-05-17 S. Bharadwaj Yadavalli  
2000-05-17 S. Bharadwaj Yadavalli  
              Rick Gorton          
              Rick Gorton          
        Add support for '-q' == '--emit-relocs' switch.
        Add support for '-q' == '--emit-relocs' switch.
        * ldmain.c (main): Default to false.
        * ldmain.c (main): Default to false.
        * lexsup.c (parse_args): Turn on emitrelocations flag if set.
        * lexsup.c (parse_args): Turn on emitrelocations flag if set.
        * NEWS: Describe the emitrelocations switch.
        * NEWS: Describe the emitrelocations switch.
        * ld.texinfo: Describe the emitrelocations switch.
        * ld.texinfo: Describe the emitrelocations switch.
2000-05-16  Charles Wilson 
2000-05-16  Charles Wilson 
        * emultempl/pe.em (_open_dynamic_archive): New function: Search
        * emultempl/pe.em (_open_dynamic_archive): New function: Search
        the library path for "foo.dll" and "libfoo.dll" dynamic libraries
        the library path for "foo.dll" and "libfoo.dll" dynamic libraries
        before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
        before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo'
        link options.
        link options.
2000-05-15  David O'Brien  
2000-05-15  David O'Brien  
        * lexsup.c (parse_args): Update the year in the copyright notice.
        * lexsup.c (parse_args): Update the year in the copyright notice.
2000-05-13  Alan Modra  
2000-05-13  Alan Modra  
        * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
        * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain):
        Replace defines with those from intl/libgettext.h to quieten gcc
        Replace defines with those from intl/libgettext.h to quieten gcc
        warnings.
        warnings.
2000-05-10  H.J. Lu  
2000-05-10  H.J. Lu  
        * ldlang.c (open_input_bfds): Don't load the same file within
        * ldlang.c (open_input_bfds): Don't load the same file within
        a group again if the whole archive has been loaded already.
        a group again if the whole archive has been loaded already.
2000-05-03  Alan Modra  
2000-05-03  Alan Modra  
        From Ulf Carlsson  and Andreas Jaeger 
        From Ulf Carlsson  and Andreas Jaeger 
        * lexsup.c (set_section_start): Use bfd_scan_vma rather than
        * lexsup.c (set_section_start): Use bfd_scan_vma rather than
        strtoul.
        strtoul.
2000-05-01  Jim Wilson  
2000-05-01  Jim Wilson  
        * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
        * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}.
        * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
        * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
        host "ia64-*-linux-gnu*".
        host "ia64-*-linux-gnu*".
2000-04-29  Andreas Jaeger  
2000-04-29  Andreas Jaeger  
        * ld.h: Correctly check GCC version.
        * ld.h: Correctly check GCC version.
2000-04-25  Jeffrey A Law  (law@cygnus.com)
2000-04-25  Jeffrey A Law  (law@cygnus.com)
        * Makefile.am: Add PA64 support.  Add missing dependencies for
        * Makefile.am: Add PA64 support.  Add missing dependencies for
        PA32 elf support.
        PA32 elf support.
        * Makefile.in: Rebuilt.
        * Makefile.in: Rebuilt.
        * configure.tgt: Add PA64 support (currently disabled).
        * configure.tgt: Add PA64 support (currently disabled).
2000-04-25  Alan Modra  
2000-04-25  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete.
        (output_rel_find): New function.
        (output_rel_find): New function.
        (hold_section, hold_use): Delete.
        (hold_section, hold_use): Delete.
        (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
        (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
        hold_interp): Make local to place_orphan.
        hold_interp): Make local to place_orphan.
        (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
        (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find
        rather than place_section to find possible previous use of orphan.
        rather than place_section to find possible previous use of orphan.
        Similarly find the place-holder output sections.  Use returned
        Similarly find the place-holder output sections.  Use returned
        value from lang_enter_output_section_statement rather than calling
        value from lang_enter_output_section_statement rather than calling
        lang_output_section_statement_lookup.
        lang_output_section_statement_lookup.
        * emultempl/armelf.em: Same here.
        * emultempl/armelf.em: Same here.
        * emultempl/pe.em: Similar to above, but no need for output_rel_find.
        * emultempl/pe.em: Similar to above, but no need for output_rel_find.
        * ldlang.c (lang_enter_output_section_statement): Return output
        * ldlang.c (lang_enter_output_section_statement): Return output
        section statement.
        section statement.
        * ldlang.h (lang_enter_output_section_statement): Change
        * ldlang.h (lang_enter_output_section_statement): Change
        declaration too.
        declaration too.
        * ldlang.h (lang_output_section_statement): Export it.
        * ldlang.h (lang_output_section_statement): Export it.
        * ldlang.c (lang_output_section_statement): Ditto.
        * ldlang.c (lang_output_section_statement): Ditto.
2000-04-24  Nick Clifton  
2000-04-24  Nick Clifton  
        * ld.texinfo (Output Section Data): Add note that section data
        * ld.texinfo (Output Section Data): Add note that section data
        commands cannot appear outside of section directives.
        commands cannot appear outside of section directives.
2000-04-2  Matthew Green  
2000-04-2  Matthew Green  
        * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
        * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support.
2000-04-21  Richard Henderson  
2000-04-21  Richard Henderson  
            David Mosberger  
            David Mosberger  
        * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
        * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o.
        (eelf64_ia64.c): New rule.
        (eelf64_ia64.c): New rule.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
        * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
        * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets.
        * emulparams/elf64_ia64.sh: New file.
        * emulparams/elf64_ia64.sh: New file.
2000-04-21  Richard Henderson  
2000-04-21  Richard Henderson  
        * scripttempl/elfd30v.sc: Place .gcc_except_table.
        * scripttempl/elfd30v.sc: Place .gcc_except_table.
2000-04-19  Alan Modra  
2000-04-19  Alan Modra  
        * dep-in.sed: Match space at start of file name, not at end.
        * dep-in.sed: Match space at start of file name, not at end.
2000-04-18  H.J. Lu  
2000-04-18  H.J. Lu  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
        lang_leave_output_section_statement () after calling
        lang_leave_output_section_statement () after calling
        lang_enter_output_section_statement ().
        lang_enter_output_section_statement ().
        * emultempl/armelf.em: Likewise.
        * emultempl/armelf.em: Likewise.
2000-04-18  Alan Modra  
2000-04-18  Alan Modra  
        * emultempl/elf32.em (struct orphan_save): Add section field.
        * emultempl/elf32.em (struct orphan_save): Add section field.
        (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
        (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in
        better order, and place first orphan section as we did before the
        better order, and place first orphan section as we did before the
        2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
        2000-04-12 patch.  Ignore ~SEC_ALLOC sections when choosing place.
        Don't call make_bfd_section here, let wild_doit do the job for us.
        Don't call make_bfd_section here, let wild_doit do the job for us.
        Don't build a statement list when we'll only throw it away.
        Don't build a statement list when we'll only throw it away.
        * emultempl/armelf.em: Ditto.
        * emultempl/armelf.em: Ditto.
        * emultempl/pe.em: Similarly.
        * emultempl/pe.em: Similarly.
2000-04-14  Geoff Keating  
2000-04-14  Geoff Keating  
        * scripttempl/elfppc.sc: Remove.
        * scripttempl/elfppc.sc: Remove.
        * emulparams/elf32ppc.sh: Use elf.sc.
        * emulparams/elf32ppc.sh: Use elf.sc.
        * emulparams/elf32lppc.sh: Use elf.sc.
        * emulparams/elf32lppc.sh: Use elf.sc.
        * emulparams/elf32ppclinux.sh: Use elf.sc.
        * emulparams/elf32ppclinux.sh: Use elf.sc.
        * emulparams/elf32ppcsim.sh: New file.
        * emulparams/elf32ppcsim.sh: New file.
        * emulparams/elf32lppcsim.sh: New file.
        * emulparams/elf32lppcsim.sh: New file.
        * Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
        * Makefile.am: Update dependencies.  Add elf32ppcsim ad elf32lppcsim.
        (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
        (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
        * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim.
2000-04-14  Alan Modra  
2000-04-14  Alan Modra  
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process
        ~SEC_ALLOC sections too.  Init start address of debug sections.
        ~SEC_ALLOC sections too.  Init start address of debug sections.
        * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
        * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto.
        * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
        * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto.
        Also set all relocateable section start addresses.
        Also set all relocateable section start addresses.
2000-04-13  Geoff Keating  
2000-04-13  Geoff Keating  
        * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
        * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections.
        Add new BSS_PLT variable for when .plt need not be contained in
        Add new BSS_PLT variable for when .plt need not be contained in
        the file.  Move _etext so that it is also after .fini, and provide
        the file.  Move _etext so that it is also after .fini, and provide
        both etext and _etext with a leading underscore.  Mark the start
        both etext and _etext with a leading underscore.  Mark the start
        and end of .sbss.
        and end of .sbss.
2000-04-12  Alan Modra  
2000-04-12  Alan Modra  
        * emultempl/elf32.em (struct orphan_save): New.
        * emultempl/elf32.em (struct orphan_save): New.
        (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
        (hold_text, hold_rodata, hold_data, hold_bss, hold_rel,
        hold_interp): Make them struct orphan_save.
        hold_interp): Make them struct orphan_save.
        (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
        (gld${EMULATION_NAME}_place_section): Modify for new hold_*.
        (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
        (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to
        the end of the relevant section list.  Also add associated section
        the end of the relevant section list.  Also add associated section
        statements to the end of any previous orphan statements.
        statements to the end of any previous orphan statements.
        * emultempl/armelf.em: Similarly.
        * emultempl/armelf.em: Similarly.
        * emultempl/pe.em: Similarly.
        * emultempl/pe.em: Similarly.
2000-04-11  Alan Modra  
2000-04-11  Alan Modra  
        * ld.texinfo (Simple Example): Remove extraneous paragraph.
        * ld.texinfo (Simple Example): Remove extraneous paragraph.
2000-04-07  Andrew Cagney  
2000-04-07  Andrew Cagney  
        * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
        * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
        --enable-build-warnings option.
        --enable-build-warnings option.
        * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
        * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
        * Makefile.in, configure: Re-generate.
        * Makefile.in, configure: Re-generate.
2000-04-04  Alan Modra  
2000-04-04  Alan Modra  
        * po/ld.pot: Regenerate.
        * po/ld.pot: Regenerate.
        * lexsup.c (help): Restore translated part of bug string.
        * lexsup.c (help): Restore translated part of bug string.
        * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
        * Makefile.am (MKDEP): Use gcc -MM rather than mkdep.
        (DEP): Quote when passing vars to sub-make.  Add warning message
        (DEP): Quote when passing vars to sub-make.  Add warning message
        to end.
        to end.
        (DEP1): Rewrite for "gcc -MM".
        (DEP1): Rewrite for "gcc -MM".
        (CLEANFILES): Add DEP2.
        (CLEANFILES): Add DEP2.
        Update dependencies.
        Update dependencies.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-04-03  Alan Modra  
2000-04-03  Alan Modra  
        * ld.h: #include "bin-bugs.h"
        * ld.h: #include "bin-bugs.h"
        * lexsup.c (help): Use REPORT_BUGS_TO.
        * lexsup.c (help): Use REPORT_BUGS_TO.
2000-03-27  Denis Chertykov  
2000-03-27  Denis Chertykov  
        * configure.tgt (avr-*-*): New target support.
        * configure.tgt (avr-*-*): New target support.
        * Makefile.am: Likewise.
        * Makefile.am: Likewise.
        * scripttempl/elf32avr.sc: New script file.
        * scripttempl/elf32avr.sc: New script file.
        * emulparams/avr1200.sh: New file.
        * emulparams/avr1200.sh: New file.
        * emulparams/avr23xx.sh: New file.
        * emulparams/avr23xx.sh: New file.
        * emulparams/avr4433.sh New file.
        * emulparams/avr4433.sh New file.
        * emulparams/avr44x4.sh New file.
        * emulparams/avr44x4.sh New file.
        * emulparams/avr85xx.sh New file.
        * emulparams/avr85xx.sh New file.
        * emulparams/avrmega103.sh New file.
        * emulparams/avrmega103.sh New file.
        * emulparams/avrmega161.sh New file.
        * emulparams/avrmega161.sh New file.
        * emulparams/avrmega603.sh New file.
        * emulparams/avrmega603.sh New file.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-03-09  Andreas Jaeger  
2000-03-09  Andreas Jaeger  
        * Makefile.am (check-DEJAGNU): Also unset LANG.
        * Makefile.am (check-DEJAGNU): Also unset LANG.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-03-06  Ian Lance Taylor  
2000-03-06  Ian Lance Taylor  
        * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
        * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty
        archive.
        archive.
2000-03-02  H.J. Lu  
2000-03-02  H.J. Lu  
        * emulparams/elf32mcore.sh: Include "getopt.h".
        * emulparams/elf32mcore.sh: Include "getopt.h".
2000-03-01  Ian Lance Taylor  
2000-03-01  Ian Lance Taylor  
        * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
        * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware.
2000-03-01  H.J. Lu  
2000-03-01  H.J. Lu  
        * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
        * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR.
        * emulparams/shpe.sh: Likewise.
        * emulparams/shpe.sh: Likewise.
2000-03-01  Nick Clifton  
2000-03-01  Nick Clifton  
        * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
        * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED
        to unused parameters.
        to unused parameters.
        * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
        * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static
        functions only used by DLL code.
        functions only used by DLL code.
        (_place_orphan): Initialise 'dollar'.
        (_place_orphan): Initialise 'dollar'.
2000-03-01  H.J. Lu  
2000-03-01  H.J. Lu  
        * ldmain.c (undefined_symbol): Take one more arg, fatal, to
        * ldmain.c (undefined_symbol): Take one more arg, fatal, to
        indicate if the undefined symbol is a fatal error or not.
        indicate if the undefined symbol is a fatal error or not.
        Don't delete the output file if "fatal" is false.
        Don't delete the output file if "fatal" is false.
2000-02-29  H.J. Lu  
2000-02-29  H.J. Lu  
        * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
        * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)".
        Set LC_COLLATE and LC_ALL to null and export them. It is for
        Set LC_COLLATE and LC_ALL to null and export them. It is for
        sort which expects the C locale.
        sort which expects the C locale.
        Add $(LIBS) to all $(HOSTING_LIBS).
        Add $(LIBS) to all $(HOSTING_LIBS).
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-02-29  Alan Modra  
2000-02-29  Alan Modra  
        * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
        * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em,
        beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
        beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em,
        linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
        linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em}
        (ld_emulation_xfer_struct): Add missing NULL initialiser for
        (ld_emulation_xfer_struct): Add missing NULL initialiser for
        find_potential_libraries.
        find_potential_libraries.
2000-02-28  Jim Blandy  
2000-02-28  Jim Blandy  
        * ldgram.y (exclude_name_list): Don't require a comma to separate
        * ldgram.y (exclude_name_list): Don't require a comma to separate
        list entries; the lexer considers commas to be valid part of a
        list entries; the lexer considers commas to be valid part of a
        filename, so in something like `foo, bar' the comma is considered
        filename, so in something like `foo, bar' the comma is considered
        part of the first filename, `foo,'.
        part of the first filename, `foo,'.
        * ld.texinfo: Update section on EXCLUDE_FILE lists.
        * ld.texinfo: Update section on EXCLUDE_FILE lists.
2000-02-27  Loren J. Rittle  
2000-02-27  Loren J. Rittle  
        * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
        * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
        host "i[3456]86-*-freebsdelf*".
        host "i[3456]86-*-freebsdelf*".
2000-02-27  Mark Elbrecht  
2000-02-27  Mark Elbrecht  
        * scripttempl/i386go32.sc: Move misplaced semicolons.
        * scripttempl/i386go32.sc: Move misplaced semicolons.
2000-02-25  Ian Lance Taylor  
2000-02-25  Ian Lance Taylor  
        * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
        * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o.
        (ALL_64_EMULATIONS): Remove eelf64hppa.o.
        (ALL_64_EMULATIONS): Remove eelf64hppa.o.
        (eelf64hppa.c, ehppaelf.c): Remove targets.
        (eelf64hppa.c, ehppaelf.c): Remove targets.
        * Makefile.in: Rebuild.
        * Makefile.in: Rebuild.
2000-02-25  Alexandre Oliva  
2000-02-25  Alexandre Oliva  
        * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
        * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on
        GNU/Linux/sparc, but keep the default as 32.
        GNU/Linux/sparc, but keep the default as 32.
        * configure.tgt: Enable elf64_sparc on Solaris7+/sparc.  And make
        * configure.tgt: Enable elf64_sparc on Solaris7+/sparc.  And make
        it default if sparcv9 or sparc64.
        it default if sparcv9 or sparc64.
2000-02-24  Nick Clifton  
2000-02-24  Nick Clifton  
        * Makefile.am: Add rules to build emipspe.o and earmpe.o.
        * Makefile.am: Add rules to build emipspe.o and earmpe.o.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
        * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
        * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe.
        * ldemul.h (ld_emulation_xfer_struct): Add new field:
        * ldemul.h (ld_emulation_xfer_struct): Add new field:
        find_potential_libraries.
        find_potential_libraries.
        * ldemul.c (ldemul_find_potential_libraries): New function.
        * ldemul.c (ldemul_find_potential_libraries): New function.
        * ldfile.c (ldfile_open_file_search): Allow function to be
        * ldfile.c (ldfile_open_file_search): Allow function to be
        exported.
        exported.
        (ldfile_open_file): Call ldemul_find_potential_libraries.
        (ldfile_open_file): Call ldemul_find_potential_libraries.
        * ldfile.h: Add prototype for ldfile_open_file_search.
        * ldfile.h: Add prototype for ldfile_open_file_search.
        * pe-dll.c: Add support for ARM, MIPS and SH targets.
        * pe-dll.c: Add support for ARM, MIPS and SH targets.
        * emulparams/mipspe.sh: New file.  Parameters for mips-pe target.
        * emulparams/mipspe.sh: New file.  Parameters for mips-pe target.
        * emulparams/shpe.sh: New file.  Parameters for sh-pe target.
        * emulparams/shpe.sh: New file.  Parameters for sh-pe target.
        * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
        * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs.
        (gld_X_find_potential_libraries): New function.  Search for
        (gld_X_find_potential_libraries): New function.  Search for
        libraries called "*.lib".
        libraries called "*.lib".
        * scripttempl/pe.sc: Add .pdata section.
        * scripttempl/pe.sc: Add .pdata section.
2000-02-23  Richard Henderson  
2000-02-23  Richard Henderson  
        * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
        * scripttempl/elfd10v.sc: Remove dynamic linking hooks.
        Add and use memory regions.
        Add and use memory regions.
2000-02-23  Linas Vepstas (linas@linas.org)
2000-02-23  Linas Vepstas (linas@linas.org)
        * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
        * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New.
        * Makefile.am: Add support for Linux/IBM 370.
        * Makefile.am: Add support for Linux/IBM 370.
        * configure.tgt: Likewise.
        * configure.tgt: Likewise.
        * Makefile.in: Regenerate.
        * Makefile.in: Regenerate.
2000-02-21  Alan Modra  
2000-02-21  Alan Modra  
        * ldlang.c (print_input_section, print_data_statement,
        * ldlang.c (print_input_section, print_data_statement,
        print_reloc_statement, print_padding_statement, insert_pad,
        print_reloc_statement, print_padding_statement, insert_pad,
        size_input_section, lang_check_section_addresses,
        size_input_section, lang_check_section_addresses,
        lang_size_sections, lang_do_assignments, lang_set_startof,
        lang_size_sections, lang_do_assignments, lang_set_startof,
        lang_one_common): Change `opb' to unsigned.
        lang_one_common): Change `opb' to unsigned.
        (lang_do_assignments): Also change `size' to unsigned.
        (lang_do_assignments): Also change `size' to unsigned.
2000-02-16  Richard Henderson  
2000-02-16  Richard Henderson  
        * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
        * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION.
2000-02-16  Timothy Wall  
2000-02-16  Timothy Wall  
        * mri.c (mri_draw_tree): Add default LMA region argument to call
        * mri.c (mri_draw_tree): Add default LMA region argument to call
        to lang_leave_output_section_statement.
        to lang_leave_output_section_statement.
        * ldlang.h: Update prototypes with LMA region arguments.
        * ldlang.h: Update prototypes with LMA region arguments.
        * ldlang.c (lang_size_sections): Encapsulate region bounds
        * ldlang.c (lang_size_sections): Encapsulate region bounds
        checking in os_check_region call.
        checking in os_check_region call.
        (os_check_region): New function.
        (os_check_region): New function.
        (lang_output_section_statement_lookup): Initialize lma_region.
        (lang_output_section_statement_lookup): Initialize lma_region.
        (lang_leave_output_section_statement): Add LMA region argument.
        (lang_leave_output_section_statement): Add LMA region argument.
        (lang_leave_overlay): Ditto.
        (lang_leave_overlay): Ditto.
        * ldgram.y: Handle LMA region syntax.
        * ldgram.y: Handle LMA region syntax.
        * ld.texinfo (Output Section Description): Describe LMA region usage.
        * ld.texinfo (Output Section Description): Describe LMA region usage.
        * emultempl/armelf.em (gld$place_orphan): Add default value for
        * emultempl/armelf.em (gld$place_orphan): Add default value for
        lma region in call to lang_leave_output_section_statement.
        lma region in call to lang_leave_output_section_statement.
        * emultempl/elf32.em (gld$place_orphan): Add default value for
        * emultempl/elf32.em (gld$place_orphan): Add default value for
        lma region in call to lang_leave_output_section_statement.
        lma region in call to lang_leave_output_section_statement.
        * emultempl/pe.em (gld$place_orphan): Add default value for
        * emultempl/pe.em (gld$place_orphan): Add default value for
        lma region in call to lang_leave_output_section_statement.
        lma region in call to lang_leave_output_section_statement.
2000-02-04  Timothy Wall  
2000-02-04  Timothy Wall  
        * ldlang.c (lang_check_section_addresses): Use bytes instead of
        * ldlang.c (lang_check_section_addresses): Use bytes instead of
        octets when calculating section end addresses.
        octets when calculating section end addresses.
2000-02-04  Timothy Wall  
2000-02-04  Timothy Wall  
        * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
        * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.
2000-02-03  Timothy Wall 
2000-02-03  Timothy Wall 
        * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
        * ldexp.c (fold_name): Make SIZEOF operator return byte count, not
        octet count.
        octet count.
        * ldlang.c (print_input_section, print_data_statement,
        * ldlang.c (print_input_section, print_data_statement,
        print_reloc_statement, print_padding_statement): Print target
        print_reloc_statement, print_padding_statement): Print target
        address values and section sizes as bytes, not octets.
        address values and section sizes as bytes, not octets.
        (insert_pad) Calculate padding size in octets, and adjust "dot"
        (insert_pad) Calculate padding size in octets, and adjust "dot"
        by bytes.
        by bytes.
        (size_input_section) Always adjust "dot" by bytes, not octets.
        (size_input_section) Always adjust "dot" by bytes, not octets.
        (lang_check_section_addresses, lang_do_assignments) Adjust
        (lang_check_section_addresses, lang_do_assignments) Adjust
        "dot" by bytes, not octets.  Use the larger of the directive size
        "dot" by bytes, not octets.  Use the larger of the directive size
        or octets_per_byte for the number of octets actually allocated in
        or octets_per_byte for the number of octets actually allocated in
        the output section.
        the output section.
        (lang_set_startof) Make sure STARTOF returns a target address.
        (lang_set_startof) Make sure STARTOF returns a target address.
        (lang_one_common) Record size changes in octets.
        (lang_one_common) Record size changes in octets.
        (lang_abs_symbol_at_end_of) Section end symbol's value is
        (lang_abs_symbol_at_end_of) Section end symbol's value is
        recorded in target bytes.
        recorded in target bytes.
        * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
        * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc.
        to be clear about behavior when an octet is smaller than one byte.
        to be clear about behavior when an octet is smaller than one byte.
2000-01-27  Alan Modra  
2000-01-27  Alan Modra  
        * ldcref.c (output_cref): Don't pass message strings to printf
        * ldcref.c (output_cref): Don't pass message strings to printf
        as format arg.
        as format arg.
        Update copyright.
        Update copyright.
        * ldmisc.c (vfinfo): Same here.
        * ldmisc.c (vfinfo): Same here.
        Update copyright.
        Update copyright.
2000-01-23  Alan Modra  
2000-01-23  Alan Modra  
        * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
        * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em,
        generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
        generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em,
        mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
        mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct):
        Add missing NULL initialisers, and comments.
        Add missing NULL initialisers, and comments.
2000-01-21  Nick Clifton  
2000-01-21  Nick Clifton  
        * ldlang.c (lang_size_sections): Fix typo in comment.
        * ldlang.c (lang_size_sections): Fix typo in comment.
2000-01-18  H.J. Lu  
2000-01-18  H.J. Lu  
        * ldlang.c (lang_size_sections): Also update the current
        * ldlang.c (lang_size_sections): Also update the current
        address of a region if the SEC_NEVER_LOAD bit is not set.
        address of a region if the SEC_NEVER_LOAD bit is not set.
2000-01-10  Philip Blundell  
2000-01-10  Philip Blundell  
        * configure.tgt (arm*-*-conix*): New target.
        * configure.tgt (arm*-*-conix*): New target.
2000-01-07  Nick Clifton  
2000-01-07  Nick Clifton  
        * ld.texinfo (Options): Remind users to preceed linker command
        * ld.texinfo (Options): Remind users to preceed linker command
        line switches with -Wl, (or whatever is appropriate) if it is
        line switches with -Wl, (or whatever is appropriate) if it is
        being invoked by a comnpiler driver program.
        being invoked by a comnpiler driver program.
        Fix description of the behaviour of the -n command line switch.
        Fix description of the behaviour of the -n command line switch.
2000-01-05  Catherine Moore  
2000-01-05  Catherine Moore  
        * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
        * ld.h (wildcard_spec): Change exclude_name to exclude_name_list.
        (name_list): New.
        (name_list): New.
        * ld.texinfo (EXCLUDE_FILE): Update documentation.
        * ld.texinfo (EXCLUDE_FILE): Update documentation.
        * ldgram.y (wildcard_spec): Support a list of excluded_files.
        * ldgram.y (wildcard_spec): Support a list of excluded_files.
        (exclude_name_list): New.
        (exclude_name_list): New.
        ldlang.c (walk_wild_section): Support list of excluded files.
        ldlang.c (walk_wild_section): Support list of excluded files.
        (print_wild_statement): Likewise.
        (print_wild_statement): Likewise.
        (lang_add_wild): Likewise.
        (lang_add_wild): Likewise.
        * ldlang.h (lang_wild_statement_type): Likewise.
        * ldlang.h (lang_wild_statement_type): Likewise.
        * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
        * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support.
2000-01-04  Mumit Khan  
2000-01-04  Mumit Khan  
        * pe-dll.c (pe_dll_warn_dup_exports): New variable.
        * pe-dll.c (pe_dll_warn_dup_exports): New variable.
        (process_def_file): Use.
        (process_def_file): Use.
        (pe_dll_compat_implib): New variable.
        (pe_dll_compat_implib): New variable.
        (make_one): Use.
        (make_one): Use.
        * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
        * pe-dll.h: Add exports of pe_dll_warn_dup_exports and
        pe_dll_compat_implib.
        pe_dll_compat_implib.
        * emultempl/pe.em (longopts): Add warn-duplicate-exports and
        * emultempl/pe.em (longopts): Add warn-duplicate-exports and
        compat-implib options.
        compat-implib options.
        (gld_${EMULATION_NAME}_list_options): List new options.
        (gld_${EMULATION_NAME}_list_options): List new options.
        (gld_${EMULATION_NAME}_parse_args): Handle.
        (gld_${EMULATION_NAME}_parse_args): Handle.
        * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
        * pe-dll.c (pe_dll_generate_implib): Use the correct name for output
        dll.
        dll.
        * deffilep.y (opt_name): Allow "." in name.
        * deffilep.y (opt_name): Allow "." in name.
For older changes see ChangeLog-9899
For older changes see ChangeLog-9899


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.