bfd/
[binutils-gdb.git] / ld / ChangeLog
index a4948da803964dc1bb22209355ac2ca21248e54a..e5a51293455b5ae469fbe3820ea5a49a05fd6e7b 100644 (file)
@@ -1,3 +1,212 @@
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/3281
+       PR binutils/5037
+       * ldexp.h (ldexp_control): Add relro, relro_start_stat and
+       relro_end_stat.
+
+       * ldexp.c (fold_binary): Set expld.dataseg.relro to
+       exp_dataseg_relro_start or exp_dataseg_relro_end when
+       seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
+       respectively.
+
+       * ldlang.c (lang_size_sections_1): Properly set
+       expld.dataseg.relro_start_stat and
+       expld.dataseg.relro_end_stat.
+       (find_relro_section_callback): New function.
+       (lang_find_relro_sections_1): Likewise.
+       (lang_find_relro_sections): Likewise.
+       (lang_process): Call lang_find_relro_sections for
+       non-relocatable link.
+
+2007-09-17  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2007-09-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW.
+
+2007-09-15  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/5025
+       * emultempl/elf32.em (write_build_id_section): Correct test for
+       "missing" .note.gnu.build-id.  Downgrade error to a warning if
+       it has been discarded.
+
+2007-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldwrite.c (build_link_order <lang_padding_statement_enum>): Correct
+       condition under which we build a bfd_data_link_order.
+
+2007-08-31  Tristan Gingold  <gingold@adacore.com>
+
+       * ldlang.c (lang_map): Increment lang_statement_iteration so that
+       DEFINED() expressions are correctly computed.
+
+2007-08-31  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_record_phdrs): Give a fatal error if no sections
+       assigned to phdrs.  Avoid multiple forward scans for a section
+       with phdr assignment.
+
+2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
+            Joseph Myers  <joseph@codesourcery.com>
+
+       * ldlang.c (sort_sections_by_lma): Sort by internal id after lma
+       for stable sort.
+
+2007-08-28  Robert Sebastian Gerus  <arachnist@gmail.com>
+
+       * configure.host: Add support for i[3-7]86-*-dragonfly*.
+       * configure.tgt: Likewise.
+
+2007-08-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
+
+2007-08-17  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.host: Handle sparcv*-*-linux-* the same as
+       sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.
+
+2007-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/alphaelf.em: Format option help.
+       * emultempl/armcoff.em: Likewise.
+       * emultempl/armelf.em: Likewise.
+       * emultempl/avrelf.em: Likewise.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/hppaelf.em: Likewise.
+       * emultempl/ia64elf.em: Likewise.
+       * emultempl/m68hc1xelf.em: Likewise.
+       * emultempl/ppc32elf.em: Likewise.
+       * emultempl/ppc64elf.em: Likewise.
+       * emultempl/scoreelf.em: Likewise.
+       * emultempl/spuelf.em: Likewise.
+       * emultempl/ticoff.em: Likewise.
+       * emultempl/vxworks.em: Likewise.
+       * emultempl/xtensaelf.em: Likewise.
+
+2007-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
+       * lexsup.c (ld_options): Don't use tabs in help text.
+       * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
+       * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.
+
+2007-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
+
+2007-08-15  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4923
+       * emultempl/elf32.em (after_open): Return immediately when
+        non-ELF output.
+
+2007-08-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * configure.in (ALL_LINGUAS): Add fi.
+       * po/fi.po: New file.
+       * configure: Regenerated.
+
+2007-08-10  Nick Clifton  <nickc@redhat.com>
+
+       * NEWS: Add a marker for the 2.18 features.
+
+2007-08-10  Nick Clifton  <nickc@redhat.com>
+
+       * po/ga.po: Updated Irish translation.
+       * po/vi.po: Updated Vietnamese translation.
+
+2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/4875
+       * elf-hints-local.h: Include bfd_stdint.h.  Use uint32_t
+       instead of u_int32_t.
+
+       * sha1.h: Include bfd_stdint.h instead of <stdint.h>.
+
+2007-08-09  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4515
+       * genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
+       * ldint.texinfo: Likewise.
+       * emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
+       * emulparams/armaoutl.sh: Likewise.
+       * emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
+       * emulparams/bfin.sh: Likewise
+       * emulparams/crisaout.sh: Likewise
+       * emulparams/elf32_sparc.sh: Likewise
+       * emulparams/elf32am33lin.sh: Likewise
+       * emulparams/elf32b4300.sh: Likewise
+       * emulparams/elf32bmip.sh: Likewise
+       * emulparams/elf32mcore.sh: Likewise
+       * emulparams/elf32xtensa.sh: Likewise
+       * emulparams/elf64_s390.sh: Likewise
+       * emulparams/elf64_sparc.sh: Likewise
+       * emulparams/elf64alpha.sh: Likewise
+       * emulparams/elf_i386.sh: Likewise
+       * emulparams/elf_i386_be.sh: Likewise
+       * emulparams/elf_i386_chaos.sh: Likewise
+       * emulparams/elf_i386_ldso.sh: Likewise
+       * emulparams/elf_i386_vxworks.sh: Likewise
+       * emulparams/elf_s390.sh: Likewise
+       * emulparams/elf_x86_64.sh: Likewise
+       * emulparams/i386aout.sh: Likewise
+       * emulparams/i386moss.sh: Likewise
+       * emulparams/i386msdos.sh: Likewise
+       * emulparams/i386nto.sh: Likewise
+       * emulparams/i386nw.sh: Likewise
+       * emulparams/m68kaout.sh: Likewise
+       * emulparams/m68kelf.sh: Likewise
+       * emulparams/ppcnw.sh: Likewise
+       * emulparams/sun4.sh: Likewise
+       * emulparams/tic80coff.sh: Likewise
+       * emulparams/vaxnbsd.sh: Likewise
+       * emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
+       (TEXT_START_ADDR): Set for -n, -N.
+       * emulparams/coff_sparc.sh: Likewise
+       * emulparams/elf32vax.sh: Likewise
+       * emulparams/i386bsd.sh: Likewise
+       * emulparams/i386go32.sh: Likewise
+       * emulparams/i386linux.sh: Likewise
+       * emulparams/i386lynx.sh: Likewise
+       * emulparams/i386mach.sh: Likewise
+       * emulparams/m68k4knbsd.sh: Likewise
+       * emulparams/m68klinux.sh: Likewise
+       * emulparams/m68knbsd.sh: Likewise
+       * emulparams/ns32knbsd.sh: Likewise
+       * emulparams/pc532macha.sh: Likewise
+       * emulparams/ppclynx.sh: Likewise
+       * emulparams/scoreelf.sh: Likewise
+       * emulparams/sparcaout.sh: Likewise
+       * emulparams/sparclinux.sh: Likewise
+       * emulparams/sun3.sh: Likewise
+       * emulparams/vsta.sh: Likewise
+
+2007-08-07  Ralf Corsépius <ralf.corsepius@rtems.org>
+
+       * configure.tgt: Add bfin-*rtems*.
+
+2007-08-06  Kai Tietz  <kai.tietz@onevision.com>
+
+       * emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
+       (gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
+       shared objects.
+       * pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
+       mingw target.
+
+2007-08-01  Nick Clifton  <nickc@redhat.com>
+
+       * po/ga.po: Updated Irish translation.
+
 2007-07-29  Alan Modra  <amodra@bigpond.net.au>
 
        * ldlang.c (lang_insert_orphan): When searching through linker