326b326d613fb9e042d5c92bbc032123a29bb595
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2011-01-13 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
4 swap_reloca_out.
5 (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
6 (elf_x86_64_check_relocs): Align relocation section to 4 byte
7 for 32bit.
8 (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
9 ELF_ST_TYPE.
10 (elf_x86_64_finish_dynamic_symbol): Updated.
11 (elf_x86_64_finish_dynamic_sections): Don't use
12 Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
13 bfd_elf64_swap_dyn_out.
14
15 2011-01-14 J. Park <grassman@gmail.com>
16
17 PR ld/12339
18 * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
19 following bfd_link_hash_warning symbol link.
20
21 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
22 Glauber de Oliveira Costa <glommer@gmail.com>
23
24 * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
25 BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
26 BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
27 relocations.
28 * libbfd.h: Rebuilt.
29 * bfd-in2.h: Rebuilt.
30 * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
31 (elf32_arm_reloc_map): Likewise.
32 (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
33 (elf32_arm_stub_long_branch_any_tls_pic,
34 elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
35 (DEF_STUBS): Add new stubs.
36 (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
37 (elf32_arm_local_tlsdesc_gotent): New.
38 (GOT_TLS_GDESC): New mask.
39 (GOT_TLS_GD_ANY): Define.
40 (struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
41 (elf32_arm_compute_jump_table_size): New.
42 (struct elf32_arm_link_hash_table): Add next_tls_desc_index,
43 num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
44 sgotplt_jump_table_size fields.
45 (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
46 (elf32_arm_link_hash_table_create): Initialize new fields.
47 (arm_type_of_stub): Check TLS desc relocs too.
48 (elf32_arm_stub_name): TLS desc relocs can be shared.
49 (elf32_arm_tls_transition): Determine relaxation.
50 (arm_stub_required_alignment): Add tls stubs.
51 (elf32_arm_size_stubs): Likewise.
52 (elf32_arm_tls_relax): Perform TLS relaxing.
53 (elf32_arm_final_link_relocate): Process TLS DESC relocations.
54 (IS_ARM_TLS_GNU_RELOC): New.
55 (IS_ARM_TLS_RELOC): Use it.
56 (elf32_arm_relocate_section): Perform TLS relaxing.
57 (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
58 desc relocations.
59 (allocate_dynrelocs): Allocate tls desc relcoations.
60 (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
61 symbols.
62 (elf32_arm_size_dynamic_sections): Allocate tls trampolines and
63 got slots.
64 (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
65 symbol.
66 (elf32_arm_finish_dynamic_symbol): Adjust.
67 (arm_put_trampoline): New.
68 (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
69 trampolines.
70 (elf_backend_always_size_sections): Define.
71
72 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
73
74 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
75
76 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
77
78 PR ld/12366
79 PR ld/12371
80 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
81 handle symbols marked with regular reference, but not non-GOT
82 reference when building shared library.
83
84 * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
85 local and global STT_GNU_IFUNC symols when building shared
86 library.
87 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
88
89 2011-01-05 DJ Delorie <dj@redhat.com>
90
91 * reloc.c: Add BFD_RELOC_RX_OP_NEG.
92 * libbfd.h: Regenerate.
93 * bfd-in2.h: Regenerate.
94 * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg.
95
96 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
97
98 * cpu-i386.c (bfd_i386_compatible): New.
99 (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible
100 with bfd_i386_compatible.
101 (bfd_x86_64_arch_intel_syntax): Likewise.
102 (bfd_i386_arch_intel_syntax): Likewise.
103 (i8086_arch): Likewise.
104 (bfd_x64_32_arch): Likewise.
105 (bfd_x86_64_arch): Likewise.
106 (bfd_i386_arch): Likewise.
107
108 For older changes see ChangeLog-2010
109 \f
110 Local Variables:
111 mode: change-log
112 left-margin: 8
113 fill-column: 74
114 version-control: never
115 End:
This page took 0.096733 seconds and 3 git commands to generate.