X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=22f7c69c78fd21970964bf6daf5e9af555559e85;hb=11cba4accf7f9a82fdb7902f0e36521038eda205;hp=cd3e4ccef4de8e640f0d1a7e6daaf2d36571b4c8;hpb=443507505d3a8bac2b5dc2e8578af2006f68cc80;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index cd3e4ccef4..22f7c69c78 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,444 @@ +2012-08-30 H.J. Lu + + PR ld/14525 + * scripttempl/elf.sc: Also provide __executable_start for PIE. + +2012-08-17 Kai Tietz + + PR ld/14326 + * scripttempl/pe.sc: Add _etext symbol. + +2012-08-14 Nick Clifton + + * configure.in (ALL_LINGUGAS): Add uk. + * configure: Regenerate. + * po/uk.po: New Ukranian translation. + +2012-08-13 Ian Bolton + Laurent Desnogues + Jim MacArthur + Marcus Shawcroft + Nigel Stephens + Ramana Radhakrishnan + Richard Earnshaw + Sofiane Naci + Tejas Belagod + Yufeng Zhang + + * Makefile.am: Add AArch64. + * Makefile.in: Regenerate. + * configure.tgt: Add AArch64. + * emulparams/aarch64elf.sh: New file. + * emulparams/aarch64elfb.sh: New file. + * emulparams/aarch64linux.sh: New file. + * emulparams/aarch64linuxb.sh: New file. + * emultempl/aarch64elf.em: New file. + * NEWS: Mention the new feature. + +2012-08-09 Nick Clifton + + * po/vi.po: Updated Vietnamese translation. + +2012-08-07 Daniel Green + + * scripttempl/pe.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. + * scripttempl/pep.sc (R_TLS): Add .tls$AAA and .tls$ZZZ. + +2012-08-07 Nick Clifton + + * po/ja.po: Updated Japanese translation. + +2012-08-06 Maciej W. Rozycki + + * emulparams/elf32bmip.sh: Make _gp hidden. + * emulparams/elf32bmipn32-defs.sh: Likewise. + * emulparams/elf32mipswindiss.sh: Likewise. + * scripttempl/mips.sc: Likewise. + +2012-08-06 Maciej W. Rozycki + + * ldexp.h (etree_union): Add defsym member to the assign member + structure. + (exp_assign): Add hidden argument to prototype. + * ldexp.c (exp_fold_tree_1): Use the defsym member to handle + --defsym symbols. + (exp_assop): Add defsym argument, initialize the defsym member + of the assign structure. + (exp_assign): Handle hidden symbols. + (exp_defsym): Update to use the defsym argument to exp_assop. + (exp_provide): Update to handle the defsym argument to exp_assop. + * ldlex.l (HIDDEN): New token. + * ldgram.y (HIDDEN): Likewise. + (assignment, section): Update calls to exp_assign. + * ldctor.c (ldctor_build_sets): Likewise. + * mri.c (mri_format): Likewise. + * ldlang.c (lang_insert_orphan, lang_leave_overlay): Likewise. + (open_input_bfds): Remove --defsym symbols special case. + * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Update + call to exp_assign. + * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise. + * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise. + * emultempl/spuelf.em (spu_place_special_section): Likewise. + * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): + Likewise. + * ld.texinfo (Assigning Values to Symbols): Add HIDDEN. + (HIDDEN): New subsection. + +2012-07-31 H.J. Lu + + PR ld/14156 + * ldlang.c (wild_sort): Properly handle by_none. + + * scripttempl/elf.sc: Add SORT_NONE to .init and .fini sections. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + +2012-07-30 Nick Clifton + + * po/ld.pot: Updated template. + * po/bg.po: Updated Bulgarian translation. + * po/es.po: Updated Spanish translation. + * po/fi.po: Updated Finnish translation. + +2012-07-27 Mike Frysinger + + * configure.in (BFD_VERSION): Run bfd/configure --version and + parse the output of that. + * configure: Regenerate. + +2012-07-27 Tristan Gingold + + * NEWS: Add marker for 2.23. + +2012-07-24 Jan Waclawek + + PR ld/14058 + * emultempl/avrelf.em (avr_elf_after_allocation): Call + elf32_avr_size_stubs with is_prealloc_run as TRUE. + +2012-07-13 Andreas Krebbel + + * emulparams/elf_s390.sh (IREL_IN_PLT): Define. + * emulparams/elf64_s390.sh (IREL_IN_PLT): Define. + +2012-07-13 Nick Clifton + + PR ld/14357 + * ldmain.c (trace_file_tries): Rename to 'verbose'. + * ldfile.c: Likewise. + * ldlang.c: Likewise. + * ldmain.h: Likewise. + * lexsup.c: Likewise. + * emultempl/elf32.em: Likewise. + * emultemp/spuelf.em: Likewise. + * pe-dll.c (pe_dll_generate_implib): Only print creation message + in verbose mode. + +2012-07-10 H.J. Lu + + PR ld/14156 + * NEWS: Mention SORT_NONE. + + * ld.h (sort_type): Add by_none. + + * ld.texinfo: Document SORT_NONE. + + * ldgram.y: Handle SORT_NONE. + + * ldlang.c (update_wild_statements): Handle by_none. Don't + sort .init/.fini sections. + + * ldlex.l: Add SORT_NONE. + +2012-07-02 H.J. Lu + + * ld.texinfo: Replace __end_SECNAME with __stop_SECNAME. + +2012-06-29 Nick Clifton + + * scripttempl/alphavms.sc: Add .debug_macro section. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/ia64vms.sc: Likewise. + + * scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and + .debug_macro sections. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32cr16.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfxgate.sc: Likewise. + * scripttempl/i386beos.sc: Likewise. + * scripttempl/i386go32.sc: Likewise. + * scripttempl/ip2k.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/mmo.sc: Likewise. + * scripttempl/v850.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2012-06-28 H.J. Lu + + * ldlang.c (update_wild_statements): Remove redundant statement. + +2012-06-25 Alan Modra + + * ldlang.c (load_symbols): Close file and set flags.loaded + after parsing script file. + (open_input_bfds): Don't segv on closed script. + +2012-06-24 H.J. Lu + + * configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32. + Remove x32 in tdir_i386linux and tdir_elf_i386. + +2012-06-22 Roland McGrath + + * NEWS: Mention __ehdr_start. + +2012-06-21 Alan Modra + + * ldlang.c (lang_insert_orphan): Don't make __start_ symbol + absolute, and remove unnecessary alignment. + +2012-06-16 Alan Modra + + * ldlang.h (lang_output_section_statement_type): Add after_end field. + (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. + (section_for_dot): Declare. + * ldlang.c (lang_size_sections_1): Correct comment. + (current_section): Move earlier. + (current_assign, prefer_next_section): New static vars. + (lang_do_assignments_1): Add found_end param. Detect _end + assignment to set found_end. Set os->after_end. Set above statics. + (lang_do_assignments): Adjust lang_do_assignments_1 call. Init + vars. + (section_for_dot): New function. + (lang_set_startof): Don't make an absolute symbol. + (lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete. + * ldexp.c (new_rel_from_abs): Use section_for_dot. + * emultempl/lnk960.em (symbol_at_beginning_of): New function. + (symbol_at_end_of): Likewise. + (lnk960_after_allocation): Use them. + * scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and + likewise before __bss_start. + +2012-06-14 H.J. Lu + + * plugin.c (set_tv_header): Handle link_info.pie. + +2012-06-11 Alan Modra + + PR ld/14215 + * ldexp.c (fold_name ): Allow forward section + references. + * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of + .got.plt. + * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise. + * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise. + * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise. + * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise. + * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise. + * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise. + * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise. + * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise. + +2012-06-07 Georg-Johann Lay + + PR 13697 + * scripttempl/avr.sc (.data): Keep it. + +2012-06-02 Andreas Schwab + + * Makefile.am (TEXINFO_TEX): Remove $(top_srcdir) prefix. + * Makefile.in: Regenerate. + +2012-05-30 Alan Modra + + * ldlang.h (lang_output_section_statement_type): Rename + "section_relative_symbol" field to "update_dot". + * ldlang.c: Update all uses. + (strip_excluded_output_sections): Don't test update_dot_tree here.. + (lang_leave_overlay): ..set update_dot here. + +2012-05-26 Alan Modra + + * ldlex.h (enum option_values): Move from.. + * lexsup.c: ..here. + * emultempl/ppc32elf.em: Include ldlex.h. + (PARSE_AND_LIST_ARGS_CASES): Disable optimisations when + --traditional-format. + * emultempl/ppc64elf.em: Likewise. + +2012-05-25 Alan Modra + + PR ld/13909 + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Handle + multiple .eh_frame sections attached to bfd. + +2012-05-23 Cary Coutant + + * scripttempl/armbpabi.sc: Match .data.rel.ro.* sections more + carefully. Fix typo where .rela.data.rel.ro matches + .rel.data.rel.ro. + * scripttempl/mep.sc: Likewise. + * scripttempl/elf.sc: Match .data.rel.ro.* sections more carefully. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + +2012-05-17 Daniel Richard G. + Nick Clifton + + PR 14072 + * configure.in: Add check that sysdep.h has been included before + any system header files. + * configure: Regenerate. + * config.in: Regenerate. + * sysdep.h: Generate an error if included before config.h. + +2012-05-16 Sergio Durigan Junior + + * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' + as the first argument for `bfd_get_section_name'. + +2012-05-16 Samuel Thibault + + PR ld/14069 + * emultempl/elf32.em: Include *-*-gnu* targets in ld.so.conf + support. + +2012-05-15 James Murray + + * NEWS: Mention the support for S12X processors. + +2012-05-14 James Lemke + + * ldlang.c (walk_wild_consider_section): Don't copy section_flag_list. + Pass it to callback. + (walk_wild_section_general): Pass section_flag_list to callback. + (lang_add_section): Add sflag_list parm. + Move out logic to keep / omit a section & call bfd_lookup_section_flags. + (output_section_callback_fast): Add sflag_list parm. + Add new parm to lang_add_section calls. + (output_section_callback): Likewise. + (check_section_callback): Add sflag_list parm. + (lang_place_orphans): Add new parm to lang_add_section calls. + (gc_section_callback): Add sflag_list parm. + (find_relro_section_callback): Likewise. + * ldlang.h (callback_t): Add flag_info parm. + (lang_add_section): Add sflag_list parm. + * emultempl/armelf.em (elf32_arm_add_stub_section): + Add lang_add_section parm. + * emultempl/beos.em (gld*_place_orphan): Likewise. + * emultempl/elf32.em (gld*_place_orphan): Likewise. + * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. + * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. + * emultempl/mipself.em (mips_add_stub_section): Likewise. + * emultempl/mmo.em (mmo_place_orphan): Likewise. + * emultempl/pe.em (gld_*_place_orphan): Likewise. + * emultempl/pep.em (gld_*_place_orphan): Likewise. + * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. + * emultempl/spuelf.em (spu_place_special_section): Likewise. + * emultempl/vms.em (vms_place_orphan): Likewise. + +2012-05-14 Catherine Moore + + * NEWS: Mention PowerPC VLE port. + +2012-05-11 Daniel Richard G. + + PR binutils/14028 + * configure.in: Invoke ACX_HEADER_STRING. + * configure: Regenerate. + * config.in: Regenerate. + * sysdep.h: If STRINGS_WITH_STRING is defined then include both + string.h and strings.h. + +2012-05-08 Alan Modra + + * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other + LC and LANG environment vars. + * Makefile.in: Regenerate. + +2012-05-07 Tristan Gingold + + * pe-dll.c (udef_table): Make it static. + +2012-05-05 Alan Modra + + * pe-dll.c (process_def_file_and_drectve): Use bfd_und_section_ptr. + (generate_reloc): Use bfd_abs_section_ptr. + +2012-05-04 H.J. Lu + + * configure.tgt: Support x86_64-*-linux-gnux32. + +2012-05-03 Sean Keys + + * Makefile.am (ALL_EMULATIONS): Added new emulation for XGATE + and XGATE (elf). + * Makefile.in: Rebuild. + * configure.tgt: Recognize XGATE. + * scripttempl/elfxgate.sc: New file, mostly cloned from m68hc12. + * emulparams/xgateelf: New emulation, mostly cloned from m68hc12. + * NEWS: Mention new support. + +2012-04-26 Hans-Peter Nilsson + + Make bfd asserts cause linker errors. + * ldmain.c (default_bfd_assert_handler): New variable. + (ld_bfd_assert_handler): New function. + (main): Call bfd_set_assert_handler. + +2012-04-24 Alan Modra + + * ldlang.c (size_input_section): Use sec_info_type rather than + usrdata->flags.just_syms. + * ldwrite.c (build_link_order): Likewise. + * emultempl/hppaelf.em (build_section_lists): Likewise. + * emultempl/ppc64elf.em (build_toc_list): Likewise. + * emultempl/armelf.em (build_section_lists): Likewise. + (after_allocation): Update for renamed sec_info_type value. + * emultempl/tic6xdsbt.em: Likewise. + +2012-04-12 Roland McGrath + + * configure.tgt (arm*-*-nacl*, arm*b-*-nacl*): Handle them. + * emulparams/armelf_nacl.sh: New file. + * emulparams/armelfb_nacl.sh: New file. + * Makefile.am (ALL_EMULATION_SOURCES): Add earmelf_nacl.c + and earmelfb_nacl.c here. + (earmelf_nacl.c, earmelfb_nacl.c): New targets. + * Makefile.in: Regenerated. + +2012-04-11 Tristan Gingold + + * scripttempl/ia64vms.sc: New file. + * emultempl/vms.em (_before_parse): Support for ia64. + (elf64-ia64-vms): New fragment for ia64. + * emulparams/elf64_ia64_vms.sh: New file. + * configure.tgt (ia64-*-*vms*): Add. + * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c + (eelf64_ia64_vms.c): New rule. + * Makefile.in: Regenerate. + +2012-04-06 Roland McGrath + + * configure.in (AC_CHECK_HEADERS): Add locale.h. + * config.in: Regenerate. + * configure: Regenerate. + 2012-04-05 Nick Clifton * configure.in (AC_CHECK_FUNCS): Add setlocale. @@ -45,7 +486,7 @@ 2012-03-25 Alan Modra * ldemul.c (before_allocation_default): Revert last change. - ldlang.c (lang_add_section): Likewise. + * ldlang.c (lang_add_section): Likewise. (strip_excluded_output_sections): Don't strip output sections with user input sections when emitrelocations, unless all are SEC_EXCLUDE.