* Makefile.am: Run "make dep-am".
[platform/upstream/binutils.git] / ld / ChangeLog
index 5b530ad..fce8aa2 100644 (file)
@@ -1,3 +1,348 @@
+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