Commit | Line | Data |
---|---|---|
c3301df1 AM |
1 | 2014-03-14 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * elf32-ppc.c (ppc_elf_relocate_section): Correct overflow | |
4 | handling for VLE_SDA21 relocs. | |
5 | ||
167ad85b TG |
6 | 2014-03-13 Tristan Gingold <gingold@adacore.com> |
7 | ||
8 | * peicode.h (pe_ILF_object_p): Adjust, as the version number | |
9 | has been read. | |
10 | (pe_bfd_object_p): Also read version number to detect ILF. | |
11 | * pe-x86_64.c (COFF_WITH_PE_BIGOBJ): Define. | |
12 | (x86_64pe_bigobj_vec): Define | |
13 | * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_max_nscns field. | |
14 | (bfd_coff_max_nscns): New macro. | |
15 | (coff_compute_section_file_positions): Use unsigned int for | |
16 | target_index. Compare with bfd_coff_max_nscns. | |
17 | (bfd_coff_std_swap_table, ticoff0_swap_table, ticoff1_swap_table): | |
18 | Set a value for _bfd_coff_max_nscns. | |
19 | (header_bigobj_classid): New constant. | |
20 | (coff_bigobj_swap_filehdr_in, coff_bigobj_swap_filehdr_out) | |
21 | (coff_bigobj_swap_sym_in, coff_bigobj_swap_sym_out) | |
22 | (coff_bigobj_swap_aux_in, coff_bigobj_swap_aux_out): New | |
23 | functions. | |
24 | (bigobj_swap_table): New table. | |
25 | * libcoff.h: Regenerate. | |
26 | * coff-sh.c (bfd_coff_small_swap_table): Likewise. | |
27 | * coff-alpha.c (alpha_ecoff_backend_data): Add value for | |
28 | _bfd_coff_max_nscns. | |
29 | * coff-mips.c (mips_ecoff_backend_data): Likewise. | |
30 | * coff-rs6000.c (bfd_xcoff_backend_data) | |
31 | (bfd_pmac_xcoff_backend_data): Likewise. | |
32 | * coff64-rs6000.c (bfd_xcoff_backend_data) | |
33 | (bfd_xcoff_aix5_backend_data): Likewise. | |
34 | * targets.c (x86_64pe_bigobj_vec): Declare. | |
35 | * configure.in (x86_64pe_bigobj_vec): New vector. | |
36 | * configure: Regenerate. | |
37 | * config.bfd: Add bigobj object format for Windows targets. | |
38 | ||
c792917c NC |
39 | 2014-03-12 Nick Clifton <nickc@redhat.com> |
40 | ||
41 | PR ld/16671 | |
42 | * elf32-arm.c (elf32_arm_add_symbol_hook): Check for ARM format | |
43 | before testing for vxworks. | |
44 | ||
fa47fa92 AM |
45 | 2014-03-12 Alan Modra <amodra@gmail.com> |
46 | ||
47 | * Makefile.in: Regenerate. | |
48 | ||
bbefd0a9 AM |
49 | 2014-03-12 Alan Modra <amodra@gmail.com> |
50 | ||
51 | PR 16690 | |
52 | * elf.c (copy_elf_program_header): Ignore first section lma if | |
53 | non-alloc. | |
54 | ||
3c865fca AM |
55 | 2014-03-11 Alan Modra <amodra@gmail.com> |
56 | ||
57 | PR 16686 | |
58 | * coff-rs6000.c: Include stdint.h. | |
59 | * coff64-rs6000.c: Likewise. | |
60 | ||
ce15efd8 TG |
61 | 2014-03-10 Tristan Gingold <gingold@adacore.com> |
62 | ||
63 | * ticoff.h: Removed. | |
64 | ||
86c95733 AM |
65 | 2014-03-08 Alan Modra <amodra@gmail.com> |
66 | ||
67 | * elf32-ppc.c (ppc_elf_howto_raw): Correct overflow check for | |
68 | many relocations. Correct bitsize and rightshift too for a number | |
69 | of VLE relocs. Describe R_PPC_VLE_SDA21 and R_PPC_VLE_SDA21_LO. | |
70 | Correct dst_mask on R_PPC_VLE_SDA21_LO. | |
71 | (ppc_elf_vle_split16): Tidy, delete unnecessary prototype. | |
72 | (ppc_elf_relocate_section): Modify overflow test for 16-bit | |
73 | fields in instructions to signed/unsigned according to whether | |
74 | the field takes a signed or unsigned value. Tidy vle split16 code. | |
75 | Correct R_PPC_VLE_SDA21 and R_PPC_VLE_SDA21_LO handling. | |
76 | ||
b80eed39 AM |
77 | 2014-03-08 Alan Modra <amodra@gmail.com> |
78 | ||
79 | * elf64-ppc.c (ppc64_elf_howto_raw): Use complain_overflow_signed | |
80 | for R_PPC64_ADDR14, R_PPC64_ADDR14_BRTAKEN, R_PPC64_ADDR14_BRNTAKEN, | |
81 | R_PPC64_SECTOFF, R_PPC64_ADDR16_DS, R_PPC64_SECTOFF_DS, | |
82 | R_PPC64_REL16 entries. Use complain_overflow_dont for R_PPC64_TOC. | |
83 | (ppc64_elf_relocate_section): Modify overflow test for 16-bit | |
84 | fields in instructions to signed/unsigned according to whether | |
85 | the field takes a signed or unsigned value. | |
86 | ||
c38e8559 PA |
87 | 2014-03-07 Pedro Alves <palves@redhat.com> |
88 | ||
5893c83a | 89 | PR gdb/16696 |
c38e8559 PA |
90 | * rs6000-core.c (rs6000coff_core_p): Cast pointers to bfd_vma |
91 | through ptr_to_uint instead of through long. | |
92 | ||
e9847026 NC |
93 | 2014-03-06 Nick Clifton <nickc@redhat.com> |
94 | ||
95 | PR 16664 | |
96 | * elf-attrs.c (_bfd_elf_parse_attributes): Add checks for corrupt | |
97 | attribute section names. | |
98 | ||
4b95cf5c AM |
99 | 2014-03-05 Alan Modra <amodra@gmail.com> |
100 | ||
101 | Update copyright years. | |
102 | ||
45965137 AM |
103 | 2014-03-05 Alan Modra <amodra@gmail.com> |
104 | ||
105 | * elf64-ppc.c (ppc64_elf_howto_raw): Add R_PPC64_ADDR64_LOCAL entry. | |
106 | (ppc64_elf_reloc_type_lookup): Support R_PPC64_ADDR64_LOCAL. | |
107 | (ppc64_elf_check_relocs): Likewise. | |
108 | (ppc64_elf_relocate_section): Likewise. | |
109 | * Add BFD_RELOC_PPC64_ADDR64_LOCAL. | |
110 | * bfd-in2.h: Regenerate. | |
111 | * libbfd.h: Regenerate. | |
112 | ||
cd0c81e9 | 113 | 2014-03-04 Heiher <r@hev.cc> |
4ba154f5 RS |
114 | |
115 | * elfxx-mips.c (mips_set_isa_flags): Use E_MIPS_ARCH_64R2 for | |
116 | Loongson-3A. | |
117 | (mips_mach_extensions): Make bfd_mach_mips_loongson_3a an | |
118 | extension of bfd_mach_mipsisa64r2. | |
119 | ||
eed94f8f NC |
120 | 2014-03-04 Nick Clifton <nickc@redhat.com> |
121 | ||
122 | PR ld/16017 | |
123 | * elf32-arm.c (elf32_thumb2_plt0_entry): New array. | |
124 | (elf32_thumb2_plt_entry): New array. | |
125 | (elf32_arm_create_dynamic_sections): Set PLT entry sizes when | |
126 | using thumb2 based PLT. | |
127 | (elf32_arm_populate_plt_entry): Handle generating Thumb2 based PLT | |
128 | entries. | |
129 | (elf32_arm_final_link_relocate): Do not bias jumps to Thumb based | |
130 | PLT entries. | |
131 | (elf32_arm_finish_dynamic_sections): Handle creation of Thumb2 | |
132 | based PLT 0-entry. | |
133 | (elf32_arm_output_plt_map_1): Handle creation of local symbols for | |
134 | Thumb2 based PLT 0-entry. | |
135 | (elf32_arm_output_arch_local_syms): Handle creation of local | |
136 | symbols for Thumb2 based PLT entries. | |
137 | ||
9850436d AM |
138 | 2014-02-28 Alan Modra <amodra@gmail.com> |
139 | ||
140 | PR ld/16643 | |
141 | * elflink.c (elf_gc_sweep): Call gc_sweep_hook for exactly | |
142 | the same conditions we called check_relocs. | |
143 | ||
1db37fe6 YG |
144 | 2014-02-27 Yuri Gribov <y.gribov@samsung.com> |
145 | ||
146 | * bfd-in.h: Add export of bfd_elf32_arm_use_long_plt. | |
147 | * bfd-in2.h: Regenerate. | |
148 | * elf32-arm.c (elf32_arm_plt_entry_long): New array. | |
149 | (elf32_arm_link_hash_table_create): Set plt_entry_size to 16 if | |
150 | using long PLT entries. | |
151 | (bfd_elf32_arm_use_long_plt): New function. | |
152 | (elf32_arm_populate_plt_entry): Add support for long PLT entries. | |
153 | ||
db434ba0 AM |
154 | 2014-02-27 Alan Modra <amodra@gmail.com> |
155 | ||
156 | * elf32-ppc.c (ppc_elf_link_hash_table_create): Provide default | |
157 | params for targets that don't use ppc32elf.em. | |
158 | ||
d9972968 CLT |
159 | 2014-02-20 Chung-Lin Tang <cltang@codesourcery.com> |
160 | ||
161 | * elf32-nios2.c (nios2_elf32_relocate_section): Fix calculation | |
162 | of GOTOFF relocations. | |
163 | ||
0ff2b86e L |
164 | 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com> |
165 | H.J. Lu <hongjiu.lu@intel.com> | |
166 | ||
167 | * elf64-x86-64.c (elf_x86_64_bnd_plt0_entry): New. | |
168 | (elf_x86_64_legacy_plt_entry): Likewise. | |
169 | (elf_x86_64_bnd_plt_entry): Likewise. | |
170 | (elf_x86_64_legacy_plt2_entry): Likewise. | |
171 | (elf_x86_64_bnd_plt2_entry): Likewise. | |
172 | (elf_x86_64_bnd_arch_bed): Likewise. | |
173 | (elf_x86_64_link_hash_entry): Add has_bnd_reloc and plt_bnd. | |
174 | (elf_x86_64_link_hash_table): Add plt_bnd. | |
175 | (elf_x86_64_link_hash_newfunc): Initialize has_bnd_reloc and | |
176 | plt_bnd. | |
177 | (elf_x86_64_copy_indirect_symbol): Also copy has_bnd_reloc. | |
178 | (elf_x86_64_check_relocs): Create the second PLT for Intel MPX | |
179 | in 64-bit mode. | |
180 | (elf_x86_64_allocate_dynrelocs): Handle the second PLT for IFUNC | |
181 | symbols. Resolve call to the second PLT if it is created. | |
182 | (elf_x86_64_size_dynamic_sections): Keep the second PLT section. | |
183 | (elf_x86_64_relocate_section): Resolve PLT references to the | |
184 | second PLT if it is created. | |
185 | (elf_x86_64_finish_dynamic_symbol): Use BND PLT0 and fill the | |
186 | second PLT entry for BND relocation. | |
187 | (elf_x86_64_finish_dynamic_sections): Use MPX backend data if | |
188 | the second PLT is created. | |
189 | (elf_x86_64_get_synthetic_symtab): New. | |
190 | (bfd_elf64_get_synthetic_symtab): Likewise. Undefine for NaCl. | |
191 | ||
7d4c687d AM |
192 | 2014-02-19 Alan Modra <amodra@gmail.com> |
193 | ||
194 | * elf64-ppc.h (struct ppc64_elf_params): Add save_restore_funcs. | |
195 | * elf64-ppc.c (ppc64_elf_func_desc_adjust): Use it to control | |
196 | provision of out-of-line register save/restore routines. | |
197 | ||
5db3e65d JC |
198 | 2014-02-18 Jack Carter <jack.carter@imgtec.com> |
199 | ||
200 | * elfxx-mips.c(_bfd_mips_elf_modify_segment_map): Deleted hard coding of | |
201 | PT_DYNAMIC segment flags. | |
202 | ||
024a2310 JK |
203 | 2014-02-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
204 | ||
205 | PR binutils/16595 | |
206 | * simple.c (struct saved_offsets): New. | |
207 | (simple_save_output_info): Use it for ptr. | |
208 | (simple_restore_output_info): Use it for ptr. Check section_count. | |
209 | (bfd_simple_get_relocated_section_contents): Use it for saved_offsets. | |
210 | ||
e7d1c40c AM |
211 | 2014-02-17 Alan Modra <amodra@gmail.com> |
212 | ||
213 | * elf64-ppc.h (struct ppc64_elf_params): Define. | |
214 | (ppc64_elf_init_stub_bfd, ppc64_elf_edit_opd, ppc64_elf_tls_setup, | |
215 | ppc64_elf_setup_section_lists, ppc64_elf_size_stubs, | |
216 | ppc64_elf_build_stubs): Update prototype. | |
217 | * elf64-ppp.c (struct ppc_link_hash_table): Add params, delete other | |
218 | fields now in params. Adjust code throughout file. | |
219 | (ppc64_elf_init_stub_bfd): Delete "abfd" parameter, add "params". | |
220 | Save params pointer in htab. | |
221 | (ppc64_elf_edit_opd, ppc64_elf_tls_setup, | |
222 | ppc64_elf_setup_section_lists, ppc64_elf_size_stubs, | |
223 | ppc64_elf_build_stubs): Remove parameters now in "params". | |
224 | ||
668e22e5 AM |
225 | 2014-02-17 Alan Modra <amodra@gmail.com> |
226 | ||
227 | * elf32-ppc.c (ppc_elf_relocate_section): Move relocs on insns | |
228 | patched for ppc476 workaround. Reapply branch taken/not taken | |
229 | relocs. | |
230 | ||
9f7552cf AM |
231 | 2014-02-12 Alan Modra <amodra@gmail.com> |
232 | ||
233 | * elf32-ppc.c (ppc_elf_relax_section): Don't build long-branch | |
234 | stubs for calls to __tls_get_addr that we know will later be | |
235 | optimised away. | |
236 | ||
795bc6b3 AM |
237 | 2014-02-12 Alan Modra <amodra@gmail.com> |
238 | ||
239 | * elf32-ppc.c (ppc_elf_relax_section): Enable ppc476 workaround | |
240 | for ld -r, when code sections are sufficiently aligned. | |
241 | * elf32-ppc.h (struct ppc_elf_params): Delete pagesize. Add | |
242 | pagesize_p2. | |
243 | ||
b407645f AM |
244 | 2014-02-12 Alan Modra <amodra@gmail.com> |
245 | ||
246 | PR gold/15530 | |
247 | * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Support | |
248 | --export-dynamic and --dynamic-list marking of symbols. | |
249 | * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Reorder | |
250 | cheap tests first. | |
251 | ||
d6f6f455 L |
252 | 2014-02-10 H.J. Lu <hongjiu.lu@intel.com> |
253 | ||
254 | PR gold/16530 | |
255 | * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark symbol in | |
256 | executables if it matches dynamic_list. | |
257 | ||
c1c69e83 AM |
258 | 2014-02-10 Alan Modra <amodra@gmail.com> |
259 | ||
260 | * po/SRC-POTFILES.in: Regenerate. | |
261 | * po/bfd.pot: Regenerate. | |
262 | ||
53291d1f AM |
263 | 2014-02-09 Alan Modra <amodra@gmail.com> |
264 | ||
265 | * elf-bfd.h (struct elf_backend_data): Add caches_rawsize. | |
266 | * elfxx-target.h (elf_backend_caches_rawsize): Define. | |
267 | (elfNN_bed): Init new field. | |
268 | * elflink.c (elf_link_input_bfd): Handle caches_rawsize. | |
269 | * elf32-ppc.c (shared_stub_entry): Zero addi offset. | |
270 | (ppc_elf_relax_section): Don't reallocate section here, write | |
271 | stubs, or write out relocs for ld -r here.. | |
272 | (ppc_elf_relocate_section): ..instead write stubs here, and use | |
273 | existing code to write out relocs for ld -r. Fix offset | |
274 | adjustment on reloc for little-endian. | |
275 | (elf_backend_caches_rawsize): Define. | |
276 | ||
d1eb5696 RO |
277 | 2014-02-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
278 | ||
85773039 | 279 | PR build/16550 |
d1eb5696 RO |
280 | * cache.c (bfd_cache_max_open): Cast RLIM_INFINITY to rlim_t. |
281 | ||
2915c55b JK |
282 | 2014-02-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
283 | ||
284 | * coff-rs6000.c (xcoff_write_archive_contents_big): Free OFFSETS in | |
285 | return paths. Three times. | |
286 | * elf64-ppc.c (ppc64_elf_link_hash_table_create): Free HTAB in all | |
287 | return paths. | |
288 | (ppc64_elf_tls_optimize): Free TOC_REF in return path. | |
289 | (ppc64_elf_edit_toc): Free USED in return path. | |
290 | ||
1c2de463 SL |
291 | 2014-02-03 Sandra Loosemore <sandra@codesourcery.com> |
292 | ||
293 | * reloc.c (BFD_RELOC_NIOS2_GOT_LO, BFD_RELOC_NIOS2_GOT_HA): New. | |
294 | (BFD_RELOC_NIOS2_CALL_LO, BFD_RELOC_NIOS2_CALL_HA): New. | |
295 | * libbfd.h: Regenerated. | |
296 | * bfd-in2.h: Regenerated. | |
297 | * elf32-nios2.c (elf_nios2_howto_table_rel): Add new relocations. | |
298 | (nios2_reloc_map): Likewise. | |
299 | (GOT_USED, CALL_USED): Renamed from GOT16_USED and CALL16_USED. | |
300 | Fixed all references. | |
301 | (nios2_elf32_relocate_section): Add new relocations. | |
302 | (nios2_elf32_check_relocs): Likewise. | |
303 | (nios2_elf32_gc_sweep_hook): Likewise. | |
304 | ||
5446cbdf AM |
305 | 2014-02-03 Alan Modra <amodra@gmail.com> |
306 | ||
307 | * elf32-ppc.c (struct ppc_elf_link_hash_table): Add params. | |
308 | Delete emit_stub_syms, no_tls_get_addr_opt. Update all uses. | |
309 | (ppc_elf_link_params): New function. | |
310 | (ppc_elf_create_glink): Align .glink to 64 bytes for ppc476 | |
311 | workaround. | |
312 | (ppc_elf_select_plt_layout): Remove plt_style and emit_stub_syms | |
313 | parameters. Use htab->params instead. | |
314 | (ppc_elf_tls_setup): Remove no_tls_get_addr_opt parameter. | |
315 | (ppc_elf_size_dynamic_sections): Align __glink_PLTresolve to | |
316 | 64 bytes for ppc476 workaround. | |
317 | (struct ppc_elf_relax_info): New. | |
318 | (ppc_elf_relax_section): Exclude linker created sections and | |
319 | those too small to hold one instruction. Don't add another | |
320 | branch around trampolines on later relax passes. Don't | |
321 | generate trampolines for undefined symbols when !relocatable, | |
322 | nor for plugin symbols. Allocate space for ppc476 workaround | |
323 | patch area. Free fixups on error return path. | |
324 | (ppc_elf_relocate_section): Handle ppc476 workaround patching. | |
325 | * elf32-ppc.h (struct ppc_elf_params): New. | |
326 | (ppc_elf_select_plt_layout, ppc_elf_tls_setup): Update prototype. | |
327 | (ppc_elf_link_params): Declare. | |
328 | * section.c (SEC_INFO_TYPE_TARGET): Define. | |
329 | * bfd-in2.h: Regenerate. | |
330 | ||
82e91538 SL |
331 | 2014-02-02 Sandra Loosemore <sandra@codesourcery.com> |
332 | ||
333 | * elf32-nios2.c (struct elf32_nios2_link_hash_table): Add | |
334 | h_gp_got field. | |
335 | (nios2_elf32_relocate_section): Use got_base to adjust | |
336 | GOT-pointer-relative relocations relative to _gp_got. | |
337 | (create_got_section): Create _gp_got symbol. | |
338 | (nios2_elf32_finish_dynamic_symbol): Make _gp_got absolute. | |
339 | (nios2_elf32_size_dynamic_sections): Set _gp_got offset. | |
340 | ||
78058a5e SL |
341 | 2014-01-30 Sandra Loosemore <sandra@codesourcery.com> |
342 | ||
343 | * bfd-in2.h: Update from reloc.c. | |
344 | * elf32-nios2.c: Include elf32-nios2.h. | |
345 | (elf_nios2_howto_table_rel): Add entry for R_NIOS2_CALL26_NOAT. | |
346 | (nios2_reloc_map): Likewise. | |
347 | (enum elf32_nios2_stub_type): Declare. | |
348 | (struct elf32_nios2_stub_hash_entry): Declare. | |
349 | (nios2_stub_hash_entry, nios2_stub_hash_lookup): New macros. | |
350 | (struct elf32_nios2_link_hash_entry): Add hsh_cache field. | |
351 | (struct elf32_nios2_link_hash_table): Add new fields bstab, | |
352 | stub_bfd, add_stub_section, layout_sections_again, stub_group, | |
353 | bfd_count, top_index, input_list, all_local_syms. | |
354 | (nios2_call26_stub_entry): New. | |
355 | (nios2_elf32_install_imm16): Move up in file. | |
356 | (nios2_elf32_install_data): Move up in file. | |
357 | (hiadj): Move up in file. | |
358 | (stub_hash_newfunc): New. | |
359 | (link_hash_newfunc): Initialize hsh_cache field. | |
360 | (STUB_SUFFIX): New. | |
361 | (nios2_stub_name): New. | |
362 | (nios2_get_stub_entry): New. | |
363 | (nios2_add_stub): New. | |
364 | (nios2_elf32_setup_section_lists): New. | |
365 | (nios2_elf32_next_input_section): New. | |
366 | (CALL26_SEGMENT): New. | |
367 | (MAX_STUB_SECTION_SIZE): New. | |
368 | (group_sections): New. | |
369 | (nios2_type_of_stub): New. | |
370 | (nios2_build_one_stub): New. | |
371 | (nios2_size_one_stub): New. | |
372 | (get_local_syms): New. | |
373 | (nios2_elf32_size_stubs): New. | |
374 | (nios2_elf32_build_stubs): New. | |
375 | (nios2_elf32_do_call26_relocate): Correct CALL26 overflow test. | |
376 | (nios2_elf32_relocate_section): Handle R_NIOS2_CALL26_NOAT. Add | |
377 | trampolines for R_NIOS2_CALL26 stubs. | |
378 | (nios2_elf32_check_relocs): Handle R_NIOS2_CALL26_NOAT. | |
379 | (nios2_elf32_gc_sweep_hook): Likewise. | |
380 | (nios2_elf32_link_hash_table_create): Initialize the stub hash table. | |
381 | (nios2_elf32_link_hash_table_free): New. | |
382 | (bfd_elf32_bfd_link_hash_table_free): Define. | |
383 | * elf32-nios2.h: New file. | |
384 | * libbfd.h: Update from reloc.c. | |
385 | * reloc.c (BFD_RELOC_NIOS2_CALL26_NOAT): New. | |
386 | ||
df3ce959 NC |
387 | 2014-01-29 Nick Clifton <nickc@redhat.com> |
388 | ||
389 | PR binutils/16318 | |
390 | * elf32-metag.c (elf_metag_post_process_headers): Call | |
391 | _bfd_elf_post_process_headers. | |
392 | * elf32-sh64.c (sh64_elf_copy_private_data): Call | |
393 | _bfd_elf_copy_private_data. | |
394 | * elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise. | |
395 | ||
27b829ee NC |
396 | 2014-01-29 Nick Clifton <nickc@redhat.com> |
397 | ||
398 | * bfd-in.h (bfd_set_section_vma): Delete. | |
399 | (bfd_set_section_alignment): Delete. | |
400 | (bfd_set_section_userdata): Delete. | |
401 | (bfd_set_cacheable): Delete. | |
402 | * bfd.c (bfd_set_cacheable): New static inline function. | |
403 | * section.c (bfd_set_section_userdata): Likewise. | |
404 | (bfd_set_section_vma): Likewise. | |
405 | (bfd_set_section_alignment): Likewise. | |
406 | * bfd-in2.h: Regenerate. | |
407 | ||
0a9c7b2b NC |
408 | 2014-01-28 Nick Clifton <nickc@redhat.com> |
409 | ||
410 | * dwarf2.c (find_abstract_instance_name): For DW_FORM_ref_addr | |
411 | attributes select the CU containing the abbreviation, which may not | |
412 | be the current CU. | |
413 | ||
3ba720c7 AM |
414 | 2014-01-24 Alan Modra <amodra@gmail.com> |
415 | ||
416 | * elf64-ppc.c (ppc_build_one_stub): Correct reloc count passed | |
417 | to get_relocs for ELFv2. | |
418 | ||
d923cae0 L |
419 | 2014-01-23 H.J. Lu <hongjiu.lu@intel.com> |
420 | ||
421 | PR ld/16498 | |
3ba720c7 | 422 | * elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error |
d923cae0 L |
423 | if TLS sections are not adjacent. |
424 | ||
16e4ecc0 AM |
425 | 2014-01-22 Alan Modra <amodra@gmail.com> |
426 | ||
427 | * elflink.c (elf_link_add_object_symbols): Call minfo for --as-needed. | |
428 | ||
eb8d7fda AM |
429 | 2014-01-22 Alan Modra <amodra@gmail.com> |
430 | ||
431 | * elf64-ppc.c (STK_LINKER): Comment typo fix. | |
432 | ||
4584ec12 L |
433 | 2014-01-21 H.J. Lu <hongjiu.lu@intel.com> |
434 | ||
435 | PR ld/16467 | |
436 | * elflink.c (_bfd_elf_merge_symbol): When types of the existing | |
437 | regular default symbol definition and the versioned dynamic | |
438 | symbol definition mismatch, skip the default symbol definition | |
439 | if one of them is IFUNC. | |
440 | ||
22ef172a L |
441 | 2014-01-21 H.J. Lu <hongjiu.lu@intel.com> |
442 | ||
443 | PR ld/2404 | |
444 | * elflink.c (_bfd_elf_merge_symbol): Don't check info->shared, | |
445 | info->export_dynamic nor h->ref_dynamic for type mismatch when | |
446 | adding the default version. | |
447 | ||
b75d42bc AM |
448 | 2014-01-16 Alan Modra <amodra@gmail.com> |
449 | ||
450 | * elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a | |
451 | mips_elf_traverse_got_arg* rather than mips_got_info*. | |
452 | Adjust caller. Alloc on output_bfd rather than symbol section | |
453 | owner. | |
454 | ||
c353e543 L |
455 | 2014-01-15 H.J. Lu <hongjiu.lu@intel.com> |
456 | ||
457 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last | |
458 | change. | |
459 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
460 | ||
818d220a L |
461 | 2014-01-14 H.J. Lu <hongjiu.lu@intel.com> |
462 | ||
463 | PR ld/16428 | |
464 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't discard relocs | |
465 | against __ehdr_start. | |
466 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
467 | ||
c3ce498c L |
468 | 2014-01-14 H.J. Lu <hongjiu.lu@intel.com> |
469 | ||
470 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last | |
471 | change. | |
472 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
473 | ||
d1ec1e40 L |
474 | 2014-01-14 H.J. Lu <hongjiu.lu@intel.com> |
475 | ||
476 | PR ld/16428 | |
477 | * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc | |
478 | count if there are any non pc-relative relocs. | |
479 | * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise. | |
480 | ||
f44a1f8e CL |
481 | 2014-01-14 Michael Hudson-Doyle <michael.hudson@linaro.org> |
482 | Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org> | |
483 | ||
484 | * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct | |
485 | offset while calculating relocation address. | |
486 | (elfNN_aarch64_create_small_pltn_entry): Likewise. | |
487 | (elfNN_aarch64_init_small_plt0_entry): Likewise. | |
488 | ||
fd0fd00c MJ |
489 | 2014-01-13 Ma Jiang <ma.jiang@zte.com.cn> |
490 | ||
491 | PR ld/16202 | |
492 | * elf32-arm.c (elf32_arm_final_link_relocate): Refetch addends for | |
493 | R_ARM_ABS8 and R_ARM_ABS16. | |
494 | ||
aa726b9e AM |
495 | 2014-01-13 Alan Modra <amodra@gmail.com> |
496 | ||
497 | * elf32-ppc.c (ppc_elf_check_relocs): For @local call to ifunc, | |
498 | error when shared and force a plt call otherwise. | |
499 | (ppc_elf_size_dynamic_sections): Don't emit DT_PPC_GOT unless | |
500 | plt_type == PLT_NEW. | |
501 | (ppc_elf_relocate_section): Add missing test to resolve ifuncs to | |
502 | the appropriate call stub. | |
503 | ||
eec2f3ed AM |
504 | 2014-01-10 Alan Modra <amodra@gmail.com> |
505 | ||
506 | PR ld/14207 | |
507 | PR ld/16322 | |
508 | PR binutils/16323 | |
509 | * elf.c (assign_file_positions_for_load_sections): Revert last change. | |
510 | (assign_file_positions_for_non_load_sections): When setting up | |
511 | PT_GNU_RELRO header, don't require a corresponding PT_LOAD | |
512 | header that completely covers the relro region. | |
513 | ||
09bf66a8 TG |
514 | 2014-01-09 Tristan Gingold <gingold@adacore.com> |
515 | ||
516 | * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump | |
517 | table macros and add macros to initializa the structure. | |
518 | ||
43a8475c L |
519 | 2014-01-08 H.J. Lu <hongjiu.lu@intel.com> |
520 | ||
521 | PR ld/14207 | |
522 | PR ld/16322 | |
523 | PR binutils/16323 | |
524 | * elf.c (_bfd_elf_map_sections_to_segments): Don't check section | |
525 | size for PT_GNU_RELRO segment. | |
526 | (assign_file_positions_for_load_sections): If PT_LOAD segment | |
527 | doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz. | |
528 | ||
1651e569 TT |
529 | 2014-01-07 Tom Tromey <tromey@redhat.com> |
530 | ||
531 | * elf32-xtensa.c (vsprint_msg): Don't use old VA_* compatibility | |
532 | wrappers. | |
533 | ||
dc9155b2 NC |
534 | 2014-01-03 Nick Clifton <nickc@redhat.com> |
535 | ||
536 | PR binutils/16199 | |
537 | * elf.c (vma_page_aligned_bias): Handle a maxpagesize value of | |
538 | zero. | |
539 | ||
dd8dfa39 | 540 | 2014-01-02 Yuanhui Zhang <asmwarrior@gmail.com> |
044387af A |
541 | |
542 | PR binutils/14289 | |
543 | * pef.c (bfd_pef_xlib_read_header): Increase buffer size to 80. | |
544 | ||
1be5090b NC |
545 | 2014-01-02 Nick Clifton <nickc@redhat.com> |
546 | ||
547 | PR binutils/11983 | |
548 | * archive.c (_bfd_get_elt_at_filepos): Store a copy of the | |
549 | filename in the bfd's filename field. | |
550 | * elfcode.h (bfd_from_remote_memory): Likewise. | |
551 | * ieee.c (ieee_object_p): Likewise. | |
552 | * mach-o.c (bfd_mach_o_fat_member_init): Likewise. | |
553 | * oasys.c (oasys_openr_next_archived_file): Likewise. | |
554 | * vms-lib.c (_bfd_vms_lib_get_module): Likewise. | |
555 | * opncls.c (bfd_fopen): Likewise. | |
556 | (bfd_openstreamr): Likewise. | |
557 | (bfd_openr_iovec): Likewise. | |
558 | (bfd_openw): Likewise. | |
559 | (bfd_create): Likewise. | |
560 | (_bfd_delete_bfd): Free filename. | |
561 | ||
5fb776a6 | 562 | For older changes see ChangeLog-2013 |
56882138 | 563 | \f |
5fb776a6 | 564 | Copyright (C) 2014 Free Software Foundation, Inc. |
752937aa NC |
565 | |
566 | Copying and distribution of this file, with or without modification, | |
567 | are permitted in any medium without royalty provided the copyright | |
568 | notice and this notice are preserved. | |
569 | ||
56882138 AM |
570 | Local Variables: |
571 | mode: change-log | |
572 | left-margin: 8 | |
573 | fill-column: 74 | |
574 | version-control: never | |
575 | End: |