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