aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2011-09-29 PR ld/13233Alan Modra2-2/+9
* elflink.c (_bfd_elf_gc_mark_extra_sections): Mark single member debug and special section groups.
2011-09-29Fix --gc-sections failure with symbol versioning.H.J. Lu1-5/+7
bfd/ 2011-09-28 H.J. Lu <hongjiu.lu@intel.com> PR ld/13195 * elflink.c (_bfd_elf_merge_symbol): Don't set dynamic_def when clearing def_dynamic. (elf_link_add_object_symbols): Likewise. Set dynamic_def when setting def_dynamic. (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is versioned. ld/testsuite/ 2011-09-28 H.J. Lu <hongjiu.lu@intel.com> PR ld/13195 * ld-elf/elf.exp: Add a C link testcase for PR ld/13195. * ld-elf/pr13195.c: New. * ld-elf/pr13195.d: Likewise. * ld-elf/pr13195.s: Likewise. * ld-elf/pr13195.t: Likewise.
2011-09-29daily updateAlan Modra1-1/+1
2011-09-28daily updateAlan Modra1-1/+1
2011-09-27 * coffcode.h (sec_to_styp_flags): HandleKai Tietz2-2/+14
SEC_LINK_DUPLICATES_SAME_CONTENTS, and SEC_LINK_DUPLICATES_SAME_SIZE.
2011-09-27daily updateAlan Modra1-1/+1
2011-09-26daily updateAlan Modra1-1/+1
2011-09-25daily updateAlan Modra1-1/+1
2011-09-24daily updateAlan Modra1-1/+1
2011-09-23daily updateAlan Modra1-1/+1
2011-09-22bfd/Tristan Gingold3-2/+7
2011-09-22 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.22.51 * configure: Regenerate.
2011-09-22daily updateAlan Modra1-1/+1
2011-09-21Annotate sparc objects with cpu hardware capabilities used.David S. Miller5-5/+52
bfd/ * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): New. * elfxx-sparc.h: Declare it. * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Call it. * elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise. binutils/ * readelf.c (display_sparc_hwcaps): New. (display_sparc_gnu_attribute): New. (process_sparc_specific): New. (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS, or EM_SPARCV9 invoke process_sparc_specific. gas/ * config/tc-sparc.c (hwcap_seen): New bitmask, defined when not TE_SOLARIS. (sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from sparc_opcode->flags of instruction into hwcap_seen. (sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if hwcap_seen is non-zero and not TE_SOLARIS. gas/testsuite/ * gas/sparc/hpcvis3.s: Update for fixed fchksum16 mnemonic. * gas/sparc/hpcvis3.d: Likewise. include/elf/ * sparc.h (Tag_GNU_Sparc_HWCAPS): New object attribute. (ELF_SPARC_HWCAP_*): New HWCAPS bitmask values. include/opcode/ * sparc.h (struct sparc_opcode): Expand 'flags' to unsigned int. (F_MUL32, F_DIV32, F_FSMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2, F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS, F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING): New flag bits. opcodes/ * sparc-opc.c (sparc_opcodes): Annotate table with HWCAP flag bits. Fix "fchksm16" mnemonic.
2011-09-212011-09-21 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+13
* mach-o.c (bfd_mach_o_convert_section_name_to_bfd): Add comment. Deals with size limited strings. (bfd_mach_o_build_commands): Initialize more fields.
2011-09-21daily updateAlan Modra1-1/+1
2011-09-20daily updateAlan Modra1-1/+1
2011-09-19daily updateAlan Modra1-1/+1
2011-09-18daily updateAlan Modra1-1/+1
2011-09-17daily updateAlan Modra1-1/+1
2011-09-16Also hide symbols without PLT nor GOT references.H.J. Lu2-5/+16
bfd/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/13177 * elflink.c (elf_gc_sweep_symbol): Also hide symbols without PLT nor GOT references. ld/testsuite/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/13177 * ld-elf/pr13177.d: New. * ld-elf/pr13177.s: Likewise.
2011-09-16Check if a symbol is hidden by linker script.H.J. Lu5-31/+70
bfd/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/12975 * bfd-in.h (bfd_elf_size_dynamic_sections): Remove pointer to struct bfd_elf_version_tree. * elflink.c (elf_info_failed): Remove verdefs. (_bfd_elf_export_symbol): Updated. _bfd_elf_link_assign_sym_version): Likewise. (bfd_elf_size_dynamic_sections): Remove pointer to struct bfd_elf_version_tree. Updated. (bfd_elf_gc_mark_dynamic_ref_symbol): Check if a symbol is hidden by linker script. * linker.c (bfd_hide_sym_by_version): New. * bfd-in2.h: Regenerated. include/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/12975 * bfdlink.h (bfd_link_info): Add version_info. ld/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/12975 * ldlang.c (lang_elf_version_info): Removed. (lang_register_vers_node): Replace lang_elf_version_info with link_info.version_info. (lang_add_vers_depend): Likewise. * pe-dll.c (process_def_file_and_drectve): Likewise. * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. * ldlang.h (lang_elf_version_info): Removed. * plugin.c (is_visible_from_outside): Check if symbol is hidden by version script. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Remove lang_elf_version_info. ld/testsuite/ 2011-09-15 H.J. Lu <hongjiu.lu@intel.com> PR ld/12975 * ld-elf/pr12975.d: New. * ld-elf/pr12975.s: Likewise. * ld-elf/pr12975.t: Likewise.
2011-09-16daily updateAlan Modra1-1/+1
2011-09-15daily updateAlan Modra1-1/+1
2011-09-14daily updateAlan Modra1-1/+1
2011-09-13daily updateAlan Modra1-1/+1
2011-09-12Use .got.plt for IFUNC symbols if there are no GOT relocations.H.J. Lu2-3/+10
bfd/ 2011-09-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/13178 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Use .got.plt if there are no GOT relocations. ld/testsuite/ 2011-09-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/13178 * ld-ifunc/ifunc-13-i386.d: Updated. * ld-ifunc/ifunc-13-x86-64.d: Likewise. * ld-ifunc/ifunc-3a-x86.d: Likewise. * ld-x86-64/pr13082-5a.d: Likewise. * ld-ifunc/ifunc-15-i386.d: New. * ld-ifunc/ifunc-15-i386.s: Likewise. * ld-ifunc/ifunc-15-x86-64.d: Likewise. * ld-ifunc/ifunc-15-x86-64.s: Likewise.
2011-09-12daily updateAlan Modra1-1/+1
2011-09-11daily updateAlan Modra1-1/+1
2011-09-10daily updateAlan Modra1-1/+1
2011-09-092011-09-09 Kai Tietz <ktietz@redhat.com>Kai Tietz2-1/+10
* peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore for targets without symbol_leading_char.
2011-09-09daily updateAlan Modra1-1/+1
2011-09-08 * bfdwin.c (bfd_get_file_window): Fix memory leak.Nick Clifton2-16/+29
2011-09-08daily updateAlan Modra1-1/+1
2011-09-07 PR ld/13131Alan Modra2-0/+8
* bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table is initialized.
2011-09-07daily updateAlan Modra1-1/+1
2011-09-06 PR ld/13131Alan Modra2-5/+16
* elf64-ppc.c (adjust_toc_syms): Delete redundant code. (ppc64_elf_edit_toc): Fix style nit. Report some details on linker failure due to reference in debug or non-alloc sections to optimized away toc entry, and don't abort.
2011-09-06daily updateAlan Modra1-1/+1
2011-09-05daily updateAlan Modra1-1/+1
2011-09-04daily updateAlan Modra1-1/+1
2011-09-03daily updateAlan Modra1-1/+1
2011-09-02daily updateAlan Modra1-1/+1
2011-09-012011-09-01 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon2-1/+7
bfd/ * elf32-arm.c (elf32_arm_output_arch_local_syms): Skip excluded sections. ld/testsuite/ * ld-arm/arm-elf.exp: Add new rodata-merge-map test. * ld-arm/rodata-merge-map.ld: New file. * ld-arm/rodata-merge-map.sym: Likewise. * ld-arm/rodata-merge-map1.s Likewise. * ld-arm/rodata-merge-map2.s: Likewise. * ld-arm/rodata-merge-map3.s: Likewise.
2011-09-01daily updateAlan Modra1-1/+1
2011-08-31daily updateAlan Modra1-1/+1
2011-08-30daily updateAlan Modra1-1/+1
2011-08-28daily updateAlan Modra1-1/+1
2011-08-27daily updateAlan Modra1-1/+1
2011-08-26Updated Spanish translations.Nick Clifton2-802/+807
2011-08-26daily updateAlan Modra1-1/+1
2011-08-25daily updateAlan Modra1-1/+1