* Makefile.am: Run "make dep-am".
[platform/upstream/binutils.git] / ld / ChangeLog
index bb3dd76..fce8aa2 100644 (file)
@@ -1,6 +1,827 @@
+2002-10-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * ldver.c: #include "bfdver.h".
+
+2002-10-13  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN,
+       .finiN section.
+       * scripttempl/elfm68hc12.sc: Likewise.
+
+2002-10-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer.
+
+       * ldgram.y (memory_spec): Provide empty action.
+       (section <NAME>): Likewise.
+
+2002-10-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if
+       they have OUTPUT_FORMAT not matching actual output format.
+       * ldlang.c (lang_get_output_target): New function.
+       (open_output): Use it.
+       * ldlang.h (lang_get_output_target): New prototype.
+
+2002-10-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (output_rel_find): Prefer .rel script sections
+       when orphan is .rel, .rela when orphan is .rela.
+       (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case
+       first.  Remove outsecname var.
+
+2002-10-09  Richard Shann <richard.shann@superh.com>
+           Stephen Clarke <stephen.clarke@superh.com>
+
+       * Makefile.am: Add eshelf32_linux.o and
+       eshlelf32_linux.o, new emulations for sh64 Linux.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations.
+       * emulparams/shelf32_linux.sh: New file.
+       * emulparams/shlelf32_linux.sh: New file.
+       
+2002-10-08  H.J. Lu <hjl@gnu.org>
+
+       * ldlang.c (lang_file_exist): Removed.
+       (new_afile): Revert the last change.
+       * ldlang.h (lang_file_exist): Removed.
+       * lexsup.c (parse_args): Revert the last change.
+
+2002-10-07  Ralf Habacker  <Ralf.Habacker@freenet.de>
+
+       * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export
+       auto-import symbols.
+       (make_one): Create _nm_<symbol> for data only.
+
+2002-10-05  Elias Athanasopoulos  <eathan@otenet.gr>
+
+       * ldlang.c (lang_file_exist): New function.
+       (new_afile): Abort if the filename to be added matches the linker 
+       output filename.
+       * ldlang.h: Add prototype for lang_file_exist.
+       * lexsup.c (parse_args): Abort if the output filename matches
+       one of the input filenames.
+
+2002-10-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000.
+
+2002-09-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.
+       * scripttempl/elfm68hc11.sc: Likewise.
+       * scripttempl/elfm68hc12.sc: Likewise.
+
+       * emultempl/elf32.em (output_rel_find): Always place orphan loadable
+       reloc sections just before .rel.plt/.rela.plt.
+       (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code.
+       Only put loadable reloc sections in hold_rel.
+
+2002-09-29  H.J. Lu <hjl@gnu.org>
+
+       * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New.
+
+2002-09-25  Daniel Jacobowitz  <drow@mvista.com>
+
+       From "Anita Kulkarni" <AnitaK@kpit.com>
+       * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc*
+       sections.
+
+2002-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before
+       TARGET_PAGE_SIZE.
+       * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate
+       SEGMENT_SIZE alignment.
+       * emulparams/elf64ppc.sh (DATA_ADDR): Delete.
+       (SEGMENT_SIZE): Define.
+
+       * ldexp.c (fold_unary): New.  Split out from exp_fold_tree.
+       (fold_binary): Correct abs - non-abs case.
+       (fold_trinary): New.  Split out from exp_fold_tree.
+
+2002-09-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf64ppc.sh (DATA_ADDR): Define.
+       * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
+       for start of .data, instead align up to 256M boundary.
+       * scripttempl/aix.sc: Likewise.
+
+2002-09-22  Mark Elbrecht  <snowball3@softhome.net>
+
+       * scripttempl/i386go32.sc: Handle bss unique sections.
+
+2002-09-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset.
+
+2002-09-17  Stan Cox  <scox@redhat.com>
+
+       * emulparams/elf32bmipn32-defs.sh: New file.
+       * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
+       * emulparams/elf32btsmipn32.sh: Likewise.
+       * emulparams/elf64bmip.sh: Likewise.
+       * emulparams/elf64btsmip.sh: Likewise.
+
+2002-09-16  Bruno Haible  <bruno@clisp.org>
+
+       * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
+       elf32-i386-freebsd.
+       * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
+       elf64-alpha-freebsd.
+
+2002-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * NEWS: New TI port supports both C4x and C3x series of DSPs.
+
+       * po/tr.po: Updated Turkish translation.
+
+2002-09-06  Jeffrey A Law  (law@redhat.com)
+
+        * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
+
+2002-09-02  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and
+       __ep.
+       * emulparams/v850.sh (TEMPLATE_NAME): Define.
+
+2002-08-30  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not
+       used.  Change INSN to start at 0x01000000 and extend for
+       256K (ignoring holes).  Start the STACK on a word aligned
+       boundary.
+        (.rodata): Start it at the READONLY_START_ADDR.
+
+2002-08-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
+
+2002-08-28  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and
+       added makefile targets for this file.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Added tic4x-coff and c4x-coff emulations.
+       * NEWS: Mention new port.
+
+2002-08-28  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
+
+       * emulparams/tic3xcoff.sh: New file.
+       * emulparams/tic4xcoff.sh: New file.
+       * scripttempl/tic3xcoff.sc: New file.
+       * scripttempl/tic4xcoff.sc: New file.
+
+2002-08-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
+       strtoul and strtoull with bfd_scan_vma.
+       (gld${EMULATION_NAME}_read_file): Likewise.
+
+2002-08-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.tgt: Remove h8[35]00-*-hms*.  Add h8500-*-rtems*.
+
+2002-08-27  Egor Duda  <deo@logos-m.ru>
+
+       * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections.
+       Add symbols for application to access them.
+
+2002-08-27  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/armelf.em:  Revert this patch, it is not needed.
+       
+       2002-08-22  Adam Nemet  <anemet@lnxw.com>
+
+2002-08-20 Dan Kegel <dank@kegel.com>
+       
+       * configure.in: added --with-lib-path argument to ld's configure
+       to set LIB_PATH.
+       * ld/NEWS: Document new switch.
+       * ld/README: Mention new switch.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+       
+       Based on this patch:
+       2001-04-25  Christopher Faylor <cgf@cygnus.com>
+
+       * Makefile.in (LIB_PATH): Make configurable.
+       (GENSCRIPTS): Set LIB_PATH in environment.
+       * configure.in: Substitute LIB_PATH.
+
+2002-08-22  Adam Nemet  <anemet@lnxw.com>
+
+       * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h.
+       (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI
+       depending on the type of the function.
+       (arm_elf_convert_thumb_symbol_to_address): New function.
+
+2002-08-22  Graeme Peterson  <gp@qnx.com>
+
+       * Makefile.am: Add esh{l}elf_nto.o files.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add support for sh-**-nto* targets.
+       * emulparams/shelf_nto.sh: New file.
+       * emulparams/shlelf_nto.sh: New file.
+
+2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * ldlang.c (offsetof): Define if not defined.
+
+2002-08-14  H.J. Lu <hjl@gnu.org>
+
+       * configure.tgt: Always enable 64bit emulations for 32bit
+       Linux/mips.
+
+2002-08-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
+       (MAXPAGESIZE): Set to 1.
+
+       * ld.h (ALIGN_N): Delete.
+       * ldexp.h (align_n): Declare.
+       * ldexp.c (align_n): New function.
+       (fold_binary): Use align_n instead of ALIGN_N.
+       (exp_fold_tree): Likewise.
+       * ldlang.c (lang_size_sections_1): Likewise.
+       (lang_one_common): Likewise.
+       * ld.texinfo (ALIGN): Remove power of 2 restriction.
+
+2002-07-31  Graeme Peterson  <gp@qnx.com>
+
+       * configure.tgt: Add support for powerpc{le}-*-nto* targets.
+       * Makefile.am: Add eelf32{l}ppcnto.o files.
+       * Makefile.in: Regenerate.
+       * emulparams/elf32lppcnto.sh: New file.
+       * emulparams/elf32ppcnto.sh: New file.
+
+2002-08-07  H.J. Lu <hjl@gnu.org>
+
+       * ld.texinfo: Document --no-undefined-version.
+
+       * ldlang.c (lang_new_vers_pattern): Set the `symver' and
+       `script.' fields to 0.
+
+       * ldmain.c (main): Initialize the allow_undefined_version to
+       true.
+
+       * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New.
+       (ld_options): Add --no-undefined-version.
+       (parse_args): Support OPTION_NO_UNDEFINED_VERSION.
+
+2002-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/armelf.em (arm_elf_before_allocation): Only search for
+       an interworking bfd if there are input bfds. (107501)
+
+2002-08-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/aix.em (gld*_before_parse): Set default arch.  Reverts
+       2002-05-10 change.
+
+2002-08-01  Nick Clifton  <nickc@redhat.com>
+
+       * emulparams/armelf.sh: Revert previous delta.
+       * scripttempl/elf.sc: Revert previous delta.
+
+2002-07-31  H.J. Lu <hjl@gnu.org>
+
+       * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
+       --enable-64-bit-bfd.
+
+2002-07-31  H.J. Lu <hjl@gnu.org>
+
+       * configure.tgt: Enable x86-64 emulation for Linux/i386 if
+       64bit BFD is selected.
+
+2002-07-31  H.J. Lu <hjl@gnu.org>
+
+       * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
+       if 64bit BFD is selected.
+
+2002-07-31  Ian Dall  <ian@sibyl.beware.dropbear.id.au>
+
+       * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set
+       link_info.common_skip_ar_aymbols.
+       * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file.
+
+       * ldmain.c (main): Initialize new field
+       link_info.common_skip_ar_aymbols.
+
+2002-07-31  Adam Nemet  <anemet@lnxw.com>
+
+       * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable.  Set it
+       to .plt.thumb.
+       * scripttempl/elf.sc: Comment it.  Use the same way as ${PLT} is
+       used.
+
+2002-07-31  Nick Clifton  <nickc@redhat.com>
+
+       * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
+       of the PDP-11 and 2.11BSD a.out support.
+
+2002-07-31  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
+       for n32 ABI support.
+       * Makefile.in: Regenerate.
+       * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
+       n32 ABI emulations for these 64 bit targets.
+       * emulparams/elf32bmipn32.sh: Expand comment.
+       * emulparams/elf32btsmipn32.sh: New file, for traditional big endian
+       n32 ABI.
+       * emulparams/elf32ltsmipn32.sh: Likewise for little endian.
+
+2002-07-30  Graeme Peterson  <gp@qnx.com>
+
+       * configure.tgt: Add support for arm-*-nto target.
+       * Makefile.am: Add earmnto.o file.
+       * Makefile.in: Regenerate.
+       * NEWS: Mention port of ARM support to QNX.
+       * emulparams/armnto.sh: New file.
+
+2002-07-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldlang.c (lang_add_section): Don't turn .tbss into normal sections
+       for relocatable link.
+       (lang_size_sections_1): Don't make .tbss zero size for relocatable
+       link.
+
+2002-07-26  Bernd Schmidt  <bernds@redhat.com>
+
+       * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete.
+       (STACK_ADDR): New.
+
+2002-07-25  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+       * po/es.po: Updated Spanish translation.
+       * po/fr.po: Updated French translation.
+
+2002-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+       * po/es.po: Updated Spanish translation.
+
+2002-07-23  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2002-07-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
+       bomb on /DISCARD/ input section.
+       * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
+       * emultempl/mmo.em (mmo_place_orphan): Likewise.
+
+2002-07-19  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text
+       output section.
+
+2002-07-16  Denis Chertykov  <denisc@overta.ru>
+           Nick Clifton  <nickc@redhat.com>
+           Frank Ch. Eigler  <fche@redhat.com>
+           John Healy  <jhealy@redhat.com>
+
+       * configure.tgt: Add support for ip2k-elf.
+       * Makefile.am: Add support for ip2k-elf.
+       * Makefile.in: Regenerate.
+       * emulparams/elf32ip2k.sh: New file.
+       * scripttempl/ip2k.sc: New file
+       * NEWS: Mention support for new port.
+
+2002-07-16  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * NEWS: Add 'Changes in 2.13'.
+
+2002-07-14  H.J. Lu <hjl@gnu.org>
+
+       * ld.texinfo: Document a .symver takes precedence over a
+       version script.
+
+2002-07-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
+       (COMMONPAGESIZE): Define.
+
+2002-07-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
+
+2002-07-09  Federico G. Schwindt <fgsch@olimpo.com.br>
+
+       * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
+       powerpc-*-openbsd* and sparc64-*-openbsd*.
+       * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o.
+       * Makefile.in: Regenerate.
+       * emulparams/hppaobsd.sh: New file.
+
+2002-07-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (print_wild_statement): Fix output formatting.
+
+2002-07-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c: (strip_excluded_output_sections): New function.
+       (lang_process): Call it.
+       (lang_size_sections_1): Revert 2002-06-10 change.
+
+2002-07-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2002-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldfile.c (ldfile_try_open_bfd): Formatting.
+
+       * ldmisc.c (demangle): Move so that it doesn't intrude between
+       vfinfo comment and body.  Add comment.
+
+2002-07-01  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
+
+2002-07-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
+       * ldlang.c (entry_sym): Likewise.
+       (ldlang_undef_chain_list_type): Likewise.
+       (lang_finish): Adjust references to entry_symbol.
+       (lang_add_entry): Likewise.
+       (lang_gc_sections): Use link_info.gc_sym_list.
+       (lang_process): Set link_info.gc_sym_list.
+       * ldlex.l: Include bfdlink.h.
+       * ldmain.c (main): Init link_info.gc_sym_list.
+       * emultempl/aix.em: Adjust references to entry_symbol.
+       * emultempl/armcoff.em: Likewise.
+       * emultempl/armelf.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/ppc64elf.em (ppc_after_open): New function.
+       (LDEMUL_AFTER_OPEN): Define.
+       * emulparams/elf64ppc.sh: KEEP .opd sections.
+
+2002-06-29  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
+       * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
+       * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
+       (EEPROM_START_ADDR): Define.
+       (EEPROM_MEMORY): Define.
+       * emulparams/m68hc12elf.sh: Likewise.
+       * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
+       section to put soft registers in .page0.
+       * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.
+
+2002-06-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
+       section.  Add ${RELOCATING-0}.
+
+2002-06-26  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * emulparams/shelf.sh (STACK_ADDR): Don't define.
+       (OTHER_SECTIONS): Define.
+       * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
+       (OTHER_SECTIONS): Undef.
+
+2002-06-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldmisc.c (demangle): Restore dots stripped from sym name.
+
+2002-06-25  H.J. Lu <hjl@gnu.org>
+
+       * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
+       * Makefile.in: Regenerated.
+
+2002-06-20  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * ld.texinfo (Bug Reporting): Update text to suggest a limit on
+       the size of attached object files, to allow make the object files
+       available via FTP or HTTP and to mention that the mail will be
+       sent to a mailing list.
+
+2002-06-20  Nathanael Nerode  <neroden@twcny.rr.com>
+
+       * ld/configure.host (romp): Drop support.
+
+2002-06-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check
+       section flags for SEC_DATA, rather than for SEC_CODE being unset.
+
+2002-06-18  Chris Demetriou  <cgd@broadcom.com>
+
+       * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix
+       format specifier used to print BFD name.
+
+2002-06-18  Dave Brolley  <brolley@redhat.com>
+
+       From Catherine Moore, Michael Meissner, Jim Blandy:
+       * emulparams/elf32frv.sh: New file.
+       * configure.tgt: Support frv-*-*.
+       * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o.
+       (eelf32frv.c): New target.
+
+2002-06-17  Tom Rix  <trix@redhat.com>
+
+       * emultempl/elf32.em: gld*_get_script:  Check for
+       GENERATE_COMBRELOC_SCRIPT.
+       * scripttempl/elfd10v.sc : Fix STACK and INSN.
+       * emulparams/d10velf.sh : Fix TEXT_START_ADDR.
+
+2002-06-13  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf.
+
+2002-06-12  H.J. Lu <hjl@gnu.org>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
+       false if xvec doesn't match.
+
+2002-06-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * ldlang.c (lang_size_sections_1): Skip removed output sections.
+
+2002-06-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c: Replace CONST with const.
+       * ldfile.c: Likewise.
+       * ldfile.h: Likewise.
+       * ldlex.l: Likewise.
+       * mri.c: Likewise.
+       * pe-dll.h: Likewise.
+
+2002-06-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (new_vers_pattern): Warning fix.
+
+2002-06-07  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * ld/ldmain.c (main): initialize link_info.pei386_auto_import
+       to -1 == implicit enable.
+       * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
+       initialize link_info.pei386_auto_import to -1 == implicit
+       enable.
+       (gld_${EMULATION_NAME}_parse_args): When processing
+       --enable-auto-import and --disable-auto-import options, use
+       '1' and '0' instead of 'true' and 'false'.
+       (pe_find_data_imports): Only issue message about auto-import
+       when the feature is implicitly enabled.  Downgrade message to
+       informational instead of warning.
+
+2002-06-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.
+
+2002-06-06  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,
+       HOSTING_CRT0 and HOSTING_LIBS.
+
+2002-06-05  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
+
+2002-06-05  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
+       (NONPAGED_TEXT_START_ADDR): Set to 0x1000.
+
+2002-06-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
+       SEC_EXCLUDE sections when doing a relocatable link.
+
+2002-06-04  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o,
+       eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o.
+       (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c)
+       (eshlelf64_nbsd.c): New rules.
+       * Makefile.in: Regenerate.
+       * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*)
+       (sh64-*-netbsd*): New targets.
+       * emulparams/shelf32_nbsd.sh: New file.
+       * emulparams/shelf64_nbsd.sh: New file.
+       * emulparams/shlelf32_nbsd.sh: New file.
+       * emulparams/shlelf64_nbsd.sh: New file.
+
+2002-06-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (section_already_linked): Call bfd_discard_group.  Typo fix.
+
+2002-06-02  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       * scripttempl/avr.sc: Changes to support current GCC and avr-libc,
+       C++ constructors/destructors, loosely based on the m68hc11 port.
+
+2002-05-31  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2002-05-31  Graeme Peterson  <gp@qnx.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add ei386nto.o.
+       (ei386nto.c): Add rule.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add i[3456]86-*-nto-qnx*.
+       * emulparams/i386nto.sh: New file.
+
+2002-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * NEWS: Add entry for VAX ELF support.
+
+2002-05-29  Matt Thomas  <matt@3am-software.com>
+           Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o.
+       (eelf32vax.c)
+       (evaxnbsd.c): New rules.
+       * Makefile.in: Regenerate.
+       * configure.tgt (vax-*-netbsdelf*)
+       (vax-*-netbsdaout*)
+       (vax-*-netbsd*): New targets.
+       * emulparams/elf32vax.sh: New file.
+       * emulparams/vaxnbsd.sh: New file.
+
+2002-05-29  Adam Nemet  <anemet@lnxw.com>
+
+       * emultempl/armelf.em (arm_elf_after_open): Don't determine
+       bfd_for_interwork, instead add glue sections to each input bfd.
+       (bfd_for_interwork): New global.
+       (arm_elf_set_bfd_for_interworking): New function.
+       (arm_elf_before_allocation): Use it.
+
+2002-05-28  Kuang Hwa Lin <kuang@sbcglobal.net>
+
+       * Makefile.am: Add DLX make target.
+       * configure.tgt: Add DLX configuration.
+       * Makefile.in: Regenerate.
+       * emulparams/elf32_dlx.sh: New file
+       * scripttempl/dlx.sc: New file
+
+2002-05-27  Per Lundberg  <per@caleb.dnsalias.org>
+
+       * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script.
+       * Makefile.in: Regenerate.
+       * emulparams/elf_chaos.sh: Use elf_chaos script.
+       * scripttempl/elf_chaos.sc: New file.
+
+2002-05-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * ldlang.c (lang_size_sections_1): Move check for conflicting load
+       addresses and regions from here...
+       (lang_get_regions): ...to this new function.
+       (lang_leave_output_section_statement): Use lang_get_regions.
+       (lang_leave_overlay): Likewise.
+       * mri.c (mri_draw_tree): Pass null as last argument to
+       lang_leave_output_section_statement.
+       * emultempl/elf32.em (gld*_place_orphan): Likewise.
+       * emultempl/mmo.em (mmo_place_orphan): Likewise.
+       * emultempl/pe.em (gld*_place_orphan): Likewise.
+
+2002-05-26  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*.
+
+2002-05-25  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ldemul.c: Fix formatting.
+       * ldfile.c: Likewise.
+       * pe-dll.c: Likewise.
+       * pe-dll.h: Likewise.
+
+2002-05-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_process): Formatting, grammar.
+
+       * ldlex.l: Use #include "" instead of <> for local header files.
+
+2002-05-24  TAMURA Kent <kent@netbsd.org>
+
+       * configure.tgt: Add a target for i386-netbsdpe.
+
+2002-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss.
+       * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for
+       output section if necessary.  Handle .tbss.
+       (lang_size_sections): Clear _raw_size for .tbss section
+       (it allocates space in PT_TLS segment only).
+       * ldwrite.c (build_link_order): Build link order for .tbss too.
+
+2002-05-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.in: Correct spelling of AC_PREREQ.
+
+2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * pe-dll.c (autofilter_liblist): Add more system libs excluded by
+       default.
+       (autofilter_objlist): Add crtbegin.o, crtend.o.
+
+2002-05-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define.
+       (longopts): Add new option --exclude-libs.
+       (gld_${EMULATION_NAME}_list_options): Give quick help about it.
+       (gld_${EMULATION_NAME}_parse_args): Use it.
+       * pe-dll.h (pe_dll_add_excludes): Add second param to prototype.
+       * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols
+       from whole archives.
+       (pe_dll_add_excludes): Set excludes->type.
+       (auto_export): Add new variable libname and set to archive basename if
+       abfd.  Use it when filtering default and user-specified libarary
+       excludes.  Let string "ALL" mean all libs when filtering user-specified
+       libs.
+       * ld.texinfo: Document --exclude-libs.
+
+2002-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldemul.c (ldemul_new_vers_pattern): New function.
+       * ldemul.h (ldemul_new_vers_pattern): Declare.
+       (struct ld_emulation_xfer_struct): Add new_vers_pattern.
+       * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern.
+       * emultempl/ppc64elf.em (dotsyms): New static var.
+       (gld${EMULATION_NAME}_new_vers_pattern): New function.
+       (LDEMUL_NEW_VERS_PATTERN): Define.
+       (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS.
+       (PARSE_AND_LIST_LONGOPTS): Likewise.
+       (PARSE_AND_LIST_ARGS_CASES): Handle them.
+       * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update
+       initialiser.
+       * emultempl/armcoff.em: Likewise.
+       * emultempl/armelf_oabi.em: Likewise.
+       * emultempl/beos.em: Likewise.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/generic.em: Likewise.
+       * emultempl/gld960.em: Likewise.
+       * emultempl/gld960c.em: Likewise.
+       * emultempl/linux.em: Likewise.
+       * emultempl/lnk960.em: Likewise.
+       * emultempl/m68kcoff.em: Likewise.
+       * emultempl/mipsecoff.em: Likewise.
+       * emultempl/pe.em: Likewise.
+       * emultempl/sunos.em: Likewise.
+       * emultempl/ticoff.em: Likewise.
+       * emultempl/vanilla.em: Likewise.
+
+2002-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir
+       and $NATIVE_LIB_DIRS.  Add $tool_lib before other libs.
+       (LIB_SEARCH_DIRS): No need to use "tr".
+       (COMPILE_IN): Only set for native targets.
+       * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs
+       here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh.
+       * configure.tgt (powerpc*): Set tdir_*.
+       (powerpcle*): Correct targ_extra_emuls.
+       * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs.
+       * emulparams/elf64ppc.sh (LIB_PATH): Likewise.
+
+2002-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when
+       calling lang_add_entry.
+
+2002-05-21  H.J. Lu  (hjl@gnu.org)
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle
+       "-z muldefs".
+       (gld${EMULATION_NAME}_list_options): Add "-z muldefs".
+
+       * ld.texinfo: Updated for --allow-multiple-definition and
+       "-z muldefs".
+
+       * ldmain.c (main): Initialize the allow_multiple_definition
+       field to false.
+
+       * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New.
+       (ld_options): Add --allow-multiple-definition.
+       (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION.
+
+2002-05-21  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o.
+       (earmelfb_nbsd.c): New rule.
+       * Makefile.in: Regenerate.
+       * configure.tgt (armeb-*-netbsdelf*): New target.
+       (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls.
+       (arm-*-netbsd*): Likewise.
+       * emulparams/armelfb_nbsd.sh: New file.
+
 2002-05-18  Tom Rix  <trix@redhat.com>
 
-       * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib 
+       * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib
        support.
 
 2002-05-17  Marek Michalkiewicz  <marekm@amelek.gda.pl>
 
 2002-05-10  Tom Rix  <trix@redhat.com>
 
-       * emultempl/aix.em: (gld*_set_output_arch): New function. Use 
+       * emultempl/aix.em: (gld*_set_output_arch): New function. Use
        architecture and machine information in the output bfd.
        (gld*_before_parse): Remove old arch and machine code.
        (choose_target): Rename to gld*_choose_target.
-       (rtld): Change type to int. 
-       * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for 
+       (rtld): Change type to int.
+       * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for
        objects in XCOFF archives.
        * ldfile.h: Update copyright date.
 
        (lang_size_sections_1): Evaluate it.
        (lang_leave_output_section_statement): Rework LMA lookup.
        (overlay_lma, overlay_nocrossrefs): Remove.
-       (lang_enter_overlay): Remove LMA and corssref arguments.
+       (lang_enter_overlay): Remove LMA and crossref arguments.
        (lang_enter_overlay_section): Don't set the LMA here.
        (lang_leave_overlay): Take LMA and crossref arguments.  Move the '.'
        assignment to the last section's update_dot_tree.  Unconditionally
 
 2002-04-30  Tom Rix  <trix@redhat.com>
 
-       * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add 
-       -blibpath, -bnolibpath support. 
+       * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add
+       -blibpath, -bnolibpath support.
+
 2002-04-30  Mark Mitchell  <mark@codesourcery.com>
 
        * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
        * Makefile.in: Regenerated.
        * configure.tgt: Add support for powerpc-*-windiss.
        * emulparams/elf32ppcwindiss.sh: New file.
-       
+
 2002-04-30  Richard Sandiford  <rsandifo@redhat.com>
 
        * ldlang.c (print_assignment): Update print_dot for assignments to ".".
        * mpw-esh.c: Delete.
        * mpw-idtmips.c: Delete.
 
-Wed Apr 17 19:23:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
+2002-04-17  J"orn Rennecke <joern.rennecke@superh.com>
 
        * emulparams/shelf32.sh (MACHINE): Now sh5.
 
@@ -218,9 +1039,9 @@ Wed Apr 17 19:23:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
        the contents of the buffer returned from basename function will are
        getting overwritten while still being used.
 
-Mon Mar 18 17:38:39 CET 2002  Jan Hubicka  <jh@suse.cz>
-                             Andreas Jaeger  <aj@suse.de>
-                             Andreas Schwab  <schwab@suse.de>
+2002-03-18  Jan Hubicka  <jh@suse.cz>
+           Andreas Jaeger  <aj@suse.de>
+           Andreas Schwab  <schwab@suse.de>
 
        * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
        * elf_x86_64.sh (ARCH): Set to i386:x86-64
@@ -1355,6 +2176,10 @@ Mon Mar 18 17:38:39 CET 2002  Jan Hubicka  <jh@suse.cz>
        * ldmain.c (main): Initialize.
        * ld.texinfo: Document.
 
+2001-09-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (section_already_linked): Remove assignment to kept_section.
+
 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
 
        * ldmisc.c (USE_STDARG): Remove.
@@ -2660,7 +3485,7 @@ Mon Mar 18 17:38:39 CET 2002  Jan Hubicka  <jh@suse.cz>
        * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
        Set DWARF2 sections to a VMA of zero.
 
-2000-12-01      Joel Sherrill <joel@OARcorp.com>
+2000-12-01  Joel Sherrill  <joel@OARcorp.com>
 
        * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
        New targets.
@@ -4078,7 +4903,7 @@ Mon Mar 18 17:38:39 CET 2002  Jan Hubicka  <jh@suse.cz>
        (lang_one_common) Record size changes in octets.
        (lang_abs_symbol_at_end_of) Section end symbol's value is
        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.
 
 2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>