Initialize res in get_next_pcs_read_memory_unsigned_integer
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
6d6a648c
MR
12016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2
3 PR 10549
4 * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Handle
5 STB_GNU_UNIQUE.
6
1f56df9d
JW
72016-05-03 Jiong Wang <jiong.wang@arm.com>
8
9 * bfd-in.h (bfd_elf64_aarch64_set_options): Update prototype.
10 * bfd-in2.h (bfd_elf64_aarch64_set_options): Likewise.
11 * elfnn-aarch64.c (bfd_elfNN_aarch64_set_options): Initialize
12 no_apply_dynamic_relocs.
13 (elfNN_aarch64_final_link_relocate): Apply absolute relocations even though
14 dynamic relocations generated.
15
493f652c
L
162016-04-29 H.J. Lu <hongjiu.lu@intel.com>
17
18 * elf32-i386.c (elf_i386_size_dynamic_sections): Move interp
19 setting to ...
20 (elf_i386_create_dynamic_sections): Here.
21 * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Move
22 interp setting to ...
23 (elf_x86_64_create_dynamic_sections): Here.
24
e62b9723
L
252016-04-29 H.J. Lu <hongjiu.lu@intel.com>
26
27 * elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Take GOT_RELOC
28 and replace (EH)->has_got_reloc with GOT_RELOC.
29 (elf_i386_fixup_symbol): Pass has_got_reloc to
30 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
31 (elf_i386_allocate_dynrelocs): Likewise.
32 (elf_i386_relocate_section): Likewise.
33 (elf_i386_finish_dynamic_symbol): Likewise.
34 (elf_i386_convert_load): Pass TRUE to
35 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
36 * elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Take
37 GOT_RELOC and replace (EH)->has_got_reloc with GOT_RELOC.
38 (elf_x86_64_fixup_symbol): Pass has_got_reloc to
39 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
40 (elf_x86_64_allocate_dynrelocs): Likewise.
41 (elf_x86_64_relocate_section): Likewise.
42 (elf_x86_64_finish_dynamic_symbol): Likewise.
43 (elf_x86_64_convert_load): Pass TRUE to
44 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
45
c337a162
L
462016-04-29 H.J. Lu <hongjiu.lu@intel.com>
47
48 * elf32-i386.c (check_relocs_failed): New.
49 (elf_i386_check_relocs): Set check_relocs_failed on error.
50 (elf_i386_relocate_section): Skip if check_relocs failed.
51
afd9acee
L
522016-04-29 H.J. Lu <hongjiu.lu@intel.com>
53
54 * elf64-x86-64.c (elf_x86_64_check_relocs): Set
55 check_relocs_failed on error.
56
5522f910
NC
572016-04-29 Nick Clifton <nickc@redhat.com>
58
59 PR 19938
60 * elf-bfd.h (struct elf_backend_data): Rename
61 elf_backend_set_special_section_info_and_link to
62 elf_backend_copy_special_section_fields.
63 * elfxx-target.h: Likewise.
64 * elf.c (section_match): Ignore the SHF_INFO_LINK flag when
65 comparing section flags.
66 (copy_special_section_fields): New function.
67 (_bfd_elf_copy_private_bfd_data): Copy the EI_ABIVERSION field.
68 Perform two scans over special sections. The first one looks for
69 a direct mapping between the output section and an input section.
70 The second scan looks for a possible match based upon section
71 characteristics.
72 * elf32-arm.c (elf32_arm_copy_special_section_fields): New
73 function. Handle setting the sh_link field of SHT_ARM_EXIDX
74 sections.
75 * elf32-i386.c (elf32_i386_set_special_info_link): Rename to
76 elf32_i386_copy_solaris_special_section_fields.
77 * elf32-sparc.c (elf32_sparc_set_special_section_info_link):
78 Rename to elf32_sparc_copy_solaris_special_section_fields.
79 * elf64-x86-64.c (elf64_x86_64_set_special_info_link): Rename to
80 elf64_x86_64_copy_solaris_special_section_fields.
81
786a118c
NC
822016-04-28 Nick Clifton <nickc@redhat.com>
83
84 * po/zh_CN.po: Updated Chinese (simplified) translation.
85
91f8bf69
L
862016-04-27 H.J. Lu <hongjiu.lu@intel.com>
87
88 PR ld/20006
89 * elf64-x86-64.c (elf_x86_64_convert_load): Skip debug sections
90 when estimating distances between output sections.
91
a6a4679f
AM
922016-04-27 Alan Modra <amodra@gmail.com>
93
94 * elflink.c (_bfd_elf_is_start_stop): New function.
95 (_bfd_elf_gc_mark_rsec): Use it.
96 * elf-bfd.h (_bfd_elf_is_start_stop): Declare.
97
28cc9170
TS
982016-04-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
99
100 * elf32-rx.c (rx_set_section_contents): Avoid arithmetic on void *.
101 * mmo.c (mmo_get_section_contents): Likewise.
102 (mmo_set_section_contents): Likewise.
103
d5486c43
L
1042016-04-26 H.J. Lu <hongjiu.lu@intel.com>
105
106 * elf-bfd.h (elf_link_hash_table): Update comments for
107 dynsymcount.
108 * elflink.c (_bfd_elf_link_renumber_dynsyms): Always count for
109 the unused NULL entry at the head of dynamic symbol table.
110 (bfd_elf_size_dynsym_hash_dynstr): Remove dynsymcount != 0
111 checks.
112
6645479e
L
1132016-04-21 H.J. Lu <hongjiu.lu@intel.com>
114
115 * elflink.c (_bfd_elf_link_create_dynstrtab): Exclude linker
116 created file from dynobj.
117
6cd255ca
L
1182016-04-21 H.J. Lu <hongjiu.lu@intel.com>
119
120 * elflink.c (_bfd_elf_link_create_dynstrtab): Set dynobj to a
121 normal input file if possible.
122
4f3b23b3
NC
1232016-04-21 Nick Clifton <nickc@redhat.com>
124
125 * aout-adobe.c: Use _bfd_generic_link_check_relocs.
126 * aout-target.h: Likewise.
127 * aout-tic30.c: Likewise.
128 * binary.c: Likewise.
129 * bout.c: Likewise.
130 * coff-alpha.c: Likewise.
131 * coff-rs6000.c: Likewise.
132 * coff64-rs6000.c: Likewise.
133 * coffcode.h: Likewise.
134 * i386msdos.c: Likewise.
135 * i386os9k.c: Likewise.
136 * ieee.c: Likewise.
137 * ihex.c: Likewise.
138 * libbfd-in.h: Likewise.
139 * libecoff.h: Likewise.
140 * mach-o-target.c: Likewise.
141 * mmo.c: Likewise.
142 * nlm-target.h: Likewise.
143 * oasys.c: Likewise.
144 * pef.c: Likewise.
145 * plugin.c: Likewise.
146 * ppcboot.c: Likewise.
147 * som.c: Likewise.
148 * srec.c: Likewise.
149 * tekhex.c: Likewise.
150 * versados.c: Likewise.
151 * vms-alpha.c: Likewise.
152 * xsym.c: Likewise.
153 * elfxx-target.h: Use _bfd_elf_link_check_relocs.
154 * linker.c (bfd_link_check_relocs): New function.
155 (_bfd_generic_link_check_relocs): New function.
156 * targets.c (BFD_JUMP_TABLE_LINK): Add initialization of
157 _bfd_link_check_relocs field.
158 (struct bfd_target)L Add _bfd_link_check_relocs field.
159 * bfd-in2.h: Regenerate.
160 * libbfd.h: Regenerate.
161
e66cdd68
L
1622016-04-20 H.J. Lu <hongjiu.lu@intel.com>
163
164 * elf32-i386.c (elf_i386_gc_sweep_hook): Removed.
165 (elf_backend_gc_sweep_hook): Likewise.
166 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
167 (elf_backend_gc_sweep_hook): Likewise.
168
5ce03cea
L
1692016-04-20 H.J. Lu <hongjiu.lu@intel.com>
170
171 * elflink.c (_bfd_elf_link_check_relocs): Don't check relocations
172 in excluded sections
173
338c190a
L
1742016-04-20 H.J. Lu <hongjiu.lu@intel.com>
175
176 PR ld/19969
177 * elf64-x86-64.c (check_relocs_failed): New.
178 (elf_x86_64_need_pic): Moved before elf_x86_64_check_relocs.
179 Support relocation agaist local symbol. Set check_relocs_failed.
180 (elf_x86_64_check_relocs): Use elf_x86_64_need_pic. Check
181 R_X86_64_32 relocation overflow.
182 (elf_x86_64_relocate_section): Skip if check_relocs failed.
183 Update one elf_x86_64_need_pic and remove one elf_x86_64_need_pic.
184
466ee2af
L
1852016-04-20 H.J. Lu <hongjiu.lu@intel.com>
186
187 * elf32-i386.c (elf_i386_check_relocs): Call
188 _bfd_elf_create_ifunc_sections only for STT_GNU_IFUNC symbol.
189 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
190
d9689752
L
1912016-04-20 H.J. Lu <hongjiu.lu@intel.com>
192
193 * elf-bfd.h (_bfd_elf_link_check_relocs): New.
194 * elflink.c (_bfd_elf_link_check_relocs): New function.
195 (elf_link_add_object_symbols): Call _bfd_elf_link_check_relocs
196 if check_relocs_after_open_input is FALSE.
197
e6c7cdec
TS
1982016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
199
200 * cache.c: Update old style function definitions.
201 * elf32-m68k.c: Likewise.
202 * elf64-mmix.c: Likewise.
203 * stab-syms.c: Likewise.
204
b98e6871
TS
2052016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
206
207 * elf32-arm.c (put_thumb2_insn): Change argument type to bfd_byte *.
208
6fd8e7c2
L
2092016-04-15 H.J. Lu <hongjiu.lu@intel.com>
210
211 * Makefile.in: Regenerated with automake 1.11.6.
212 * aclocal.m4: Likewise.
213 * doc/Makefile.in: Likewise.
214
4b0c052e
AB
2152016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
216
217 * reloc.c: Add BFD_RELOC_ARC_NPS_CMEM16 entry.
218 * bfd-in2.h: Regenerate.
219 * libbfd.h: Regenerate.
220 * elf32-arc.c: Add 'opcode/arc.h' include.
221 (struct arc_relocation_data): Add symbol_name.
222 (arc_special_overflow_checks): New function.
223 (arc_do_relocation): Use arc_special_overflow_checks, reindent as
224 required, add an extra comment.
225 (elf_arc_relocate_section): Setup symbol_name in reloc_data.
226
33cbe6c0
AB
2272016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
228
229 * elf32-arc.c (tls_got_entries): Add 'TLS_GOT_' prefix to all
230 entries.
231 (elf_arc_relocate_section): Update enum uses.
232 (elf_arc_check_relocs): Likewise.
233 (elf_arc_finish_dynamic_symbol): Likewise.
234
7634c4e6
L
2352016-04-14 H.J. Lu <hongjiu.lu@intel.com>
236
237 * elf.c (_bfd_elf_copy_private_bfd_data): Replace "link" with
238 "sh_link".
239
84865015
NC
2402016-04-14 Nick Clifton <nickc@redhat.com>
241
242 PR target/19938
243 * elf-bbfd.h (struct elf_backend_data): New field:
244 elf_strtab_flags.
245 New field: elf_backend_set_special_section_info_and_link
246 * elfxx-target.h (elf_backend_strtab_flags): Define if not already
247 defined.
248 (elf_backend_set_special_section_info_and_link): Define if not
249 already defined.
250 (elfNN_bed): Use elf_backend_set_special_section_info_and_link and
251 elf_backend_strtab_flags macros to initialise fields in structure.
252 * elf.c (_bfd_elf_make_section_from_shdr): Check for SHF_STRINGS
253 being set even if SHF_MERGE is not set.
254 (elf_fake_sections): Likewise.
255 (section_match): New function. Matches two ELF sections based
256 upon fixed characteristics.
257 (find_link): New function. Locates a section in a BFD that
258 matches a section in a different BFD.
259 (_bfd_elf_copy_private_bfd_data): Copy the sh_info and sh_link
260 fields of reserved sections.
261 (bfd_elf_compute_section_file_positions): Set the flags for the
262 .shstrtab section based upon the elf_strtab_flags field in the
263 elf_backend_data structure.
264 (swap_out_syms): Likewise for the .strtab section.
265 * elflink.c (bfd_elf_final_link): Set the flags for the
266 .strtab section based upon the elf_strtab_flags field in the
267 elf_backend_data structure.
268 * elf32-i386.c (elf32_i386_set_special_info_link): New function.
269 (elf_backend_strtab_flags): Set to SHF_STRINGS for Solaris
270 targets.
271 (elf_backend_set_special_section_info_and_link): Define for
272 Solaris targets.
273 * elf32-sparc.c: Likewise.
274 * elf64-x86-64.c: Likewise.
275
2df3368d
L
2762016-04-11 H.J. Lu <hongjiu.lu@intel.com>
277
278 PR ld/19939
279 * elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): Add a pointer
280 to bfd_boolean.
281 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Updated.
282 Set *readonly_dynrelocs_against_ifunc_p to TRUE if dynamic reloc
283 applies to read-only section.
284 * elf32-i386.c (elf_i386_link_hash_table): Add
285 readonly_dynrelocs_against_ifunc.
286 (elf_i386_allocate_dynrelocs): Updated.
287 (elf_i386_size_dynamic_sections): Issue an error for read-only
288 segment with dynamic IFUNC relocations only if
289 readonly_dynrelocs_against_ifunc is TRUE.
290 * elf64-x86-64.c (elf_x86_64_link_hash_table): Add
291 readonly_dynrelocs_against_ifunc.
292 (elf_x86_64_allocate_dynrelocs): Updated.
293 (elf_x86_64_size_dynamic_sections): Issue an error for read-only
294 segment with dynamic IFUNC relocations only if
295 readonly_dynrelocs_against_ifunc is TRUE.
296 * elfnn-aarch64.c (elfNN_aarch64_allocate_ifunc_dynrelocs):
297 Updated.
298
15dd01b1
TP
2992016-04-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
300
301 * elf32-arm.c (elf32_arm_size_stubs): Move error_ret_free_local to be
302 a fall through from error_ret_free_internal. Free local_syms in
303 error_ret_free_local if allocated from bfd_elf_get_elf_syms ().
304
1e5885b7
CZ
3052016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
306
307 * elf32-arc.c (plt_do_relocs_for_symbol): Changed.
308 (relocate_plt_for_entry): Likewise.
309
b3aee839
CZ
3102016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
311
312 * elf32-arc.c (elf_arc_check_relocs): Changed
313
094fb063
CZ
3142016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
315
316 * elf32-arc.c (name_for_global_symbol): Changed assert.
317 (get_replace_function): Created.:
318 (struct arc_relocation_data): Changed to signed types.
319 (defines S, L, P, PDATA): Casted to signed type.
320 (defines SECTSTART, _SDA_BASE_, TLS_REL): Likewise.
321 (PRINT_DEBUG_RELOC_INFO_BEFORE): Changed.
322 (arc_do_relocation): Changed.
323
94e5c971
CZ
3242016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
325
326 * elf32-arc.c (name_for_global_symbol): Added assert to check for
327 symbol index.
328 (elf_arc_relocate_section): Added and changed asserts, validating
329 the synamic symbol index.
330 (elf_arc_finish_dynamic_symbol): Do not fill the dynamic
331 relocation if symbol has dynindx set to -1.
332
1f599d0e
MR
3332016-04-05 Maciej W. Rozycki <macro@imgtec.com>
334
335 * elflink.c (elf_link_add_object_symbols): Always turn hidden
336 and internal symbols which have a dynamic index into local
337 ones.
338
67f101ee
NC
3392016-04-04 Nick Clifton <nickc@redhat.com>
340
341 PR 19872
342 * dwarf2.c (parse_comp_unit): Skip warning about unrecognised
343 version number if the version is zero.
344
7b15fa7a
AM
3452016-04-01 Alan Modra <amodra@gmail.com>
346
347 PR 19886
348 * elflink.c (on_needed_list): Recursively check needed status.
349 (elf_link_add_object_symbols): Adjust.
350
024ea11b
SKS
3512016-03-30 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
352
353 * elf32-avr.c (avr_elf32_load_records_from_section): Free
354 internal_relocs only if they aren't cached.
355
ed3056eb
NC
3562016-03-29 Nick Clifton <nickc@redhat.com>
357
358 PR 17334
359 * elf32-bfin.c (elf32_bfinfdpic_finish_dynamic_sections): Relax
360 assertion on the size of the got section to allow it to be bigger
361 than the number of relocs.
362
e2b4fc91
TS
3632016-03-29 Toni Spets <toni.spets@iki.fi>
364
365 PR 19878
366 * coffcode.h (coff_write_object_contents): Revert accidental
367 2014-11-10 change.
368
a97fbc7e
AM
3692016-03-22 Alan Modra <amodra@gmail.com>
370
371 PR 19850
372 * dwarf2.c (read_attribute_value): Skip info_ptr check for
373 DW_FORM_flag_present.
374
9780e045
NC
3752016-03-22 Nick Clifton <nickc@redhat.com>
376
96254e5c
NC
377 * cpu-v850_rh850.c (arch_info_struct): Restore v850-rh850 as an
378 architecture name for backwards compatibility.
379
7769fa97
NC
380 * peXXigen.c (_bfd_XXi_write_codeview_record): Fix possible
381 unbounded stack use.
382
9780e045
NC
383 * warning.m4 (GCC_WARN_CFLAGS): Only add -Wstack-usage if using a
384 sufficiently recent version of GCC.
385 * configure: Regenerate.
386
6f4c0a42
AM
3872016-03-22 Alan Modra <amodra@gmail.com>
388
389 PR 19851
390 * plugin.c (try_load_plugin): Avoid -Wstack-usage warning.
391
8699fc3e
AB
3922016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
393
394 * archures.c (bfd_mach_arc_nps400): Define.
395 * bfd-in2.h: Regenerate.
396 * cpu-arc.c (arch_info_struct): New entry for nps400, renumber
397 some existing entries to make space.
398 * elf32-arc.c (arc_elf_object_p): Add nps400 case.
399 (arc_elf_final_write_processing): Likewise.
400
a9522a21
AB
4012016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
402
403 * elf32-arc.c (arc_elf_print_private_bfd_data): Remove use of
404 EF_ARC_CPU_GENERIC.
405 (arc_elf_final_write_processing): Don't bother setting cpu field
406 in e_flags, this will have been set elsewhere.
407
c0334580
AB
4082016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
409
410 * elf32-arc.c (arc_elf_final_write_processing): Switch to using
411 EF_ARC_MACH_MSK.
412
e1fa0163
NC
4132016-03-21 Nick Clifton <nickc@redhat.com>
414
415 * warning.m4 (GCC_WARN_CFLAGS): Add -Wstack-usage=262144
416 * configure: Regenerate.
417 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Replace use of
418 alloca with call to xmalloc.
419 * elf32-nds32.c: Likewise.
420 * elf64-hppa.c: Likewise.
421 * elfxx-mips.c: Likewise.
422 * pef.c: Likewise.
423 * pei-x86_64.c: Likewise.
424 * som.c: Likewise.
425 * xsym.c: Likewise.
426
4e0c91e4
L
4272016-03-15 H.J. Lu <hongjiu.lu@intel.com>
428
429 PR ld/19827
430 * elf32-i386.c (elf_i386_check_relocs): Bind defined symbol
431 locally in PIE.
432 (elf_i386_relocate_section): Likewise.
433 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
434 (elf_x86_64_relocate_section): Likewise.
435
4c10bbaa
L
4362016-03-15 H.J. Lu <hongjiu.lu@intel.com>
437
438 PR ld/19807
439 * elf64-x86-64.c (elf_x86_64_relocate_section): Check
440 no_reloc_overflow_check to diable R_X86_64_32/R_X86_64_32S
441 relocation overflow check.
442
fbe48798
L
4432016-03-14 H.J. Lu <hongjiu.lu@intel.com>
444
445 * bfd-in2.h: Regenerated.
446
37b01f6a
DG
4472016-03-11 Dan Gissel <dgisselq@ieee.org>
448
449 PR 19713
450 * elf.c (_bfd_elf_section_offset): Ensure that the returned offset
451 uses bytes not octets.
452 * elflink.c (resolve_section): Likewise.
453 Add a bfd parameter.
454 (eval_section): Pass the input_bfd to resolve_section.
455 (bfd_elf_perform_complex_relocation): Convert byte offset to
456 octets before read and writing values.
457 (elf_link_input_bfd): Add byte to octet conversions.
458 (elf_reloc_link_order): Likewise.
459 (elf_fixup_link_order): Likewise.
460 (bfd_elf_final_link): Likewise.
461 * reloc.c (_bfd_final_link_relocate): Likewise.
462 * syms.c (_bfd_stab_section_find_nearest_line): Likewise.
463
3ed4ff97
NC
4642016-03-10 Nick Clifton <nickc@redhat.com>
465
466 * config.bfd: Mark the i370 target as obsolete.
467
4b05e0a7
PA
4682016-03-09 Pedro Alves <palves@redhat.com>
469
470 * cpu-v850.c (N): Append ":old-gcc-abi" instead of " (using old
471 gcc ABI)" to printable name.
472 * cpu-v850_rh850.c (bfd_v850_rh850_arch): Use "v850:rh850" instead
473 of "v850-rh850" as printable name.
474
26c62da0
LW
4752016-03-09 Leon Winter <winter-gcc@bfw-online.de>
476
477 PR ld/19623
478 * cofflink.c (_bfd_coff_generic_relocate_section): Do not apply
479 relocations against absolute symbols.
480
03ee8583
AM
4812016-03-09 Alan Modra <amodra@gmail.com>
482
483 PR binutils/19775
484 * coff-alpha.c (alpha_ecoff_openr_next_archived_file): Allow zero
485 length elements in the archive.
486
9c1d7a08
L
4872016-03-08 H.J. Lu <hongjiu.lu@intel.com>
488
489 PR ld/19789
490 * elflink.c (elf_link_add_object_symbols): Create dynamic sections
491 for -E/--dynamic-list only when not relocatable.
492
d1ed1c7d
L
4932016-03-08 H.J. Lu <hongjiu.lu@intel.com>
494
495 PR ld/19784
496 * elf32-i386.c (elf_i386_check_relocs): Increment PLT reference
497 count for locally defined local IFUNC symbols in shared object.
498 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
499
202ac193
L
5002016-03-08 H.J. Lu <hongjiu.lu@intel.com>
501
502 PR ld/19579
503 * elflink.c (_bfd_elf_merge_symbol): Group common symbol checking
504 together.
505
72f3b6aa
CZ
5062016-03-08 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
507 Andrew Burgess <andrew.burgess@embecosm.com>
508
509 * elf32-arc.c (arc_bfd_get_32): Becomes an alias for bfd_get_32.
510 (arc_bfd_put_32): Becomes an alias for bfd_put_32.
511 (arc_elf_howto_init): Added assert to validate relocations.
512 (get_middle_endian_relocation): Delete.
513 (middle_endian_convert): New function.
514 (ME): Redefine, now does nothing.
515 (IS_ME): New define.
516 (arc_do_relocation): Extend the attached 'ARC_RELOC_HOWTO'
517 definition to call middle_endian_convert. Add a new local
518 variable and make use of this throughout. Added call to
519 arc_bfd_get_8 and arc_bfd_put_8 for 8 bit relocations.
520
4fc87424
NC
5212016-03-07 Nick Clifton <nickc@redhat.com>
522
523 PR binutils/19775
524 * archive.c (bfd_generic_openr_next_archived_file): Allow zero
525 length elements in the archive.
526
18f822a0
JW
5272016-03-07 Jiong Wang <jiong.wang@arm.com>
528
529 * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Always create .got
530 section if the symbol "_GLOBAL_OFFSET_TABLE_" is referenced.
531
07492f66
L
5322016-03-04 H.J. Lu <hongjiu.lu@intel.com>
533
534 PR ld/19579
535 * elflink.c (_bfd_elf_merge_symbol): Treat common symbol in
536 executable as definition if the new definition comes from a
537 shared library.
538
70a5df4f
AM
5392016-03-02 Alan Modra <amodra@gmail.com>
540
541 * Makefile.in: Regenerate.
542 * po/SRC-POTFILES.in: Regenerate.
543
841fdfcd
CZ
5442016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
545
546 * elf32-arc.c (elf_arc_relocate_section): Added rules to fix the
547 relocation addend when sections get merged.
548
7e458899
CZ
5492016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
550
551 * elf32-arc.c (arc_elf_final_write_processing): Add condition to
552 the flag change.
553 (elf_arc_relocate_section): Fixes and conditions to support PIE.
554 Assert for code sections dynamic relocs.
555
c5e3a364
RL
5562016-02-26 Renlin Li <renlin.li@arm.com>
557
558 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix signed overflow
559 check for MOVW_SABS_G0, MOVW_SABS_G1, MOVW_SABS_G2.
560
bae420ef
L
5612016-02-26 H.J. Lu <hongjiu.lu@intel.com>
562
563 PR ld/19609
564 * elf32-i386.c (elf_i386_convert_load): Convert to R_386_32 for
565 load with locally bound symbols if PIC is false or there is no
566 base register. Optimize branch to 0 if PIC is false.
567 (elf_i386_relocate_section): Don't generate dynamic relocations
568 against undefined weak symbols if PIC is false.
569 * elf64-x86-64.c (elf_x86_64_convert_load): Disable optimization
570 if we can't estimate relocation overflow with --no-relax.
571 Convert to R_X86_64_32S/R_X86_64_32 for load with locally bound
572 symbols if PIC is false. Optimize branch to 0 if PIC is false.
573 (elf_x86_64_relocate_section): Don't generate dynamic relocations
574 against undefined weak symbols if PIC is false.
575
11e5f1ec
L
5762016-02-26 H.J. Lu <hongjiu.lu@intel.com>
577
578 PR ld/19645
579 * bfd.c (bfd): Change flags to 20 bits.
580 (BFD_CONVERT_ELF_COMMON): New.
581 (BFD_USE_ELF_STT_COMMON): Likewise.
582 (BFD_FLAGS_SAVED): Add BFD_CONVERT_ELF_COMMON and
583 BFD_USE_ELF_STT_COMMON.
584 (BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
585 * configure.ac: Remove --enable-elf-stt-common.
586 * elf.c (swap_out_syms): Choose STT_COMMON or STT_OBJECT for
587 common symbol depending on BFD_CONVERT_ELF_COMMON and
588 BFD_USE_ELF_STT_COMMON.
589 * elfcode.h (elf_slurp_symbol_table): Set BSF_ELF_COMMON for
590 STT_COMMON.
591 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Also check
592 STT_COMMON.
593 (elf_link_convert_common_type): New function.
594 (elf_link_output_extsym): Choose STT_COMMON or STT_OBJECT for
595 common symbol depending on BFD_CONVERT_ELF_COMMON and
596 BFD_USE_ELF_STT_COMMON. Set sym.st_info after sym.st_shndx.
597 * elfxx-target.h (TARGET_BIG_SYM): Add BFD_CONVERT_ELF_COMMON
598 and BFD_USE_ELF_STT_COMMON to object_flags.
599 (TARGET_LITTLE_SYM): Likewise.
600 * syms.c (BSF_KEEP_G): Renamed to ...
601 (BSF_ELF_COMMON): This.
602 * bfd-in2.h: Regenerated.
603 * config.in: Likewise.
604 * configure: Likewise.
605
aec6b87e
L
6062016-02-26 H.J. Lu <hongjiu.lu@intel.com>
607
608 PR ld/19636
609 PR ld/19704
610 PR ld/19719
611 * elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
612 (elf_i386_link_hash_entry): Add has_got_reloc and
613 has_non_got_reloc.
614 (elf_i386_link_hash_table): Add interp.
615 (elf_i386_link_hash_newfunc): Initialize has_got_reloc and
616 has_non_got_reloc.
617 (elf_i386_copy_indirect_symbol): Copy has_got_reloc and
618 has_non_got_reloc.
619 (elf_i386_check_relocs): Set has_got_reloc and has_non_got_reloc.
620 (elf_i386_fixup_symbol): New function.
621 (elf_i386_pie_finish_undefweak_symbol): Likewise.
622 (elf_i386_allocate_dynrelocs): Don't allocate space for dynamic
623 relocations and discard relocations against resolved undefined
624 weak symbols in executable. Don't make resolved undefined weak
625 symbols in executable dynamic. Keep dynamic non-GOT/non-PLT
626 relocation against undefined weak symbols in PIE.
627 (elf_i386_size_dynamic_sections): Set interp to .interp section.
628 (elf_i386_relocate_section): Don't generate dynamic relocations
629 against resolved undefined weak symbols in PIE, except for
630 R_386_PC32.
631 (elf_i386_finish_dynamic_symbol): Keep PLT/GOT entries without
632 dynamic PLT/GOT relocations for resolved undefined weak symbols.
633 Don't generate dynamic relocation against resolved undefined weak
634 symbol in executable.
635 (elf_i386_finish_dynamic_sections): Call
636 elf_i386_pie_finish_undefweak_symbol on all symbols in PIE.
637 (elf_backend_fixup_symbol): New.
638 * elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
639 (elf_x86_64_link_hash_entry): Add has_got_reloc and
640 has_non_got_reloc.
641 (elf_x86_64_link_hash_table): Add interp.
642 (elf_x86_64_link_hash_newfunc): Initialize has_got_reloc and
643 has_non_got_reloc.
644 (elf_x86_64_copy_indirect_symbol): Copy has_got_reloc and
645 has_non_got_reloc.
646 (elf_x86_64_check_relocs): Set has_got_reloc and
647 has_non_got_reloc.
648 (elf_x86_64_fixup_symbol): New function.
649 (elf_x86_64_pie_finish_undefweak_symbol): Likewise.
650 (elf_x86_64_allocate_dynrelocs): Don't allocate space for dynamic
651 relocations and discard relocations against resolved undefined
652 weak symbols in executable. Don't make resolved undefined weak
653 symbols in executable dynamic.
654 (elf_x86_64_size_dynamic_sections): Set interp to .interp section.
655 (elf_x86_64_relocate_section): Check relocation overflow for
656 dynamic relocations against unresolved weak undefined symbols.
657 Don't generate dynamic relocations against resolved weak
658 undefined symbols in PIE.
659 (elf_x86_64_finish_dynamic_symbol): Keep PLT/GOT entries without
660 dynamic PLT/GOT relocations for resolved undefined weak symbols.
661 Don't generate dynamic relocation against resolved undefined weak
662 symbol in executable.
663 (elf_x86_64_finish_dynamic_sections): Call
664 elf_x86_64_pie_finish_undefweak_symbol on all symbols in PIE.
665 (elf_backend_fixup_symbol): New.
666
b32547cd
AM
6672016-02-26 Alan Modra <amodra@gmail.com>
668
669 * elf64-ppc.c (create_linkage_sections): Create sfpr when
670 save_restore_funcs, rest of sections when not relocatable.
671 (ppc64_elf_init_stub_bfd): Always call create_linkage_sections.
672 (sfpr_define): Define all symbols on emitted code.
673 (ppc64_elf_func_desc_adjust): Adjust for sfpr now being created
674 when relocatable. Move sfpr_define loop earlier.
675
ef77d6af
L
6762016-02-24 H.J. Lu <hongjiu.lu@intel.com>
677
678 * elf64-x86-64.c (elf_x86_64_need_pic): New function.
679 (elf_x86_64_relocate_section): Use it. Replace
680 x86_64_elf_howto_table[r_type] with howto.
681
0f550b3d
L
6822016-02-24 H.J. Lu <hongjiu.lu@intel.com>
683
684 PR ld/19698
685 * elflink.c (bfd_elf_record_link_assignment): Set versioned if
686 symbol version is unknown.
687
13f42277
L
6882016-02-24 H.J. Lu <hongjiu.lu@intel.com>
689
690 * elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset
691 to (bfd_vma) -1 when setting needs_plt to 0.
692 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
693
6b3b0ab8
L
6942016-02-23 H.J. Lu <hongjiu.lu@intel.com>
695
696 * elflink.c (bfd_elf_record_link_assignment): Check for shared
697 library, instead of PIC, and don't check PDE when making linker
698 assigned symbol dynamic.
699
17733f5b
FS
7002016-02-23 Faraz Shahbazker <faraz.shahbazker@imgtec.com>
701
702 * bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Increment
703 ABIVERSION for non-executable stack.
704
47993b4a
RF
7052016-02-23 Rich Felker <bugdal@aerifal.cx>
706
707 PR target/19516
708 * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol):
709 Always produce a RELATIVE reloc for a local symbol.
710
2d8dcb81
HPN
7112016-02-23 Hans-Peter Nilsson <hp@axis.com>
712
713 Fix test-case ld-elf/pr19617b
714 * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
715 discard unused non-function symbols when --dynamic-list-data.
716
1a6e6083
L
7172016-02-22 H.J. Lu <hongjiu.lu@intel.com>
718
719 * elflink.c (_bfd_elf_link_renumber_dynsyms): Always create the
720 dynsym section, even if it is empty, with dynamic sections.
721
75c1920b
L
7222016-02-22 H.J. Lu <hongjiu.lu@intel.com>
723
724 * syms.c: Remove BSF_COMMON from comments.
725 * bfd-in2.h: Regenerated.
726
9a228467
JW
7272016-02-22 Jiong Wang <jiong.wang@arm.com>
728
729 * elfnn-aarch64. (aarch64_type_of_stub): Remove redundation calcuation
730 for destination. Remove useless function parameters.
731 (elfNN_aarch64_size_stubs): Update parameters for aarch64_type_of_stub.
732
73768414
NC
7332016-02-19 Nick Clifton <nickc@redhat.com>
734
e517df3d
NC
735 PR ld/19629
736 * aoutx.h (aout_link_add_symbols): Check for out of range string
737 table offsets.
738
73768414
NC
739 PR ld/19628
740 * reloc.c (bfd_generic_get_relocated_section_contents): Stop
741 processing if we encounter a reloc without an associated symbol.
742
bf89386a
L
7432016-02-18 H.J. Lu <hongjiu.lu@intel.com>
744
745 PR ld/19617
746 * elflink.c (elf_link_add_object_symbols): Always create dynamic
747 sections for -E/--dynamic-list.
748
8f79b794
L
7492016-02-17 H.J. Lu <hongjiu.lu@intel.com>
750
751 * elf64-x86-64.c (elf_backend_omit_section_dynsym): New. Defined
752 to bfd_true.
753
64bfc258
JM
7542016-02-16 Joseph Myers <joseph@codesourcery.com>
755
756 * plugin.c (plugin_vec): Set match priority to 255.
757 * format.c (bfd_check_format_matches) [BFD_SUPPORTS_PLUGINS]: When
758 matching against the plugin vector, take priority from there not
759 from TEMP.
760
9fb71ee4
NC
7612016-02-15 Nick Clifton <nickc@redhat.com>
762
763 * elf-bfd.h (struct bfd_elf_special_section): Use unsigned values
764 for length and type fields. Use a signed value for the
765 suffix_length field.
766
32875eb1
L
7672016-02-10 H.J. Lu <hongjiu.lu@intel.com>
768
769 PR ld/19601
770 * elf32-i386.c (elf_i386_relocate_section): Mask off the least
771 significant bit in GOT offset for R_386_GOT32X.
772
83da6e74
NC
7732016-02-10 Nick Clifton <nickc@redhat.com>
774
775 PR 19405
776 * elf32-nios2.c (nios2_elf32_install_imm16): Allow for signed
777 immediate values.
778 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Limit the
779 number of messages about FDE encoding preventing .eh_frame_hdr
780 generation.
781
027e9c75
NC
7822016-02-09 Nick Clifton <nickc@redhat.com>
783
609332f1
NC
784 * oasys.c (oasys_archive_p): Fix indentation.
785 * elf32-nds32.c (nds32_elf_relax_section): Use an unsigned
786 constant for left shifting.
787
027e9c75
NC
788 * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more
789 helpful warning message to explain why certain AArch64 relocs
790 might overflow.
791
6f57d046
SM
7922016-02-05 Simon Marchi <simon.marchi@ericsson.com>
793
794 * pe-mips.c (coff_mips_reloc): Fix formatting.
795
bdbca4e6
CM
7962016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
797
798 * cpu-arc.c: Change default archure from bfd_mach_arc_arcv2
799 to bfd_mach_arc_arc600.
800
4f038ee5
AM
8012016-02-04 Alan Modra <amodra@gmail.com>
802
803 * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch
804 for big-endian.
805
4a539596
L
8062016-02-02 H.J. Lu <hongjiu.lu@intel.com>
807
808 PR ld/19542
809 * elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated
fb06f1c0 810 distances in the compressed_size field of the output section.
4a539596 811
85fabe71
AM
8122016-02-02 Alan Modra <amodra@gmail.com>
813
814 * elf64-ppc.c (ppc64_elf_relocate_section): Further restrict
815 ELFv2 entry optimization.
816
14f2c699
L
8172016-02-02 H.J. Lu <hongjiu.lu@intel.com>
818
819 PR binutils/19547
820 * elf.c (assign_section_numbers): Clear HAS_RELOC if there are
821 no relocations in relocatable files.
822
aef28989
L
8232016-02-01 H.J. Lu <hongjiu.lu@intel.com>
824
825 PR ld/19553
826 * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
827 if a symbol from a library loaded via DT_NEEDED doesn't match
828 the symbol referenced by regular object.
829
655ed9ea
NS
8302016-02-01 Nathaniel Smith <njs@pobox.com>
831
832 * peicode.h (pe_ILF_build_a_bfd): Create an import symbol for both
833 CODE and DATA.
834
ec1f73bb
AM
8352016-02-01 Alan Modra <amodra@gmail.com>
836
837 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on
838 an out of range reloc_index.
839 * elf32-i386.c (elf_i386_get_plt_sym_val): Likewise.
840
b6471e6e
KR
8412016-02-01 Kamil Rytarowski <n54@gmx.com>
842
843 * Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo.
844 (OPTIONAL_BACKENDS_CFILES): Add netbsd-core.c.
845 * Makefile.in: Regenerated.
846
0bc7245a
JK
8472016-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
848
849 * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.
850
6d4b2867
JDA
8512016-01-31 John David Anglin <danglin@gcc.gnu.org>
852
853 PR ld/19526
854 * elf32-hppa.c (elf32_hppa_final_link): Don't sort non-regular output
855 files.
856 * elf64-hppa.c (elf32_hppa_final_link): Likewise. Remove retval.
857
d9e3b590
L
8582016-01-30 H.J. Lu <hongjiu.lu@intel.com>
859
860 PR ld/19539
861 * elf32-i386.c (elf_i386_reloc_type_class): Check relocation
862 against STT_GNU_IFUNC symbol only with dynamic symbols.
863 * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
864
bf150a0b
L
8652016-01-28 H.J. Lu <hongjiu.lu@intel.com>
866
867 PR binutils/19523
868 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
869 decompress debug sections.
870
840855c5
MR
8712016-01-25 Maciej W. Rozycki <macro@imgtec.com>
872
873 * elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to
874 `dynindx'.
875
cf466c2a
NC
8762016-01-25 Nick Clifton <nickc@redhat.com>
877
878 PR target/19435
879 * mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free
880 dsym filename buffer.
881
eb6b0cf4
MR
8822016-01-24 Maciej W. Rozycki <macro@imgtec.com>
883
884 * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
885
e67f83e5
MR
8862016-01-24 Maciej W. Rozycki <macro@imgtec.com>
887
888 * elfxx-mips.c (BZ16_REG): Correct calculation.
889
23a42089
NC
8902016-01-21 Nick Clifton <nickc@redhat.com>
891
892 * elf32-arc.c (ADD_RELA): Fix compile time warning errors by
893 changing the type of _loc to be bfd_byte *.
894 (elf_arc_finish_dynamic_symbol): Likewise.
895
aebf9be7
NC
8962016-01-21 Nick Clifton <nickc@redhat.com>
897
898 PR ld/19455
899 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
900 class of the linker stub bfd.
901 (elf32_arm_check_relocs): Skip check for pic format after
902 processing a vxWorks R_ARM_ABS12 reloc.
903 * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
904 reporting a class mismatch.
905
2f340668
JW
9062016-01-21 Jiong Wang <jiong.wang@arm.com>
907
908 * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
909 veneer for sym_sec != input_sec.
910 (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
911 (elfNN_aarch64_final_link_relocate): Take rela addend into account when
912 calculation destination.
913
aeb70569
AM
9142016-01-21 Alan Modra <amodra@gmail.com>
915
916 * elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
917 (swap_linux_prpsinfo64_out): New function.
918 (LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
919 (LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
920 * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
921 (elfcore_write_linux_prpsinfo64): Likewise.
922 * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
923 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
924 (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
925
de64ce13
AM
9262016-01-21 Alan Modra <amodra@gmail.com>
927
928 * elf-linux-core.h: Rename from elf-linux-psinfo.h.
929 * elf.c: Adjust #include.
930 * elf32-ppc.c: Don't #include elf-linux-psinfo.h
931 * Makefile.am (SOURCE_HFILES): Update.
932 * Makefile.in: Regenerate.
933 * po/SRC-PORFILES.in: Regenerate.
934
c603b11b
AM
9352016-01-21 Alan Modra <amodra@gmail.com>
936
937 * configure.ac: Move corefile selection later in file. Move
938 tdefaults code immediately after other target vector code.
939 * configure: Regenerate.
940
91f68a68
MG
9412016-01-20 Mickael Guene <mickael.guene@st.com>
942
943 * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread
944 section using '.text.noread' pattern.
945
5b2c414d
JB
9462016-01-19 John Baldwin <jhb@FreeBSD.org>
947
948 * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
949
34e967a5
MC
9502016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
951 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
952
953 * arc-plt.def: New file.
954 * arc-plt.h: Likewise.
955 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
956 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
957 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
958 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
959 (name_for_global_symbol): Added.
960 (ADD_RELA): Helper to create dynamic relocs.
961 (new_got_entry_to_list): Create a new got entry in linked list.
962 (symbol_has_entry_of_type): Search for specific type of entry in
963 list.
964 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
965 (is_reloc_for_TLS, arc_elf_set_private_flags)
966 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
967 (arc_elf_merge_private_bfd_data): New functions.
968 (debug_arc_reloc): Cleaned debug info printing.
969 (PDATA reloc): Changed not to perform address alignment.
970 (reverse_me): Added. Fix for ARC_32 relocs.
971 (arc_do_relocation): Return bfd_reloc_of when no relocation should
972 occur.
973 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
974 Changed function to access an array of list of GOT entries instead
975 of just an array of offsets.
976 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
977 (elf_arc_check_relocs): Likewise.
978 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
979 (elf_arc_finish_dynamic_sections): Likewise
980 (arc_create_dynamic_sections): Modified conditions to create
981 dynamic sections.
982 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
983 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
984 (relocate_plt_for_entry): Changed to support new way to define PLT
985 related code.
986 (add_symbol_to_plt): Likewise.
987 (arc_elf_link_hash_table_create): New function.
988
9ae678af
NC
9892016-01-18 Nick Clifton <nickc@redhat.com>
990
991 PR ld/19440
992 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
993 section number into internal section number.
994 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
995 * coffswap.h (coff_swap_sym_in): Likewise.
996 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
997 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
998 section number field is big enough to hold the external value.
999
5c14705f
AM
10002016-01-17 Alan Modra <amodra@gmail.com>
1001
1002 * configure: Regenerate.
1003
ac06903d
YU
10042016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1005
1006 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
1007 when address in first unwind entry does not match start of
1008 section.
1009
109575d7
JW
10102016-01-08 Richard Sandiford <richard.sandiford@arm.com>
1011 Jiong Wang <jiong.wang@arm.com>
1012
1013 PR ld/19368
1014 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
1015 reloc_class_ifunc.
1016
b05a65d0
AB
10172016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1018
1019 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
1020 place 'R_' before the reloc name returned.
1021 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
1022 the relocation string.
1023
a3dc0a7f
MR
10242016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1025
1026 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
1027 factored out from...
1028 (_bfd_mips_elf_merge_private_bfd_data): ... here.
1029
d537eeb5
MR
10302016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1031
1032 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
1033 attribute check after ELF file header flag check.
1034
43d223b5
MR
10352016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1036
1037 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
1038 return status from `_bfd_elf_merge_object_attributes'.
1039
b2e9744f
MR
10402016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1041
1042 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
1043 factored out from...
1044 (_bfd_mips_elf_merge_private_bfd_data): ... here.
1045
28d45e28
MR
10462016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1047
1048 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
1049 handling of input MIPS ABI flags together.
1050
23ba6f18
MR
10512016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1052
1053 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
1054 attribute checks for null input.
1055
cf8502c1
MR
10562016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1057
1058 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
1059 pointers to target data.
1060
dcb1c796
MR
10612016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1062
1063 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
1064 an FP ABI warning.
1065
6f2750fe
AM
10662016-01-01 Alan Modra <amodra@gmail.com>
1067
1068 Update year range in copyright notice of all files.
1069
3499769a
AM
1070For older changes see ChangeLog-2015 and doc/ChangeLog-0415
1071\f
1072Copyright (C) 2016 Free Software Foundation, Inc.
1073
1074Copying and distribution of this file, with or without modification,
1075are permitted in any medium without royalty provided the copyright
1076notice and this notice are preserved.
1077
1078Local Variables:
1079mode: change-log
1080left-margin: 8
1081fill-column: 74
1082version-control: never
1083End:
This page took 0.088137 seconds and 4 git commands to generate.