bfd/
[binutils-gdb.git] / ld / ChangeLog
index a17ea6ab2cc5b783d19f862c1d56a737c880d536..7f25d6d3b7f12b498be0207dec148ee252c4c63b 100644 (file)
@@ -1,3 +1,149 @@
+2003-06-11  H.J. Lu <hongjiu.lu@intel.com>
+
+       * po/Make-in (DESTDIR): New.
+       (install-data-yes): Support $(DESTDIR).
+       (uninstall): Likewise.
+
+2003-06-10  Doug Evans  <dje@sebabeach.org>
+
+       * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
+       * Makefile.in: Regenerate.
+
+2003-06-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * configure.tgt (h8300*): Add h8300sxn emulations.
+       * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
+       (eh8300sxn.c, eh8300sxnelf.c): New rules.
+       * Makefile.in: Regenerate.
+       * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
+       * scripttempl/h8300sxn.sc: New file.
+
+2003-06-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
+       CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.
+
+2003-06-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
+       (build_toc_list): New function.
+       (gld${EMULATION_NAME}_finish): Call build_toc_list and
+       ppc64_elf_reinit_toc.  Adjust ppc64_elf_build_stubs call.
+       (OPTION_STUBSYMS): Define.
+       (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
+       (PARSE_AND_LIST_OPTIONS): Document.
+       (PARSE_AND_LIST_ARGS_CASES): Handle.
+
+2003-06-05  Roland McGrath  <roland@redhat.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
+       extra \t in -z noexecstack line.
+
+2003-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldgram.y (phdr_type): Grok PT_GNU_STACK.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
+       -z execstack and -z noexecstack.
+       (gld${EMULATION_NAME}_list_options): Likewise.
+       * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
+
+2003-06-03  Michael Snyder  <msnyder@redhat.com>
+        and Bernd Schmidt   <bernds@redhat.com>
+       and Alexandre Oliva <aoliva@redhat.com>
+
+       * Makefile.am: Add new emulations for h8300sx.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add new emulations.
+       * emulparams/h8300sx.sh: New emulation.
+       * emulparams/h8300sxelf.sh: Ditto.
+       * scripttempl/h8300sx.sc: Ditto.
+
+2003-06-03  H.J. Lu <hongjiu.lu@intel.com>
+
+       * ldmisc.c: Include "bfdlink.h".
+       (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION
+       and -LD_DEFINITION_IN_DISCARDED_SECTION.
+
+       * Makefile.am: Rebuild dependency.
+       * Makefile.in: Regenerated.
+
+2003-06-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
+       * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
+
+2003-06-02  Fabrizio Gennari  <fabrizio.ge@tiscalinet.it>
+
+       * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is
+       sorted alphabetically, instead of exported_symbols, which is
+       sorted by ordinal.
+
+2003-05-30  Ulrich Drepper  <drepper@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       * lexsup.c (OPTION_PIE): Define.
+       (ld_options): Add -pie and --pic-executable options.
+       (parse_args): Handle OPTION_PIE.
+       * ldmain.c (main): Initialize link_info.pie and
+       link_info.executable.
+       * genscripts.sh: Generate PIE scripts.
+       * ld.texinfo: Document -pie and --pic-executable options.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_after_open):
+       (gld${EMULATION_NAME}_place_orphan): Likewise.
+       (gld${EMULATION_NAME}_get_script): Include PIE scripts.
+       * scripttempl/elf.sc: In PIE scripts set . the same way as in
+       shared scripts.
+       * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes.
+       * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise.
+       * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
+
+2003-05-30  H.J. Lu <hongjiu.lu@intel.com>
+
+       * genscripts.sh: Create tmpdir/libpath.exp.
+
+2003-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT
+       with a test for a NULL bfd_for_interworking.
+
+2003-05-29  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS
+       correctly for more recent versions of NetBSD.
+       (alpha*-*-netbsd*): Remove.
+       (i[3-7]86-*-netbsd*): Remove.
+
+2003-05-29  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>.
+
+2003-05-26  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to
+       trap on pointer crops.
+
+2003-05-21  Marcus Comstedt  <marcus@mc.pp.se>
+
+       * configure.tgt: Check for a target triplet of shl-...-netbsdelf
+       as well as shle-...-netbsdelf.
+
+2003-05-16  Kelley Cook  <kelleycook@wideopenwest.com>
+
+       * configure.host: Accept i[3-7]86 variants.
+       * configure.tgt: Likewise.
+
+2003-05-15  H.J. Lu <hongjiu.lu@intel.com>
+
+       * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
+
 2003-05-09  Daniel Jacobowitz  <drow@mvista.com>
 
        * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.
@@ -7,7 +153,7 @@
        * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
 
 2003-05-09  Nick Clifton  <nickc@redhat.com>
-       
+
        * ldlang.c (lang_size_sections_1): Default to generating a
        fatal error message if a loadable section is not allocated
        to a memory region when regions are defined.