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