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