X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=a9525308f8150b91ada6bfac3a54587a783b2cee;hb=cd6f1cf350bbc5d91977fccb8082cecea60d8465;hp=1d810a7c04c50dcb70831171bddcf8f420bd335b;hpb=aeb1f0e80e1dea7b8a909d1add94d0200abb1197;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 1d810a7c04..a9525308f8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,375 @@ +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. + (AM_LC_MESSAGES): Add. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + +2012-04-03 Roland McGrath + + * configure.tgt (i[3-7]86-*-nacl*, x86_64-*-nacl*): Handle them. + * emulparams/elf_nacl.sh: New file. + * emulparams/elf_i386_nacl.sh: New file. + * emulparams/elf32_x86_64_nacl.sh: New file. + * emulparams/elf_x86_64_nacl.sh: New file. + * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_i386_nacl.c here. + (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64_nacl.c and + eelf_x86_64_nacl.c here. + (eelf_i386_nacl.c, eelf32_x86_64_nacl.c, eelf_x86_64_nacl.c): + New targets. + * Makefile.in: Regenerated. + + * scripttempl/elf.sc: Handle SEPARATE_CODE cases. + +2012-04-02 Mike Frysinger + + * ldmisc.c (vfinfo): Assign new local str to fmt. Delete + putc call. If str and fmt are different, call fwrite on + the difference. + +2012-03-30 Nick Clifton + + * po/vi.po: Updated Vietnamese translation. + +2012-03-27 Roland McGrath + + * configure.in: Set want64 on a 64-bit host regardless of + --enable-targets=all. + * configure: Regenerated. + +2012-03-26 Tristan Gingold + + * lexsup.c (parse_args): Add a missing '\n'. + +2012-03-25 Alan Modra + + * ldemul.c (before_allocation_default): Revert last change. + * 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. + +2012-03-23 Alan Modra + + * ldemul.c (before_allocation_default): When emitrelocations, + don't strip sections.. + * ldlang.c (lang_add_section): ..and don't set up map_head, map_tail. + 2012-03-14 Kai Tietz Pascal Obry