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