Don't undefine elf_backend_static_tls_alignment twice.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf64-x86-64.c (elf_backend_want_plt_sym): Redefine to 0 after
4 Solaris target.
5
6 2011-01-18 Pierre Muller <muller@ics.u-strasbg.fr>
7
8 Fix compilation for mingw64.
9 * coffcode.h (coff_slurp_symbol_table): Add intptr_t intermediate
10 typecast to avoid warning.
11 * elf32-rx.c: Add "bfd_stdint.h" include required for int32_t type
12 usage.
13 * elfxx-ia64.c (elfNN_ia64_relax_br): Use intptr_t typeacast instead
14 of long for pointer to avoid warning.
15 (elfNN_ia64_relax_brl): Idem.
16 (elfNN_ia64_install_value): Idem.
17 * vms-alpha.c (_bfd_vms_slurp_etir): Idem.
18
19 2011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
20
21 * elf32-arm.c (elf32_arm_check_relocs): Check needs_plt rather than
22 h->needs_plt when deciding whether to record a possible dynamic reloc.
23
24 2011-01-17 Richard Sandiford <richard.sandiford@linaro.org>
25
26 * elf32-arm.c (elf32_arm_gc_sweep_hook): Remove all registered
27 dynamic relocs for the removed section.
28
29 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
30
31 * elf64-x86-64.c (elf_x86_64_check_relocs): Check invalid x32
32 relocations.
33
34 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
35
36 * elf64-x86-64.c (elf_x86_64_link_hash_table): Add pointer_r_type.
37 (elf_x86_64_link_hash_table_create): Set pointer_r_type.
38 (elf_x86_64_check_relocs): Handle R_X86_64_32 like R_X86_64_64
39 for ILP32. Remove ABI_64_P PIC check for R_X86_64_8,
40 R_X86_64_16, R_X86_64_32 and R_X86_64_32S.
41 (elf_x86_64_relocate_section): Handle R_X86_64_32 like R_X86_64_64
42 for ILP32.
43
44 2011-01-14 Alan Modra <amodra@gmail.com>
45
46 * bfd.c (bfd_perror): Flush stdout before and stderr after printing
47 error.
48 (_bfd_default_error_handler): Likewise.
49 * elf.c (print_segment_map): Likewise.
50 * libbfd.c (warn_deprecated): Likewise.
51 * som.c (som_sizeof_headers): No need to do so here.
52 * coff-i860.c: Replace use of printf for error messages with
53 _bfd_error_handler.
54 * coff-ppc.c: Likewise.
55 * coff-sh.c: Likewise.
56 * elf32-bfin.c: Likewise.
57 * elf32-dlx.c: Likewise.
58 * elf32-mep.c: Likewise.
59 * elf32-v850.c: Likewise.
60 * mach-o.c: Likewise.
61 * pef.c: Likewise.
62
63 2011-01-13 H.J. Lu <hongjiu.lu@intel.com>
64
65 * elf64-x86-64.c (elf_x86_64_link_hash_table): Remove
66 swap_reloca_out.
67 (elf_x86_64_link_hash_table_create): Don't set swap_reloca_out.
68 (elf_x86_64_check_relocs): Align relocation section to 4 byte
69 for 32bit.
70 (elf_x86_64_gc_sweep_hook): Replace ELF64_ST_TYPE with
71 ELF_ST_TYPE.
72 (elf_x86_64_finish_dynamic_symbol): Updated.
73 (elf_x86_64_finish_dynamic_sections): Don't use
74 Elf64_External_Dyn, bfd_elf64_swap_dyn_in, nor
75 bfd_elf64_swap_dyn_out.
76
77 2011-01-14 J. Park <grassman@gmail.com>
78
79 PR ld/12339
80 * elf32-arm.c (allocate_dynrelocs): Don't set up eh before
81 following bfd_link_hash_warning symbol link.
82
83 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
84 Glauber de Oliveira Costa <glommer@gmail.com>
85
86 * reloc.c (BFD_RELOC_ARM_TLS_GOTDESC, BFD_RELOC_ARM_TLS_CALL,
87 BFD_RELOC_ARM_THM_TLS_CALL, BFD_RELOC_ARM_TLS_DESCSEQ,
88 BFD_RELOC_ARM_THM_TLS_DESCSEQ, BFD_RELOC_ARM_TLS_DESC): New
89 relocations.
90 * libbfd.h: Rebuilt.
91 * bfd-in2.h: Rebuilt.
92 * elf32-arm.c (elf32_arm_howto_table_1): Add new relocations.
93 (elf32_arm_reloc_map): Likewise.
94 (tls_trampoline, dl_tlsdesc_lazy_trampoline): New PLT templates.
95 (elf32_arm_stub_long_branch_any_tls_pic,
96 elf32_arm_stub_long_branch_v4t_thumb_tls_pic): New stub templates.
97 (DEF_STUBS): Add new stubs.
98 (struct_elf_arm_obj_data): Add local_tlsdesc_gotent field.
99 (elf32_arm_local_tlsdesc_gotent): New.
100 (GOT_TLS_GDESC): New mask.
101 (GOT_TLS_GD_ANY): Define.
102 (struct elf32_arm_link_hash_entry): Add tlsdesc_got field.
103 (elf32_arm_compute_jump_table_size): New.
104 (struct elf32_arm_link_hash_table): Add next_tls_desc_index,
105 num_tls_desc, dt_tlsdesc_plt, dt_tlsdesc_got, tls_trampoline,
106 sgotplt_jump_table_size fields.
107 (elf32_arm_link_hash_newfunc): Initialize tlsdesc_got field.
108 (elf32_arm_link_hash_table_create): Initialize new fields.
109 (arm_type_of_stub): Check TLS desc relocs too.
110 (elf32_arm_stub_name): TLS desc relocs can be shared.
111 (elf32_arm_tls_transition): Determine relaxation.
112 (arm_stub_required_alignment): Add tls stubs.
113 (elf32_arm_size_stubs): Likewise.
114 (elf32_arm_tls_relax): Perform TLS relaxing.
115 (elf32_arm_final_link_relocate): Process TLS DESC relocations.
116 (IS_ARM_TLS_GNU_RELOC): New.
117 (IS_ARM_TLS_RELOC): Use it.
118 (elf32_arm_relocate_section): Perform TLS relaxing.
119 (elf32_arm_check_relocs): Anticipate TLS relaxing, process tls
120 desc relocations.
121 (allocate_dynrelocs): Allocate tls desc relcoations.
122 (elf32_arm_output_arch_local_syms): Emit tls trampoline mapping
123 symbols.
124 (elf32_arm_size_dynamic_sections): Allocate tls trampolines and
125 got slots.
126 (elf32_arm_always_size_sections): New. Create _TLS_MODULE_BASE
127 symbol.
128 (elf32_arm_finish_dynamic_symbol): Adjust.
129 (arm_put_trampoline): New.
130 (elf32_arm_finish_dynamic_sections): Emit new dynamic tags and tls
131 trampolines.
132 (elf_backend_always_size_sections): Define.
133
134 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
135
136 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Optimized.
137
138 2011-01-06 H.J. Lu <hongjiu.lu@intel.com>
139
140 PR ld/12366
141 PR ld/12371
142 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
143 handle symbols marked with regular reference, but not non-GOT
144 reference when building shared library.
145
146 * elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
147 local and global STT_GNU_IFUNC symols when building shared
148 library.
149 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
150
151 2011-01-05 DJ Delorie <dj@redhat.com>
152
153 * reloc.c: Add BFD_RELOC_RX_OP_NEG.
154 * libbfd.h: Regenerate.
155 * bfd-in2.h: Regenerate.
156 * elf32-rx.c: Add it to the list, corresponding to R_RX_OPneg.
157
158 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
159
160 * cpu-i386.c (bfd_i386_compatible): New.
161 (bfd_x64_32_arch_intel_syntax): Replace bfd_default_compatible
162 with bfd_i386_compatible.
163 (bfd_x86_64_arch_intel_syntax): Likewise.
164 (bfd_i386_arch_intel_syntax): Likewise.
165 (i8086_arch): Likewise.
166 (bfd_x64_32_arch): Likewise.
167 (bfd_x86_64_arch): Likewise.
168 (bfd_i386_arch): Likewise.
169
170 For older changes see ChangeLog-2010
171 \f
172 Local Variables:
173 mode: change-log
174 left-margin: 8
175 fill-column: 74
176 version-control: never
177 End:
This page took 0.04123 seconds and 5 git commands to generate.