arc: Remove EF_ARC_CPU_GENERIC constant.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
2
3 * elf32-arc.c (arc_elf_print_private_bfd_data): Remove use of
4 EF_ARC_CPU_GENERIC.
5 (arc_elf_final_write_processing): Don't bother setting cpu field
6 in e_flags, this will have been set elsewhere.
7
8 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
9
10 * elf32-arc.c (arc_elf_final_write_processing): Switch to using
11 EF_ARC_MACH_MSK.
12
13 2016-03-21 Nick Clifton <nickc@redhat.com>
14
15 * warning.m4 (GCC_WARN_CFLAGS): Add -Wstack-usage=262144
16 * configure: Regenerate.
17 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Replace use of
18 alloca with call to xmalloc.
19 * elf32-nds32.c: Likewise.
20 * elf64-hppa.c: Likewise.
21 * elfxx-mips.c: Likewise.
22 * pef.c: Likewise.
23 * pei-x86_64.c: Likewise.
24 * som.c: Likewise.
25 * xsym.c: Likewise.
26
27 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
28
29 PR ld/19827
30 * elf32-i386.c (elf_i386_check_relocs): Bind defined symbol
31 locally in PIE.
32 (elf_i386_relocate_section): Likewise.
33 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
34 (elf_x86_64_relocate_section): Likewise.
35
36 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
37
38 PR ld/19807
39 * elf64-x86-64.c (elf_x86_64_relocate_section): Check
40 no_reloc_overflow_check to diable R_X86_64_32/R_X86_64_32S
41 relocation overflow check.
42
43 2016-03-14 H.J. Lu <hongjiu.lu@intel.com>
44
45 * bfd-in2.h: Regenerated.
46
47 2016-03-11 Dan Gissel <dgisselq@ieee.org>
48
49 PR 19713
50 * elf.c (_bfd_elf_section_offset): Ensure that the returned offset
51 uses bytes not octets.
52 * elflink.c (resolve_section): Likewise.
53 Add a bfd parameter.
54 (eval_section): Pass the input_bfd to resolve_section.
55 (bfd_elf_perform_complex_relocation): Convert byte offset to
56 octets before read and writing values.
57 (elf_link_input_bfd): Add byte to octet conversions.
58 (elf_reloc_link_order): Likewise.
59 (elf_fixup_link_order): Likewise.
60 (bfd_elf_final_link): Likewise.
61 * reloc.c (_bfd_final_link_relocate): Likewise.
62 * syms.c (_bfd_stab_section_find_nearest_line): Likewise.
63
64 2016-03-10 Nick Clifton <nickc@redhat.com>
65
66 * config.bfd: Mark the i370 target as obsolete.
67
68 2016-03-09 Pedro Alves <palves@redhat.com>
69
70 * cpu-v850.c (N): Append ":old-gcc-abi" instead of " (using old
71 gcc ABI)" to printable name.
72 * cpu-v850_rh850.c (bfd_v850_rh850_arch): Use "v850:rh850" instead
73 of "v850-rh850" as printable name.
74
75 2016-03-09 Leon Winter <winter-gcc@bfw-online.de>
76
77 PR ld/19623
78 * cofflink.c (_bfd_coff_generic_relocate_section): Do not apply
79 relocations against absolute symbols.
80
81 2016-03-09 Alan Modra <amodra@gmail.com>
82
83 PR binutils/19775
84 * coff-alpha.c (alpha_ecoff_openr_next_archived_file): Allow zero
85 length elements in the archive.
86
87 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
88
89 PR ld/19789
90 * elflink.c (elf_link_add_object_symbols): Create dynamic sections
91 for -E/--dynamic-list only when not relocatable.
92
93 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
94
95 PR ld/19784
96 * elf32-i386.c (elf_i386_check_relocs): Increment PLT reference
97 count for locally defined local IFUNC symbols in shared object.
98 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
99
100 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
101
102 PR ld/19579
103 * elflink.c (_bfd_elf_merge_symbol): Group common symbol checking
104 together.
105
106 2016-03-08 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
107 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 * elf32-arc.c (arc_bfd_get_32): Becomes an alias for bfd_get_32.
110 (arc_bfd_put_32): Becomes an alias for bfd_put_32.
111 (arc_elf_howto_init): Added assert to validate relocations.
112 (get_middle_endian_relocation): Delete.
113 (middle_endian_convert): New function.
114 (ME): Redefine, now does nothing.
115 (IS_ME): New define.
116 (arc_do_relocation): Extend the attached 'ARC_RELOC_HOWTO'
117 definition to call middle_endian_convert. Add a new local
118 variable and make use of this throughout. Added call to
119 arc_bfd_get_8 and arc_bfd_put_8 for 8 bit relocations.
120
121 2016-03-07 Nick Clifton <nickc@redhat.com>
122
123 PR binutils/19775
124 * archive.c (bfd_generic_openr_next_archived_file): Allow zero
125 length elements in the archive.
126
127 2016-03-07 Jiong Wang <jiong.wang@arm.com>
128
129 * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Always create .got
130 section if the symbol "_GLOBAL_OFFSET_TABLE_" is referenced.
131
132 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
133
134 PR ld/19579
135 * elflink.c (_bfd_elf_merge_symbol): Treat common symbol in
136 executable as definition if the new definition comes from a
137 shared library.
138
139 2016-03-02 Alan Modra <amodra@gmail.com>
140
141 * Makefile.in: Regenerate.
142 * po/SRC-POTFILES.in: Regenerate.
143
144 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
145
146 * elf32-arc.c (elf_arc_relocate_section): Added rules to fix the
147 relocation addend when sections get merged.
148
149 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
150
151 * elf32-arc.c (arc_elf_final_write_processing): Add condition to
152 the flag change.
153 (elf_arc_relocate_section): Fixes and conditions to support PIE.
154 Assert for code sections dynamic relocs.
155
156 2016-02-26 Renlin Li <renlin.li@arm.com>
157
158 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix signed overflow
159 check for MOVW_SABS_G0, MOVW_SABS_G1, MOVW_SABS_G2.
160
161 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
162
163 PR ld/19609
164 * elf32-i386.c (elf_i386_convert_load): Convert to R_386_32 for
165 load with locally bound symbols if PIC is false or there is no
166 base register. Optimize branch to 0 if PIC is false.
167 (elf_i386_relocate_section): Don't generate dynamic relocations
168 against undefined weak symbols if PIC is false.
169 * elf64-x86-64.c (elf_x86_64_convert_load): Disable optimization
170 if we can't estimate relocation overflow with --no-relax.
171 Convert to R_X86_64_32S/R_X86_64_32 for load with locally bound
172 symbols if PIC is false. Optimize branch to 0 if PIC is false.
173 (elf_x86_64_relocate_section): Don't generate dynamic relocations
174 against undefined weak symbols if PIC is false.
175
176 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
177
178 PR ld/19645
179 * bfd.c (bfd): Change flags to 20 bits.
180 (BFD_CONVERT_ELF_COMMON): New.
181 (BFD_USE_ELF_STT_COMMON): Likewise.
182 (BFD_FLAGS_SAVED): Add BFD_CONVERT_ELF_COMMON and
183 BFD_USE_ELF_STT_COMMON.
184 (BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
185 * configure.ac: Remove --enable-elf-stt-common.
186 * elf.c (swap_out_syms): Choose STT_COMMON or STT_OBJECT for
187 common symbol depending on BFD_CONVERT_ELF_COMMON and
188 BFD_USE_ELF_STT_COMMON.
189 * elfcode.h (elf_slurp_symbol_table): Set BSF_ELF_COMMON for
190 STT_COMMON.
191 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Also check
192 STT_COMMON.
193 (elf_link_convert_common_type): New function.
194 (elf_link_output_extsym): Choose STT_COMMON or STT_OBJECT for
195 common symbol depending on BFD_CONVERT_ELF_COMMON and
196 BFD_USE_ELF_STT_COMMON. Set sym.st_info after sym.st_shndx.
197 * elfxx-target.h (TARGET_BIG_SYM): Add BFD_CONVERT_ELF_COMMON
198 and BFD_USE_ELF_STT_COMMON to object_flags.
199 (TARGET_LITTLE_SYM): Likewise.
200 * syms.c (BSF_KEEP_G): Renamed to ...
201 (BSF_ELF_COMMON): This.
202 * bfd-in2.h: Regenerated.
203 * config.in: Likewise.
204 * configure: Likewise.
205
206 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
207
208 PR ld/19636
209 PR ld/19704
210 PR ld/19719
211 * elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
212 (elf_i386_link_hash_entry): Add has_got_reloc and
213 has_non_got_reloc.
214 (elf_i386_link_hash_table): Add interp.
215 (elf_i386_link_hash_newfunc): Initialize has_got_reloc and
216 has_non_got_reloc.
217 (elf_i386_copy_indirect_symbol): Copy has_got_reloc and
218 has_non_got_reloc.
219 (elf_i386_check_relocs): Set has_got_reloc and has_non_got_reloc.
220 (elf_i386_fixup_symbol): New function.
221 (elf_i386_pie_finish_undefweak_symbol): Likewise.
222 (elf_i386_allocate_dynrelocs): Don't allocate space for dynamic
223 relocations and discard relocations against resolved undefined
224 weak symbols in executable. Don't make resolved undefined weak
225 symbols in executable dynamic. Keep dynamic non-GOT/non-PLT
226 relocation against undefined weak symbols in PIE.
227 (elf_i386_size_dynamic_sections): Set interp to .interp section.
228 (elf_i386_relocate_section): Don't generate dynamic relocations
229 against resolved undefined weak symbols in PIE, except for
230 R_386_PC32.
231 (elf_i386_finish_dynamic_symbol): Keep PLT/GOT entries without
232 dynamic PLT/GOT relocations for resolved undefined weak symbols.
233 Don't generate dynamic relocation against resolved undefined weak
234 symbol in executable.
235 (elf_i386_finish_dynamic_sections): Call
236 elf_i386_pie_finish_undefweak_symbol on all symbols in PIE.
237 (elf_backend_fixup_symbol): New.
238 * elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
239 (elf_x86_64_link_hash_entry): Add has_got_reloc and
240 has_non_got_reloc.
241 (elf_x86_64_link_hash_table): Add interp.
242 (elf_x86_64_link_hash_newfunc): Initialize has_got_reloc and
243 has_non_got_reloc.
244 (elf_x86_64_copy_indirect_symbol): Copy has_got_reloc and
245 has_non_got_reloc.
246 (elf_x86_64_check_relocs): Set has_got_reloc and
247 has_non_got_reloc.
248 (elf_x86_64_fixup_symbol): New function.
249 (elf_x86_64_pie_finish_undefweak_symbol): Likewise.
250 (elf_x86_64_allocate_dynrelocs): Don't allocate space for dynamic
251 relocations and discard relocations against resolved undefined
252 weak symbols in executable. Don't make resolved undefined weak
253 symbols in executable dynamic.
254 (elf_x86_64_size_dynamic_sections): Set interp to .interp section.
255 (elf_x86_64_relocate_section): Check relocation overflow for
256 dynamic relocations against unresolved weak undefined symbols.
257 Don't generate dynamic relocations against resolved weak
258 undefined symbols in PIE.
259 (elf_x86_64_finish_dynamic_symbol): Keep PLT/GOT entries without
260 dynamic PLT/GOT relocations for resolved undefined weak symbols.
261 Don't generate dynamic relocation against resolved undefined weak
262 symbol in executable.
263 (elf_x86_64_finish_dynamic_sections): Call
264 elf_x86_64_pie_finish_undefweak_symbol on all symbols in PIE.
265 (elf_backend_fixup_symbol): New.
266
267 2016-02-26 Alan Modra <amodra@gmail.com>
268
269 * elf64-ppc.c (create_linkage_sections): Create sfpr when
270 save_restore_funcs, rest of sections when not relocatable.
271 (ppc64_elf_init_stub_bfd): Always call create_linkage_sections.
272 (sfpr_define): Define all symbols on emitted code.
273 (ppc64_elf_func_desc_adjust): Adjust for sfpr now being created
274 when relocatable. Move sfpr_define loop earlier.
275
276 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
277
278 * elf64-x86-64.c (elf_x86_64_need_pic): New function.
279 (elf_x86_64_relocate_section): Use it. Replace
280 x86_64_elf_howto_table[r_type] with howto.
281
282 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
283
284 PR ld/19698
285 * elflink.c (bfd_elf_record_link_assignment): Set versioned if
286 symbol version is unknown.
287
288 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
289
290 * elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset
291 to (bfd_vma) -1 when setting needs_plt to 0.
292 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
293
294 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
295
296 * elflink.c (bfd_elf_record_link_assignment): Check for shared
297 library, instead of PIC, and don't check PDE when making linker
298 assigned symbol dynamic.
299
300 2016-02-23 Faraz Shahbazker <faraz.shahbazker@imgtec.com>
301
302 * bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Increment
303 ABIVERSION for non-executable stack.
304
305 2016-02-23 Rich Felker <bugdal@aerifal.cx>
306
307 PR target/19516
308 * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol):
309 Always produce a RELATIVE reloc for a local symbol.
310
311 2016-02-23 Hans-Peter Nilsson <hp@axis.com>
312
313 Fix test-case ld-elf/pr19617b
314 * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
315 discard unused non-function symbols when --dynamic-list-data.
316
317 2016-02-22 H.J. Lu <hongjiu.lu@intel.com>
318
319 * elflink.c (_bfd_elf_link_renumber_dynsyms): Always create the
320 dynsym section, even if it is empty, with dynamic sections.
321
322 2016-02-22 H.J. Lu <hongjiu.lu@intel.com>
323
324 * syms.c: Remove BSF_COMMON from comments.
325 * bfd-in2.h: Regenerated.
326
327 2016-02-22 Jiong Wang <jiong.wang@arm.com>
328
329 * elfnn-aarch64. (aarch64_type_of_stub): Remove redundation calcuation
330 for destination. Remove useless function parameters.
331 (elfNN_aarch64_size_stubs): Update parameters for aarch64_type_of_stub.
332
333 2016-02-19 Nick Clifton <nickc@redhat.com>
334
335 PR ld/19629
336 * aoutx.h (aout_link_add_symbols): Check for out of range string
337 table offsets.
338
339 PR ld/19628
340 * reloc.c (bfd_generic_get_relocated_section_contents): Stop
341 processing if we encounter a reloc without an associated symbol.
342
343 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
344
345 PR ld/19617
346 * elflink.c (elf_link_add_object_symbols): Always create dynamic
347 sections for -E/--dynamic-list.
348
349 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
350
351 * elf64-x86-64.c (elf_backend_omit_section_dynsym): New. Defined
352 to bfd_true.
353
354 2016-02-16 Joseph Myers <joseph@codesourcery.com>
355
356 * plugin.c (plugin_vec): Set match priority to 255.
357 * format.c (bfd_check_format_matches) [BFD_SUPPORTS_PLUGINS]: When
358 matching against the plugin vector, take priority from there not
359 from TEMP.
360
361 2016-02-15 Nick Clifton <nickc@redhat.com>
362
363 * elf-bfd.h (struct bfd_elf_special_section): Use unsigned values
364 for length and type fields. Use a signed value for the
365 suffix_length field.
366
367 2016-02-10 H.J. Lu <hongjiu.lu@intel.com>
368
369 PR ld/19601
370 * elf32-i386.c (elf_i386_relocate_section): Mask off the least
371 significant bit in GOT offset for R_386_GOT32X.
372
373 2016-02-10 Nick Clifton <nickc@redhat.com>
374
375 PR 19405
376 * elf32-nios2.c (nios2_elf32_install_imm16): Allow for signed
377 immediate values.
378 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Limit the
379 number of messages about FDE encoding preventing .eh_frame_hdr
380 generation.
381
382 2016-02-09 Nick Clifton <nickc@redhat.com>
383
384 * oasys.c (oasys_archive_p): Fix indentation.
385 * elf32-nds32.c (nds32_elf_relax_section): Use an unsigned
386 constant for left shifting.
387
388 * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more
389 helpful warning message to explain why certain AArch64 relocs
390 might overflow.
391
392 2016-02-05 Simon Marchi <simon.marchi@ericsson.com>
393
394 * pe-mips.c (coff_mips_reloc): Fix formatting.
395
396 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
397
398 * cpu-arc.c: Change default archure from bfd_mach_arc_arcv2
399 to bfd_mach_arc_arc600.
400
401 2016-02-04 Alan Modra <amodra@gmail.com>
402
403 * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch
404 for big-endian.
405
406 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
407
408 PR ld/19542
409 * elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated
410 distances in the compressed_size field of the output section.
411
412 2016-02-02 Alan Modra <amodra@gmail.com>
413
414 * elf64-ppc.c (ppc64_elf_relocate_section): Further restrict
415 ELFv2 entry optimization.
416
417 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
418
419 PR binutils/19547
420 * elf.c (assign_section_numbers): Clear HAS_RELOC if there are
421 no relocations in relocatable files.
422
423 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
424
425 PR ld/19553
426 * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
427 if a symbol from a library loaded via DT_NEEDED doesn't match
428 the symbol referenced by regular object.
429
430 2016-02-01 Nathaniel Smith <njs@pobox.com>
431
432 * peicode.h (pe_ILF_build_a_bfd): Create an import symbol for both
433 CODE and DATA.
434
435 2016-02-01 Alan Modra <amodra@gmail.com>
436
437 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on
438 an out of range reloc_index.
439 * elf32-i386.c (elf_i386_get_plt_sym_val): Likewise.
440
441 2016-02-01 Kamil Rytarowski <n54@gmx.com>
442
443 * Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo.
444 (OPTIONAL_BACKENDS_CFILES): Add netbsd-core.c.
445 * Makefile.in: Regenerated.
446
447 2016-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
448
449 * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.
450
451 2016-01-31 John David Anglin <danglin@gcc.gnu.org>
452
453 PR ld/19526
454 * elf32-hppa.c (elf32_hppa_final_link): Don't sort non-regular output
455 files.
456 * elf64-hppa.c (elf32_hppa_final_link): Likewise. Remove retval.
457
458 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
459
460 PR ld/19539
461 * elf32-i386.c (elf_i386_reloc_type_class): Check relocation
462 against STT_GNU_IFUNC symbol only with dynamic symbols.
463 * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
464
465 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
466
467 PR binutils/19523
468 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
469 decompress debug sections.
470
471 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
472
473 * elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to
474 `dynindx'.
475
476 2016-01-25 Nick Clifton <nickc@redhat.com>
477
478 PR target/19435
479 * mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free
480 dsym filename buffer.
481
482 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
483
484 * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
485
486 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
487
488 * elfxx-mips.c (BZ16_REG): Correct calculation.
489
490 2016-01-21 Nick Clifton <nickc@redhat.com>
491
492 * elf32-arc.c (ADD_RELA): Fix compile time warning errors by
493 changing the type of _loc to be bfd_byte *.
494 (elf_arc_finish_dynamic_symbol): Likewise.
495
496 2016-01-21 Nick Clifton <nickc@redhat.com>
497
498 PR ld/19455
499 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
500 class of the linker stub bfd.
501 (elf32_arm_check_relocs): Skip check for pic format after
502 processing a vxWorks R_ARM_ABS12 reloc.
503 * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
504 reporting a class mismatch.
505
506 2016-01-21 Jiong Wang <jiong.wang@arm.com>
507
508 * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
509 veneer for sym_sec != input_sec.
510 (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
511 (elfNN_aarch64_final_link_relocate): Take rela addend into account when
512 calculation destination.
513
514 2016-01-21 Alan Modra <amodra@gmail.com>
515
516 * elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
517 (swap_linux_prpsinfo64_out): New function.
518 (LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
519 (LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
520 * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
521 (elfcore_write_linux_prpsinfo64): Likewise.
522 * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
523 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
524 (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
525
526 2016-01-21 Alan Modra <amodra@gmail.com>
527
528 * elf-linux-core.h: Rename from elf-linux-psinfo.h.
529 * elf.c: Adjust #include.
530 * elf32-ppc.c: Don't #include elf-linux-psinfo.h
531 * Makefile.am (SOURCE_HFILES): Update.
532 * Makefile.in: Regenerate.
533 * po/SRC-PORFILES.in: Regenerate.
534
535 2016-01-21 Alan Modra <amodra@gmail.com>
536
537 * configure.ac: Move corefile selection later in file. Move
538 tdefaults code immediately after other target vector code.
539 * configure: Regenerate.
540
541 2016-01-20 Mickael Guene <mickael.guene@st.com>
542
543 * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread
544 section using '.text.noread' pattern.
545
546 2016-01-19 John Baldwin <jhb@FreeBSD.org>
547
548 * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
549
550 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
551 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
552
553 * arc-plt.def: New file.
554 * arc-plt.h: Likewise.
555 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
556 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
557 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
558 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
559 (name_for_global_symbol): Added.
560 (ADD_RELA): Helper to create dynamic relocs.
561 (new_got_entry_to_list): Create a new got entry in linked list.
562 (symbol_has_entry_of_type): Search for specific type of entry in
563 list.
564 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
565 (is_reloc_for_TLS, arc_elf_set_private_flags)
566 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
567 (arc_elf_merge_private_bfd_data): New functions.
568 (debug_arc_reloc): Cleaned debug info printing.
569 (PDATA reloc): Changed not to perform address alignment.
570 (reverse_me): Added. Fix for ARC_32 relocs.
571 (arc_do_relocation): Return bfd_reloc_of when no relocation should
572 occur.
573 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
574 Changed function to access an array of list of GOT entries instead
575 of just an array of offsets.
576 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
577 (elf_arc_check_relocs): Likewise.
578 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
579 (elf_arc_finish_dynamic_sections): Likewise
580 (arc_create_dynamic_sections): Modified conditions to create
581 dynamic sections.
582 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
583 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
584 (relocate_plt_for_entry): Changed to support new way to define PLT
585 related code.
586 (add_symbol_to_plt): Likewise.
587 (arc_elf_link_hash_table_create): New function.
588
589 2016-01-18 Nick Clifton <nickc@redhat.com>
590
591 PR ld/19440
592 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
593 section number into internal section number.
594 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
595 * coffswap.h (coff_swap_sym_in): Likewise.
596 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
597 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
598 section number field is big enough to hold the external value.
599
600 2016-01-17 Alan Modra <amodra@gmail.com>
601
602 * configure: Regenerate.
603
604 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
605
606 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
607 when address in first unwind entry does not match start of
608 section.
609
610 2016-01-08 Richard Sandiford <richard.sandiford@arm.com>
611 Jiong Wang <jiong.wang@arm.com>
612
613 PR ld/19368
614 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
615 reloc_class_ifunc.
616
617 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
618
619 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
620 place 'R_' before the reloc name returned.
621 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
622 the relocation string.
623
624 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
625
626 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
627 factored out from...
628 (_bfd_mips_elf_merge_private_bfd_data): ... here.
629
630 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
631
632 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
633 attribute check after ELF file header flag check.
634
635 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
636
637 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
638 return status from `_bfd_elf_merge_object_attributes'.
639
640 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
641
642 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
643 factored out from...
644 (_bfd_mips_elf_merge_private_bfd_data): ... here.
645
646 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
647
648 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
649 handling of input MIPS ABI flags together.
650
651 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
652
653 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
654 attribute checks for null input.
655
656 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
657
658 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
659 pointers to target data.
660
661 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
662
663 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
664 an FP ABI warning.
665
666 2016-01-01 Alan Modra <amodra@gmail.com>
667
668 Update year range in copyright notice of all files.
669
670 For older changes see ChangeLog-2015 and doc/ChangeLog-0415
671 \f
672 Copyright (C) 2016 Free Software Foundation, Inc.
673
674 Copying and distribution of this file, with or without modification,
675 are permitted in any medium without royalty provided the copyright
676 notice and this notice are preserved.
677
678 Local Variables:
679 mode: change-log
680 left-margin: 8
681 fill-column: 74
682 version-control: never
683 End:
This page took 0.045531 seconds and 5 git commands to generate.