PR ld/10744
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 56e69c38e2bf0912a93d5d1f989926da5f40cb26..5ed952e0a9ee7aa9d6003b7fc3348ecca393dcf8 100644 (file)
@@ -1,3 +1,231 @@
+2009-10-08  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/10744
+       * ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
+       first PT_LOAD header.
+       * ld.texinfo: Update.
+
+2009-10-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
+       segments do not appear after a different loadable segment.
+       * ld.texinfo (PHDRS): Document order of processing segments.
+       Document where PHDRS and FILEHDR may appear.
+
+2009-10-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
+       (ppc_after_open): Set emit_stubs_syms by default when shared.
+       (OPTION_NO_STUBSYMS): Define.
+       (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
+       PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
+       * emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
+       (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
+       (OPTION_NO_STUBSYMS): Define.
+       (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
+       PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
+
+2009-09-29  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+       * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
+       (rts).
+
+2009-09-29  DJ Delorie  <dj@redhat.com>
+
+       * Makefile.am: Add rules to build RX emulation.
+       * configure.tgt: Likewise.
+       * NEWS: Mention support for RX architecture.
+       * Makefile.in: Regenerate.
+       * emulparams/elf32rx.sh: New file.
+       * emultempl/rxelf.em: New file.
+
+2009-09-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_size_sections_1): Allow scripts to specify a
+       non-zero vma even when relocatable.
+
+2009-09-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
+       * scripttempl/elf32cr16c.sc: Likewise.
+       * scripttempl/elf32crx.sc: Likewise.
+       * scripttempl/tic54xcoff.sc: Likewise.
+       * scripttempl/aix.sc: Delete ${RELOCATING-0}.
+       * scripttempl/avr.sc: Likewise.
+       * scripttempl/elf32msp430.sc: Likewise.
+       * scripttempl/elf32msp430_3.sc: Likewise.
+       * scripttempl/elf32sh-symbian.sc: Likewise.
+       * scripttempl/elf_chaos.sc: Likewise.
+       * scripttempl/elfi370.sc: Likewise.
+       * scripttempl/nw.sc: Likewise.
+       * scripttempl/psos.sc: Likewise.
+       * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
+       * scripttempl/elf.sc: Likewise.
+       * scripttempl/elf64hppa.sc: Likewise.
+       * scripttempl/elfd10v.sc: Likewise.
+       * scripttempl/elfd30v.sc: Likewise.
+       * scripttempl/elfm68hc11.sc: Likewise.
+       * scripttempl/elfm68hc12.sc: Likewise.
+       * scripttempl/elfmicroblaze.sc: Likewise.
+       * scripttempl/elfxtensa.sc: Likewise.
+       * scripttempl/iq2000.sc: Likewise.
+       * scripttempl/mep.sc: Likewise.
+       * scripttempl/xstormy16.sc: Likewise.
+
+2009-09-27  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * ldlang.c (lang_size_sections_1): Always force output vma to zero for
+       relocatable sections.
+       (lang_size_sections_1): Revert previous COFF-only accommodation for
+       relocatable sections.
+
+2009-09-25  Martin Thuresson  <martint@google.com>
+
+       Update sources to make arm targets compile cleanly with
+       -Wc++-compat:
+       * emultempl/armelf.em: Add casts.
+
+2009-09-23  Matt Rice  <ratmice@gmail.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
+       --depaudit, and -P options.
+       (gld${EULATION_NAME}_handle_options): Ditto.
+       (gld${EULATION_NAME}_list_options): Ditto.
+       (gld${EMULATION_NAME}_append_to_separated_string): New function for
+       handling rpath-like colon separated strings.
+       (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
+       libs to bfd.  Propagate DT_AUDIT from needed libs to depaudit.
+       * ld.texinfo: Document new options.
+
+2009-09-23  Nick Clifton  <nickc@redhat.com>
+
+       * po/vi.po: Updated Vietnamese translation.
+
+2009-09-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/a29k.sc: Delete.
+       * scripttempl/ebmon29k.sc: Delete.
+       * scripttempl/m68klynx.sc: Delete.
+       * scripttempl/sa29200.sc: Delete.
+       * scripttempl/sparclynx.sc: Delete.
+
+2009-09-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
+       (ppc_before_allocation): Pass to ppc_elf_tls_setup.
+       (OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
+       terms of previous option.
+       (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
+       --no-tls-get-addr-optimize.
+       (PARSE_AND_LIST_ARGS_CASES): Handle it.
+       * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
+       (ppc_before_allocation): Pass to ppc64_elf_tls_setup.
+       (OPTION_NO_TLS_GET_ADDR_OPT): Define.
+       (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
+       --no-tls-get-addr-optimize.
+       (PARSE_AND_LIST_ARGS_CASES): Handle it.
+
+2009-09-18  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2009-09-13  Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/6766
+       * lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
+       * ldemul.c (after_parse_default): Add entry symbol as undef.
+       * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
+       * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
+       * emultempl/crxelf.em (crxelf_after_parse): Likewise.
+       * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
+       * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
+       * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
+       after_parse_default and delete now duplicate code.
+       * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
+       * scripttempl/elf32cr16.sc: No need to make entry extern.
+       * scripttempl/elf32cr16c.sc: Likewise.
+       * scripttempl/elf32crx.sc: Likewise.
+       * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/ld.pot: Updated by the Translation project.
+       * po/fi.po: Updated Finnish translation.
+
+2009-09-11  Martin Thuresson  <martint@google.com>
+
+       Updated sources to compile cleanly with -Wc++-compat:
+       * ld.h (enum endian_enum,enum symbolic_enum,enum
+       dynamic_list_enum): Move to top level.
+       * ldcref.c: Add casts.
+       * ldctor.c: Add casts.
+       * ldexp.c
+       * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
+       * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
+       of integer.
+       * ldlang.h (enum statement_enum): Move to top level.
+       * ldmain.c: Add casts.
+       * ldwrite.c: Add casts.
+       * lexsup.c: Add casts. (enum control_enum): Move to top level.
+       * mri.c: Add casts. (mri_draw_tree): Use enum name instead of
+       integer.
+
+2009-09-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/aix.sc: Only provide ENTRY on final link.
+       * scripttempl/alpha.sc: Likewise.
+       * scripttempl/armcoff.sc: Likewise.
+       * scripttempl/crisaout.sc: Likewise.
+       * scripttempl/delta68.sc: Likewise.
+       * scripttempl/ebmon29k.sc: Likewise.
+       * scripttempl/elf32xc16x.sc: Likewise.
+       * scripttempl/elf32xc16xl.sc: Likewise.
+       * scripttempl/elfmicroblaze.sc: Likewise.
+       * scripttempl/epocpe.sc: Likewise.
+       * scripttempl/h8300.sc: Likewise.
+       * scripttempl/h8300h.sc: Likewise.
+       * scripttempl/h8300hn.sc: Likewise.
+       * scripttempl/h8300s.sc: Likewise.
+       * scripttempl/h8300sn.sc: Likewise.
+       * scripttempl/h8300sx.sc: Likewise.
+       * scripttempl/h8300sxn.sc: Likewise.
+       * scripttempl/hppaelf.sc: Likewise.
+       * scripttempl/i386beos.sc: Likewise.
+       * scripttempl/i386coff.sc: Likewise.
+       * scripttempl/i386go32.sc: Likewise.
+       * scripttempl/m68kaux.sc: Likewise.
+       * scripttempl/m68klynx.sc: Likewise.
+       * scripttempl/m88kbcs.sc: Likewise.
+       * scripttempl/maxqcoff.sc: Likewise.
+       * scripttempl/mcorepe.sc: Likewise.
+       * scripttempl/mips.sc: Likewise.
+       * scripttempl/ppcpe.sc: Likewise.
+       * scripttempl/sa29200.sc: Likewise.
+       * scripttempl/sparccoff.sc: Likewise.
+       * scripttempl/sparclynx.sc: Likewise.
+       * scripttempl/tic4xcoff.sc: Likewise.
+       * scripttempl/tic54xcoff.sc: Likewise.
+       * scripttempl/tic80coff.sc: Likewise.
+       * scripttempl/z8000.sc: Likewise.
+
+2009-09-07  Tristan Gingold  <gingold@adacore.com>
+
+       * po/ld.pot: Regenerate.
+
+2009-09-05  Martin Thuresson  <martin@mtme.org>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
+       gld${EMULATION_NAME}_try_needed): Rename variable class to
+       link_class.
+
+2009-09-04  Tristan Gingold  <gingold@adacore.com>
+
+       * NEWS: Add marker for 2.20.
+
+2009-09-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf.sc (.text): Add cold text sections.
+
 2009-09-04  Jie Zhang  <jie.zhang@analog.com>
 
        * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
 
 2009-08-06  Michael Eager <eager@eagercon.com>
 
-       * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to 
+       * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
        ALL_EMULATIONS, targets.
        * Makefile.in: Regenerate.
        * configure.tgt: Add microblaze*-linux*, microblaze* targets.
        * emulparams/elf32mb_linux.sh: New.
        * emulparams/elf32microblaze.sh. New.
-       * scripttempl/elfmicroblaze.sc: New. 
+       * scripttempl/elfmicroblaze.sc: New.
 
 2009-08-05  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
 
 
 2009-08-04  Alan Modra  <amodra@bigpond.net.au>
 
-       PR 10474
+       PR 10474
        * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
        not size, after lang_reset_memory_regions.
 
 
        * scripttempl/pep.sc: Put .eh_frame in its own section.
        * scripttempl/pe.sc: Ditto.
-       
+
 2009-06-26  Kai Tietz  <kai.tietz@onevision.com>
 
        * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
 
 2009-04-25  Alan Modra  <amodra@bigpond.net.au>
 
-       PR 10061
+       PR 10061
        * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
        param.
 
 2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
 
        * ld.texinfo (Options): Correct typos in example.  Recommend
-       using joined forms of syntax for passing options with arguments 
+       using joined forms of syntax for passing options with arguments
        from a driver.
        (-a): Use consistent syntax for documenting option arguments.
        Clean up indexing and markup.
This page took 0.055013 seconds and 4 git commands to generate.