Alan Modra
116a5e0dcc
daily update
2011-09-19 00:00:05 +00:00
Alan Modra
a0a4e818f5
daily update
2011-09-18 00:00:06 +00:00
Alan Modra
53dad163f7
daily update
2011-09-17 00:00:06 +00:00
H.J. Lu
1a766c6843
Also hide symbols without PLT nor GOT references.
...
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-16 01:17:16 +00:00
H.J. Lu
fd91d41947
Check if a symbol is hidden by linker script.
...
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-16 01:15:20 +00:00
Alan Modra
8bc5d770cd
daily update
2011-09-16 00:00:06 +00:00
Alan Modra
d9fb730937
daily update
2011-09-15 00:00:05 +00:00
Alan Modra
e3ae1ce459
daily update
2011-09-14 00:00:06 +00:00
Alan Modra
29d3e15313
daily update
2011-09-13 00:00:05 +00:00
H.J. Lu
7b5b197e80
Use .got.plt for IFUNC symbols if there are no GOT relocations.
...
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-12 18:17:36 +00:00
Alan Modra
3079918dc3
daily update
2011-09-12 00:00:05 +00:00
Alan Modra
14a65e3755
daily update
2011-09-11 00:00:06 +00:00
Alan Modra
17b03c24fb
daily update
2011-09-10 00:00:05 +00:00
Kai Tietz
e777132256
2011-09-09 Kai Tietz <ktietz@redhat.com>
...
* peicode.h (pe_ILF_build_a_bfd): Don't remove leading underscore
for targets without symbol_leading_char.
2011-09-09 16:28:12 +00:00
Alan Modra
a301ba0b9a
daily update
2011-09-09 00:00:05 +00:00
Nick Clifton
103ae312ba
* bfdwin.c (bfd_get_file_window): Fix memory leak.
2011-09-08 16:06:11 +00:00
Alan Modra
cc42bdc275
daily update
2011-09-08 00:00:06 +00:00
Alan Modra
28942f6293
PR ld/13131
...
* bfd/elf64-ppc.c (adjust_toc_syms): Ensure ppc64_elf_howto_table
is initialized.
2011-09-07 13:56:09 +00:00
Alan Modra
27e78320b0
daily update
2011-09-07 00:00:06 +00:00
Alan Modra
b140b0101b
PR ld/13131
...
* 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-06 07:41:24 +00:00
Alan Modra
18df1c457e
daily update
2011-09-06 00:00:04 +00:00
Alan Modra
4a5818a296
daily update
2011-09-05 00:00:06 +00:00
Alan Modra
7db1c6bfe2
daily update
2011-09-04 00:00:06 +00:00
Alan Modra
1aca6c577b
daily update
2011-09-03 00:00:07 +00:00
Alan Modra
876dbddf2f
daily update
2011-09-02 00:00:05 +00:00
Christophe Lyon
7d500b8357
2011-09-01 Christophe Lyon <christophe.lyon@st.com>
...
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-01 14:10:40 +00:00
Alan Modra
0ddc55ad78
daily update
2011-09-01 00:00:04 +00:00
Alan Modra
8501c0d426
daily update
2011-08-31 00:00:05 +00:00
Alan Modra
5a5dcae463
daily update
2011-08-30 00:00:06 +00:00
Alan Modra
78662a6e67
daily update
2011-08-28 00:00:06 +00:00
Alan Modra
53c8030fec
daily update
2011-08-27 00:00:05 +00:00
Nick Clifton
7cf8042268
Updated Spanish translations.
2011-08-26 15:15:52 +00:00
Alan Modra
a0dc6b134c
daily update
2011-08-26 00:00:05 +00:00
Alan Modra
978e21aec5
daily update
2011-08-25 00:00:05 +00:00
Alan Modra
17770d1728
daily update
2011-08-24 00:00:05 +00:00
Alan Modra
34e20cec1e
daily update
2011-08-23 00:00:05 +00:00
Alan Modra
61ab05f36d
daily update
2011-08-22 00:00:05 +00:00
Alan Modra
ca861ac30a
daily update
2011-08-21 00:00:05 +00:00
Alan Modra
eee4be5edd
daily update
2011-08-20 00:00:05 +00:00
Alan Modra
af75cb9c9b
* elf64-ppc.c (ppc64_elf_edit_toc): Ignore can_optimize bit if
...
we haven't seen expected -mcmodel=medium/large code relocs.
2011-08-19 08:12:08 +00:00
Alan Modra
fe9e19f9b8
daily update
2011-08-19 00:00:06 +00:00
Tristan Gingold
9d4b600942
2011-08-18 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_read_segment): Initialize list.
2011-08-18 09:28:42 +00:00
Alan Modra
8304cc9064
daily update
2011-08-18 00:00:05 +00:00
Tristan Gingold
72b5104c84
2011-08-17 Tristan Gingold <gingold@adacore.com>
...
* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
2011-08-17 10:17:39 +00:00
Alan Modra
c77ec72614
PR ld/12762
...
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-17 00:39:41 +00:00
Alan Modra
48db9718bb
daily update
2011-08-17 00:00:05 +00:00
Alan Modra
d51a548c8c
daily update
2011-08-16 00:00:05 +00:00
Alan Modra
10614790ea
daily update
2011-08-15 00:00:05 +00:00
Alan Modra
b3874e1a22
* elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when
...
shared and call to _mcount will go via plt.
2011-08-14 09:17:17 +00:00
Alan Modra
8de848d897
* elf64-ppc.c: Prefix all einfo error strings with "%P: ".
...
* elf32-ppc.c: Likewise.
(ppc_elf_select_plt_layout): Use einfo rather than info to report
forced bss-plt.
2011-08-14 08:11:56 +00:00