2009-08-10 Paul Pluzhnikov <ppluzhnikov@google.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 251812e278c832709678fc4949bbff34ef922e9c..e6897fc3047de36e1e413f1f7c18fbdf9b738512 100644 (file)
@@ -1,3 +1,102 @@
+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
This page took 0.024691 seconds and 4 git commands to generate.