Cleanups in binutils makefiles.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index b267a8520379dbda94a383944bc0023afc4f8b7b..6b11a80db7b45dceaed6fcb3f2f9654b39ab311d 100644 (file)
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (bin_PROGRAMS): Renamed from ...
+       (noinst_PROGRAMS): ... this.
+       (transform): Override, including the renaming of ld-new to ld.
+       (install-exec-local): Installation of ld in $(bindir) not needed
+       here any more.
+       (AM_CPPFLAGS): Renamed from ...
+       (INCLUDES): ... this.
+       (MAINTAINERCLEANFILES): Add ld.1.
+       * Makefile.in: Regenerate.
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus.  Add
+       no-texinfo.tex, no-dist, foreign.
+       (TEXINFO_TEX): New variable.
+       (install-data-local): Removed, not needed any more.
+       (all): Dependencies upon info and ld.1 not needed any more.
+       (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
+       (mkdep generated section): Removed.
+       (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
+       use automake dependency tracking mechanism.
+       (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
+       $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
+       dependencies are tracked too.
+       (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
+       are built early.
+       * configure.in: Use AM_MAINTAINER_MODE.
+       * aclocal.m4, configure, Makefile.in: Regenerate.
+
+       * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
+       (install-pdf-recursive, html__strip_dir, install-html)
+       (install-html-am, install-html-recursive): Remove.
+       * Makefile.in: Regenerate.
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Likewise.
+       * config.in: Likewise.
+       * configure: Likewise.
+
+2009-08-21  Richard Guenther  <rguenther@suse.de>
+
+       * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
+
+2009-08-12  Tristan Gingold  <gingold@adacore.com>
+
+       * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
+       * ldlang.c (hash_entry_addr_cmp): New function.
+       (print_all_symbols): Sort the symbols by address before printing them.
+
+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.
+       Merge cegcc and mingw32ce target name changes from CeGCC project:
 
-  2008-09-24  Pedro Alves  <pedroalves@users.sourceforge.net>
+       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>
+       2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
 
        * configure.tgt: Add arm*-*-cegcc* target.
 
-  2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
+       2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
 
        * configure.tgt: Add arm-*-mingw32ce* target.
 
        * 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.028583 seconds and 4 git commands to generate.