+2007-10-17 Zack Weinberg <zack@codesourcery.com>
+
+ * ldlang.c (lang_check_section_addresses): Also report size of
+ overflow for any overflowed memory regions.
+ (os_region_check): Diagnose an overflowed region only once per
+ region. Do not reset region->current on overflow.
+
+2007-10-04 Nick Clifton <nickc@redhat.com>
+
+ PR linker/4844
+ * emultempl/pep.em (pep_find_data_imports): Issue a warning
+ message if auto importing is triggered without
+ --enable-auto-import having been specified on the command line.
+ * emultempl/pe.em (pe_find_data_imports): Likewise.
+
+ PR linker/5097
+ * emultempl/armelf.em (arm_elf_finish): Fix spelling typo.
+
+2007-10-01 Nick Clifton <nickc@redhat.com>
+
+ PR linker/4844
+ * genscript.sh: Add support for generating a .xa script for use
+ with the --auto-import option.
+ * ld.texinfo: Document the new behaviour of the --auto-import
+ option.
+ * ldint.texinfo: Document new script generation.
+ * emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define.
+ * emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define.
+ * emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define.
+ * emultemp/pe.em (..._get_script): Support the use of the auto
+ import script.
+ * scripttempl/pe.sc: Put the .rdata input sections into the .data
+ output section when creating an auto import script.
+ * scripttempl/pep.sc: Likewise.
+
+2007-09-26 Brian Watt <bwatt@us.ibm.com>
+
+ * emultempl/spu_ovl.S: Add debug printf code.
+
+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
+ script to place an orphan, don't stop on statements that appear
+ outside of SECTIONS.
+ * emultempl/elf32.em (output_rel_find): Prefer read-only alloc
+ sections over read/write alloc sections.
+
+2007-07-28 Jakub Jelinek <jakub@redhat.com>
+
+ * scripttempl/elf.sc: Add .note.gnu.build-id.
+
+2007-07-25 Nick Clifton <nickc@redhat.com>
+
+ PR 4824
+ * ld.texinfo (Options): Extend the description of the -O command
+ line option.
+
+2007-07-24 Kai Tietz <kai.tietz@onevision.com>
+
+ * pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
+
+2007-07-21 Nick Clifton <nickc@redhat.com>
+
+ * sha1.h: Change to use version 3 of the GNU General Public
+ License and tidy up formatting.
+ * sha1.c: Likewise.
+
+2007-07-19 Roland McGrath <roland@redhat.com>
+
+ * genscripts.sh (source_em, fragment): New sh functions.
+ Truncate e${EMULATION_NAME}.c file before .em script fills it.
+ Use source_em in place of . for the .em script.
+ * emultempl/generic.em: Use fragment and source_em functions.
+ * emultempl/aix.em: Likewise.
+ * emultempl/alphaelf.em: Likewise.
+ * emultempl/armcoff.em: Likewise.
+ * emultempl/armelf.em: Likewise.
+ * emultempl/avrelf.em: Likewise.
+ * emultempl/beos.em: Likewise.
+ * emultempl/cr16elf.em: Likewise.
+ * emultempl/crxelf.em: Likewise.
+ * emultempl/elf-generic.em: Likewise.
+ * emultempl/elf32.em: Likewise.
+ * emultempl/genelf.em: Likewise.
+ * emultempl/gld960.em: Likewise.
+ * emultempl/gld960c.em: Likewise.
+ * emultempl/hppaelf.em: Likewise.
+ * emultempl/ia64elf.em: Likewise.
+ * emultempl/irix.em: Likewise.
+ * emultempl/linux.em: Likewise.
+ * emultempl/lnk960.em: Likewise.
+ * emultempl/m68hc1xelf.em: Likewise.
+ * emultempl/m68kcoff.em: Likewise.
+ * emultempl/m68kelf.em: Likewise.
+ * emultempl/mipsecoff.em: Likewise.
+ * emultempl/mipself.em: Likewise.
+ * emultempl/mmix-elfnmmo.em: Likewise.
+ * emultempl/mmixelf.em: Likewise.
+ * emultempl/mmo.em: Likewise.
+ * emultempl/needrelax.em: Likewise.
+ * emultempl/netbsd.em: Likewise.
+ * emultempl/pe.em: Likewise.
+ * emultempl/pep.em: Likewise.
+ * emultempl/ppc32elf.em: Likewise.
+ * emultempl/ppc64elf.em: Likewise.
+ * emultempl/scoreelf.em: Likewise.
+ * emultempl/sh64elf.em: Likewise.
+ * emultempl/spuelf.em: Likewise.
+ * emultempl/sunos.em: Likewise.
+ * emultempl/ticoff.em: Likewise.
+ * emultempl/vanilla.em: Likewise.
+ * emultempl/vxworks.em: Likewise.
+ * emultempl/xtensaelf.em: Likewise.
+ * emultempl/z80.em: Likewise.
+
+2007-07-18 Roland McGrath <roland@redhat.com>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
+ Use ASEC->contents for CONTENTS when missing, and allocate
+ ASEC->size if needed.
+
+2007-07-13 Roland McGrath <roland@redhat.com>
+
+ * emultempl/elf32.em (struct build_id_info): New type.
+ (gld${EMULATION_NAME}_id_note_section_size): New function.
+ (gld${EMULATION_NAME}_write_build_id_section): New function.
+ (gld${EMULATION_NAME}_after_open): Use them.
+ (DEFAULT_BUILD_ID_STYLE): Change to "sha1".
+ * ld.texinfo (Options): Mention --build-id=sha1.
+
+ * sha1.h: New file (from gnulib).
+ * sha1.c: New file (from gnulib).
+ * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
+ (sha1.o): New target.
+ * Makefile.in: Regenerated.
+
+2007-07-13 Alan Modra <amodra@bigpond.net.au>
+
+ * ldlang.c (strip_excluded_output_sections): Don't ignore sections
+ with update_dot_tree.
+
+2007-07-12 Nathan Sidwell <nathan@codesourcery.com>
+
+ * scripttempl/pe.sc: Don't include .gcc_except_table and
+ .eh_frame on partial links.
+ * scripttempl/pep.sc: Likewise.
+
+2007-07-12 Alan Modra <amodra@bigpond.net.au>
+
+ PR 4782
+ * ldlang.c (lang_size_sections_1 <output_section_statement>): Only
+ use expld.result when valid.
+
+2007-07-12 Alan Modra <amodra@bigpond.net.au>
+
+ * emultempl/spuelf.em (embedded_spu_file): Test for NULL path
+ before calling base_name, not after.
+
+2007-07-10 Alan Modra <amodra@bigpond.net.au>
+
+ * scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE. Add
+ .gnu.debuglink.
+ * scripttempl/armbpabi.sc: Likewise.
+ * scripttempl/elf32sh-symbian.sc: Likewise.
+ * scripttempl/elfxtensa.sc: Likewise.
+ * scripttempl/mep.sc: Likewise.
+
+2007-07-09 Roland McGrath <roland@redhat.com>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
+ (gld${EMULATION_NAME}_handle_option): Handle --build-id.
+ (gld${EMULATION_NAME}_list_options): List --build-id.
+ (gld${EMULATION_NAME}_after_open): If --build-id was given,
+ synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
+ * ld.texinfo (Options): Describe --build-id.
+ * NEWS: Mention --build-id.
+
+2007-07-06 Nick Clifton <nickc@redhat.com>
+
+ * deffile.h: Update copyright notice to refer to GPLv3.
+ * deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
+ ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
+ ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
+ ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
+ mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
+ sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
+ emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
+ emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
+ emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
+ emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
+ emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
+ emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
+ emultempl/m68kcoff.em, emultempl/m68kelf.em,
+ emultempl/mipsecoff.em, emultempl/mipself.em,
+ emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
+ emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
+ emultempl/ppc32elf.em, emultempl/ppc64elf.em,
+ emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
+ emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
+ emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
+ * genscripts.sh: Add copyright notice.
+ * emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
+ Likewise.
+ * NEWS: Mention that the sources are now under GPLv3.
+ * configure: Regenerate.
+
+2007-07-05 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
+ (--stack): Likewise.
+
+2007-07-03 Matthias Klose <doko@ubuntu.com>
+
+ * emultempl/spuelf.em (base_name): Correct backslash quoting.
+
+2007-07-02 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+ * config.in: Regenerate.
+ * po/ld.pot: Regenerate.
+
+2007-06-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ * aclocal.m4: Regenerated.
+ * Makefile.in: Likewise.
+
2007-06-29 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Remove a line with '*' only.
scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
-2006-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+2007-06-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* scripttemp/elf32cr16.sc: Default linker script.
* emulparams/elf32cr16.sh: Emulation script.
2007-06-11 Sterling Augustine <sterling@tensilica.com>
Bob Wilson <bob.wilson@acm.org>
-
+
* emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
-
+
2007-06-01 Noah Misch <noah@cs.caltech.edu>
Alan Modra <amodra@bigpond.net.au>
2007-05-05 Anatoly Sokolov <aesok@post.ru>
- * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
+ * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
"--pmem-wrap-around".
(PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".