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