2009-08-10 Paul Pluzhnikov <ppluzhnikov@google.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
index a7b8fdd474d7dbcfcf2c35aef849237cec237254..e6897fc3047de36e1e413f1f7c18fbdf9b738512 100644 (file)
@@ -1,3 +1,270 @@
+2009-08-10  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 10474
+       * ldemul.c (after_allocation_default): Run lang_relax_sections.
+       * ldlang.h (lang_relax_sections): Declare.
+       * ldlang.c (relax_sections): Delete.
+       (lang_relax_sections): New function.
+       (lang_process): Don't relax directly from here.
+       * emultempl/alphaelf.em (alpha_finish): Call finish_default.
+       * emultempl/armelf.em (arm_elf_after_allocation): Delete.  Move body..
+       (gld${EMULATION_NAME}_finish): ..to here.  Move existing code..
+       (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
+       (LDEMUL_AFTER_ALLOCATION): Update.
+       * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
+       (avr_elf_after_allocation): New function.
+       (LDEMUL_AFTER_ALLOCATION): Define.
+       * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
+       lang_relax_sections.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete.  Move..
+       (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
+       (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
+       * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
+       (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
+       (LDEMUL_FINISH): Delete.
+       (LDEMUL_AFTER_ALLOCATION): Define.
+       * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
+       (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
+       (LDEMUL_FINISH): Delete.
+       (LDEMUL_AFTER_ALLOCATION): Define.
+       * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete.  Move..
+       (m68hc11elf_after_allocation): ..to here.  New function.
+       (LDEMUL_FINISH): Delete.
+       (LDEMUL_AFTER_ALLOCATION): Define.
+       * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
+       gld${EMULATION_NAME}_after_allocation.
+       * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
+       gld${EMULATION_NAME}_after_allocation.
+       * emultempl/mmo.em (mmo_finish): Delete.  Move body..
+       (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
+       (LDEMUL_FINISH): Define.
+       * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
+       (gld${EMULATION_NAME}_finish): Move code sizing sections..
+       (gld${EMULATION_NAME}_after_allocation): ..to here.
+       * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
+       Call gld${EMULATION_NAME}_after_allocation.
+       * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
+       bfd_elf_discard_info and map_segments call.
+
+2009-08-06  Michael Eager <eager@eagercon.com>
+
+       * 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. 
+
+2009-08-05  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+
+       * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
+       section and __fixup_start symbol.
+       * emultempl/spuelf.em (params): Initialize emit_fixups member.
+       (spu_before_allocation): Call spu_elf_size_sections.
+       (OPTION_SPU_EMIT_FIXUPS): Define.
+       (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
+       (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
+       * ld.texinfo (--emit-fixups): Document.
+
+2009-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 10474
+       * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
+       not size, after lang_reset_memory_regions.
+
+2009-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
+       * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
+       * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
+       * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
+       when !IREL_IN_PLT.
+
+2009-07-29  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
+       the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
+       (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
+       (ENTRY): Don't emit for relocateable links.
+       (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
+       * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
+       elf64-mmix.
+       * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
+       provide "Main" or set "_start.", for relocateable links.
+
+2009-07-27  Nick Clifton  <nickc@redhat.com>
+
+       * (po/fi.po): Updated Finnish translation.
+
+2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
+       is supported.  Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
+       (targ_extra_emuls): Likewise.
+
+       * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
+       eelf_l1om_fbsd.o
+       (eelf_l1om.c): New.
+       (eelf_l1om_fbsd.c): Likewise.
+       * Makefile.in: Regenerated.
+
+       * emulparams/elf_l1om.sh: New.
+       * emulparams/elf_l1om_fbsd.sh: Likewise.
+
+2009-07-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * NEWS: Mention the linker's support for symbols with a binding of
+       STB_GNU_UNIQUE.
+
+2009-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/10429
+       * ldlang.c (insert_os_after): Tie assignments to non-alloc
+       output sections if there is no-input section.
+
+2009-07-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
+       output sections.
+
+2009-07-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
+       linker relaxation if it might be necessary.
+
+2009-07-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
+
+2009-07-06  Matthias Klose <doko@ubuntu.com>
+
+       * ld.texinfo: Fix typo.
+
+2009-07-03  Tristan Gingold  <gingold@adacore.com>
+
+       * 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.
+       * scripttempl/pep.sc: Likewise.
+
+2009-06-25  Tristan Gingold  <gingold@adacore.com>
+
+       * ldlang.c (print_input_section): Add is_discarded parameter.  Adjust
+       prototype.
+       (lang_map): Print the size of discarded sections.
+       (print_statement): Adjust call to print_input_section.
+
+2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       Merge cegcc and mingw32ce target name changes from CeGCC project:
+
+       2008-09-24  Pedro Alves  <pedroalves@users.sourceforge.net>
+
+       * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
+       ${tooldir}/lib/w32api.
+
+       2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.tgt: Add arm*-*-cegcc* target.
+
+       2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.tgt: Add arm-*-mingw32ce* target.
+
+2009-06-10  Philip Blundell  <philb@gnu.org>
+
+       * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
+       if section has no ELF data.
+
+2009-06-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
+
+2009-06-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
+
+2009-06-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Don't use \n in replacement part of s command.
+       * Makefile.am (DEP1): LC_ALL for uniq.
+       * Makefile.in: Regenerate.
+
+2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * scripttempl/elf.sc (PLT): Add "*(.iplt)".
+       (GOT): Add "*(.igot.plt)a" and "*(.igot)".
+       (GOTPLT): Add "*(.igot)".
+       (__rel_iplt_start): New.
+       (__rel_iplt_end): Likewise.
+       (__rela_iplt_start): Likewise.
+       (__rela_iplt_end): Likewise.
+
+2009-05-27  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * deffilep.y (%union):  Add new string-type semantic value 'digits'.
+       (%token):  Remove NUMBER as token, add DIGITS.
+       (%type):  Add NUMBER as type.  Add new id types anylang_id, opt_id.
+       (ALIGNCOMM):  Parse an anylang_id instead of a plain ID.
+       (anylang_id):  New production.
+       (opt_digits):  Likewise.
+       (opt_id):  Likewise.
+       (NUMBER):  Likewise.
+       (def_lex):  Return strings of digits in raw string form as DIGITS
+       token, instead of converting to numeric integer type.
+
+2009-05-26  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ldmain.c (main): Don't reject --relax -r.
+       * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
+       partial links.
+
+2009-05-26  Nick Clifton  <nickc@redhat.com>
+
+       * po/id.po: Updated Indonesian translation.
+       * po/ld.pot: Updated template file.
+
+2009-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Output one filename per line with all lines having
+       continuation backslash.  Prefix first line with "A", following
+       lines with "B".
+       * Makefile.am (DEP): Don't use dep.sed here.
+       (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
+       sort and uniq.
+       * Makefile.in: Regenerate.
+
+2009-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
+
+2009-05-22  Julian Brown  <julian@codesourcery.com>
+
+       * emultempl/armelf.em (fix_cortex_a8): New.
+       (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
+       (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
+       bfd_elf32_arm_set_target_relocs.
+       (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
+       (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
+       (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
+       (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
+       * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
+
+2009-05-22  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ldlang.c (lang_check_section_addresses): Ignore non-loadable
+       sections when checking for overlap.  Clarify error message
+       concerns load address.
+
+2009-05-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
 2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        * NEWS:  Mention new feature.
        * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
 
 2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
-            Danny Smith  <dannysmith@users.sourceforge.net>
+           Danny Smith  <dannysmith@users.sourceforge.net>
 
        * emultmpl/pe.em (pe_dll_characteristics): New variable.
        (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
This page took 0.025762 seconds and 4 git commands to generate.