X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=bae70664580206bfc51f6542e5b3b1e6b96d0267;hb=7bb7d81f10ee6ff8b27f5a9abbe869e2d4c69365;hp=062a0bc01afa1ec3747c54f3a1d3c0a3f4377122;hpb=67a648f17aaf9902891ec61c8025b98612dbbab4;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 062a0bc01a..bae7066458 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,313 @@ +2009-09-01 Ralf Wildenhues + + * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct + source file name for generated files which may be in $(srcdir). + * Makefile.in: Regenerate. + +2009-09-01 H.J. Lu + + * ldver.c (ldversion): Change to "Copyright 2009". + +2009-09-01 Jie Zhang + + * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext, + _stack and __bss_start. + * emulparams/bfin.sh (ENTRY): Remove. + +2009-08-30 Alan Modra + + PR ld/10569 + * ldexp.c (fold_name ): Return config.maxpagesize. + (fold_name ): Similarly. + * ldlang.c (output_target): Make global. + * ldlang.h (output_target): Declare. + * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize. + Similarly for config.commonpagesize. + * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize + and bfd_emul_set_commonpagesize. + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call + bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here. + +2009-08-29 Martin Thuresson + + * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop) + (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new + to new_e. + * ldfile.c (ldfile_add_library_path): Rename variable new to + new_dirs. (ldfile_add_arch): Rename variable new to new_arch. + * ldlang.c (new_statement, lang_final, lang_add_wild) + (lang_target, lang_add_fill, lang_add_data, lang_add_assignment) + (lang_add_insert): Rename variable new to new_stmt. (new_afile): + Added missing cast. (lang_memory_region_lookup): Rename variable + new to new_region. (init_os): Rename variable new to + new_userdata. (lang_add_section): Rename variable new to + new_section. (ldlang_add_undef): Rename variable new to + new_undef. (realsymbol): Rename variable new to new_name. + +2009-08-26 Nick Clifton + + PR ld/10555 + * emultempl/elf32.em (_after_open): Do not create a + .note.gnu-build-id section if there are no input files. + +2009-08-24 Nick Clifton + + * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with + .gnu.lto_ prefix. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/mep.sc: Likewise. + +2009-08-24 Ralf Wildenhues + + * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep + rules. + (eelf32_spu.o): Add dependency tracking. + * Makefile.in: Regenerate. + + * Makefile.am (am__skiplex, am__skipyacc): New. + * Makefile.in: Regenerate. + +2009-08-22 Ralf Wildenhues + + * 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 + + * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix. + +2009-08-12 Tristan Gingold + + * 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 + + 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 + + * 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 + + * 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 + + PR 10474 + * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, + not size, after lang_reset_memory_regions. + +2009-07-30 Alan Modra + + * 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 + + * 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 + + * (po/fi.po): Updated Finnish translation. + +2009-07-25 H.J. Lu + + * 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 + + * NEWS: Mention the linker's support for symbols with a binding of + STB_GNU_UNIQUE. + +2009-07-22 H.J. Lu + + 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 + + * ldlang.c (insert_os_after): Don't tie assignments to non-alloc + output sections. + +2009-07-10 Alan Modra + + * emultempl/ppc32elf.em (ppc_before_allocation): Turn on + linker relaxation if it might be necessary. + +2009-07-10 Alan Modra + + * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt. + +2009-07-06 Matthias Klose + + * ld.texinfo: Fix typo. + +2009-07-03 Tristan Gingold + + * scripttempl/pep.sc: Put .eh_frame in its own section. + * scripttempl/pe.sc: Ditto. + +2009-06-26 Kai Tietz + + * scripttempl/pe.sc (.debug_pubtypes): Added section rule. + * scripttempl/pep.sc: Likewise. + +2009-06-25 Tristan Gingold + + * 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 + + Merge cegcc and mingw32ce target name changes from CeGCC project: + + 2008-09-24 Pedro Alves + + * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to + ${tooldir}/lib/w32api. + + 2007-12-25 Pedro Alves + + * configure.tgt: Add arm*-*-cegcc* target. + + 2007-12-17 Pedro Alves + + * configure.tgt: Add arm-*-mingw32ce* target. + +2009-06-10 Philip Blundell + + * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash + if section has no ELF data. + +2009-06-06 H.J. Lu + + * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc. + +2009-06-05 H.J. Lu + + * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn. + 2009-06-04 Alan Modra * dep-in.sed: Don't use \n in replacement part of s command. @@ -392,7 +702,7 @@ * configure.tgt: Extend AIX 5 behavior to AIX 6 and above. 2009-03-14 Dave Korn - Danny Smith + Danny Smith * emultmpl/pe.em (pe_dll_characteristics): New variable. (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,