aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
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
2011-08-24daily updateAlan Modra1-1/+1
2011-08-23daily updateAlan Modra1-1/+1
2011-08-22daily updateAlan Modra1-1/+1
2011-08-21daily updateAlan Modra1-1/+1
2011-08-20daily updateAlan Modra1-1/+1
2011-08-19 * elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit ifAlan Modra2-1/+6
we haven't seen expected -mcmodel=medium/large code relocs.
2011-08-19daily updateAlan Modra1-1/+1
2011-08-182011-08-18 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+6
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
2011-08-18daily updateAlan Modra1-1/+1
2011-08-172011-08-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
2011-08-17 PR ld/12762Alan Modra16-461/+357
bfd/ * bfd-in.h (struct bfd_section_already_linked): Forward declare. (_bfd_handle_already_linked): Declare. * coff-alpha.c (_bfd_ecoff_section_already_linked): Define as _bfd_coff_section_already_linked. * coff-mips.c (_bfd_ecoff_section_already_linked): Likewise. * coffcode.h (coff_section_already_linked): Likewise. * cofflink.c (coff_link_add_symbols): Revert 2011-07-09 changes. * elf-bfd.h: Likewise. * libbfd-in.h: Likewise. * targets.c: Likewise. * linker.c (bfd_section_already_linked): Likewise. (bfd_section_already_linked_table_lookup): Likewise. (bfd_section_already_linked_table_insert): Likewise. (_bfd_generic_section_already_linked): Likewise. Call _bfd_handle_already_linked. (_bfd_handle_already_linked): New function, split out from.. * elflink.c (_bfd_elf_section_already_linked): ..here. Revert 2011-07-09 changes. Avoid unnecessary strcmp when matching already_linked_list entries. Match plugin linkonce section. (section_signature): Delete. * coffgen.c (_bfd_coff_section_already_linked): New function. * libcoff-in.h (_bfd_coff_section_already_linked): Declare. * libbfd.h: Regenerate. * libcoff.h: Regenerate. * bfd-in2.h: Regenerate. ld/ * ldlang.c (section_already_linked): Revert 2011-07-09 changes. * plugin.c: Likewise. (asymbol_from_plugin_symbol): Create linkonce section for syms with comdat_key.
2011-08-17daily updateAlan Modra1-1/+1
2011-08-16daily updateAlan Modra1-1/+1
2011-08-15daily updateAlan Modra1-1/+1
2011-08-14 * elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt whenAlan Modra2-1/+31
shared and call to _mcount will go via plt.
2011-08-14 * elf64-ppc.c: Prefix all einfo error strings with "%P: ".Alan Modra3-36/+43
* elf32-ppc.c: Likewise. (ppc_elf_select_plt_layout): Use einfo rather than info to report forced bss-plt.