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