1 2019-04-15 Sudakshina Das <sudi.das@arm.com>
3 * reloc.c (BFD_RELOC_ARM_THUMB_LOOP12): New.
4 * bfd-in2.h: Regenerated.
5 * libbfd.h: Regenerated.
7 2019-04-15 Sudakshina Das <sudi.das@arm.com>
9 * reloc.c (BFD_RELOC_THUMB_PCREL_BFCSEL): New relocation.
10 * bfd-in2.h: Regenerated.
13 2019-04-15 Sudakshina Das <sudi.das@arm.com>
15 * reloc.c (BFD_RELOC_ARM_THUMB_BF13): New.
16 * bfd-in2.h: Regenerated.
17 * libbfd.h: Regenerated.
18 * elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF13.
19 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF13
20 and R_ARM_THM_BF12 together.
21 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF13.
23 2019-04-15 Sudakshina Das <sudi.das@arm.com>
25 * reloc.c (BFD_RELOC_ARM_THUMB_BF19): New
26 * libbfd.h: Regenerated.
27 * bfd-in2.h: Regenerated.
28 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF18.
29 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF19
30 and R_ARM_THM_BF18 together.
31 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF19.
33 2019-04-15 Sudakshina Das <sudi.das@arm.com>
35 * reloc.c (BFD_RELOC_ARM_THUMB_BF17): New enum.
36 * bfd-in2.h: Regenerated.
37 * libbfd.h: Regenerated.
38 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF16.
39 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF17
40 and R_ARM_THM_BF16 together.
41 (get_value_helper): New reloc helper.
42 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF16.
44 2019-04-15 Sudakshina Das <sudi.das@arm.com>
46 * reloc.c (BFD_RELOC_THUMB_PCREL_BRANCH5): New enum.
47 * bfd-in2.h: Regenerate.
48 * libbfd.h: Regenerate.
50 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
52 * archures.c (bfd_mach_arm_8_1M_MAIN): Define.
53 * bfd-in2.h: Regenerate.
54 * cpu-arm.c (arch_info_struct): Add entry for Armv8.1-M Mainline.
55 * elf32-arm.c (using_thumb_only): Return true for Armv8.1-M Mainline
57 (using_thumb2): Likewise.
58 (using_thumb2_bl): Update assert.
59 (arch_has_arm_nop): Likewise.
60 (bfd_arm_get_mach_from_attributes): Add case for Armv8.1-M Mainline.
61 (tag_cpu_arch_combine): Add logic for Armv8.1-M Mainline merging.
63 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
65 * elf-linker-x86.h (elf_x86_cet_report): New.
66 (elf_linker_x86_params): Add cet_report.
67 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Report
68 missing IBT and SHSTK properties if needed.
70 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
73 * elf-m10300.c (mn10300_elf_check_relocs): Remove BFD_ASSERT of
74 "h != NULL". Don't check "h != NULL" before calling.
75 bfd_elf_gc_record_vtentry.
76 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
77 * elf32-bfin.c (bfin_check_relocs): Likewise.
78 * elf32-cris.c (cris_elf_check_relocs): Likewise.
79 * elf32-csky.c (csky_elf_check_relocs): Likewise.
80 * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
81 * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
82 * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
83 * elf32-frv.c (elf32_frv_check_relocs): Likewise.
84 * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
85 * elf32-i386.c (elf_i386_check_relocs): Likewise.
86 * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
87 * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
88 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
89 * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
90 * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
91 * elf32-metag.c (elf_metag_check_relocs): Likewise.
92 * elf32-or1k.c (or1k_elf_check_relocs): Likewise.
93 * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
94 * elf32-s390.c (elf_s390_check_relocs): Likewise.
95 * elf32-sh.c (sh_elf_check_relocs): Likewise.
96 * elf32-v850.c (v850_elf_check_relocs): Likewise.
97 * elf32-vax.c (elf_vax_check_relocs): Likewise.
98 * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
99 * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
100 * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
101 * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
102 * elf64-s390.c (elf_s390_check_relocs): Likewise.
103 * elf64-x86-64.c (elf_s390_check_relocs): Likewise.
104 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
105 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
106 * elflink.c (bfd_elf_gc_record_vtinherit): Check for corrupt
109 2019-04-11 Alan Modra <amodra@gmail.com>
112 * elflink.c (elf_link_add_object_symbols): Don't read partial
113 dynamic entries from fuzzed objects.
115 2019-04-11 Tamar Christina <tamar.christina@arm.com>
118 * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Don't emit
119 DT_TLSDESC_GOT and DT_TLSDESC_PLT when DF_BIND_NOW.
120 (elfNN_aarch64_finish_dynamic_sections): Don't write PLT if DF_BIND_NOW.
122 2019-04-10 Michael Forney <mforney@mforney.org>
125 * doc/chew.c (free_words): Correctly free "push_text" strings.
127 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
129 * config.bfd: Remove i[3-7]86-*-kaos* and i[3-7]86-*-chaos targets.
131 2019-04-08 Alan Modra <amodra@gmail.com>
133 * configure.ac (elfxx_x86): Define and use.
134 * configure: Regenerate.
136 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
138 * elf-linker-x86.h: New file.
139 * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
140 to get x86-specific linker options.
141 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
142 (elf_x86_64_check_relocs): Likewise.
143 (elf_x86_64_relocate_section): Likewise.
144 (elf_x86_64_link_setup_gnu_properties): Likewise.
145 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
146 (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
147 (_bfd_elf_linker_x86_set_options): New function.
148 * elfxx-x86.h: Include "elf-linker-x86.h".
149 (elf_x86_link_hash_table): Add params.
151 2019-04-03 Alan Modra <amodra@gmail.com>
153 * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
154 * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
155 * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
156 * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
157 * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
158 * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
160 2019-04-02 Jim Wilson <jimw@sifive.com>
163 * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
164 ELF header flags to after check for ELF object file. Loop through
165 sections looking for code sections, if none, then skip ABI checks.
167 2019-03-30 Andrew Waterman <andrew@sifive.com>
169 * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
172 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
174 * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
175 info->export_dynamic to the conditional.
177 2019-03-28 Alan Modra <amodra@gmail.com>
180 * configure.ac: Invoke AC_CHECK_SIZEOF(int).
181 * configure: Regenerate.
182 * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
183 workaround with SIZEOF_LONG vs. SIZEOF_INT check.
184 * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
185 * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
186 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
188 2019-03-21 Jim Wilson <jimw@sifive.com>
191 * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
192 verify sym non-NULL before using. Add identical check using h.
194 2019-03-21 Sudakshina Das <sudi.das@arm.com>
196 * elf-bfd.h (struct elf_backend_data): Add argument to
197 merge_gnu_properties.
198 * elf-properties.c (elf_merge_gnu_properties): Add argument to
199 itself and while calling bed->merge_gnu_properties.
200 (elf_merge_gnu_property_list): Update the calls for
201 elf_merge_gnu_properties.
202 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
203 of --force-bti warning and add argument.
204 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
206 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
207 * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
210 2019-03-20 Sudakshina Das <sudi.das@arm.com>
212 * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
213 * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
214 (elf_backend_fixup_gnu_properties): Define for AArch64.
216 2019-03-18 Alan Modra <amodra@gmail.com>
219 * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
220 for local iplt syms with ent->plt.offset == -1. Remove ineffective
221 attempt at writing glink stubs only once.
223 2019-03-16 Alan Modra <amodra@gmail.com>
226 * elf.c (_bfd_elf_rela_local_sym): Revert last change.
227 (_bfd_elf_rel_local_sym): Likewise.
228 * elflink.c (elf_link_input_bfd): Use bfd_und_section for
229 section of symbols with unrecognized shndx.
231 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
234 * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
236 * cofflink.c (coff_link_add_symbols): Check for symbols defined
237 in discarded section.
239 2019-03-15 Alan Modra <amodra@gmail.com>
242 * elflink.c (elf_link_add_object_symbols): Bail out on a local
243 symbol after globals if elf_bad_symtab is not set.
245 2019-03-15 Alan Modra <amodra@gmail.com>
248 * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
249 (_bfd_elf_rel_local_sym): Likewise.
251 2019-03-15 Alan Modra <amodra@gmail.com>
254 * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
255 object files with sh_size not a multiple of sh_entsize.
257 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
260 * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
261 input with bad relocation.
263 22019-03-15 H.J. Lu <hongjiu.lu@intel.com>
265 * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
267 2019-03-14 Nick Clifton <nickc@redhat.com>
270 * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field.
271 (save_section_vma): Initialise field to the number of entries in
273 (section_vma_same): Check that the number of entries in the
274 sec_vma table matches the number of sections in the bfd.
276 2019-03-14 Nick Clifton <nickc@redhat.com>
279 * elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
280 section owner pointer when adding the default symbol.
282 2019-03-14 Nick Clifton <nickc@redhat.com>
285 * elflink.c (elf_link_add_object_symbols): Add new local variable
286 extversym_end. Initialise it to point to the end of the version
287 symbol table, if present. Check it when initialising and updating
290 2019-03-13 Sudakshina Das <sudi.das@arm.com>
292 * elfnn-aarch64.c (PLT_PAC_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): New.
293 (PLT_BTI_PAC_ENTRY_SIZE, PLT_BTI_PAC_SMALL_ENTRY_SIZE): New.
294 (setup_plt_values): Account for PAC or PAC and BTI enabled PLTs.
295 (elfNN_aarch64_size_dynamic_sections): Add checks for PLT_BTI_PAC
297 (elfNN_aarch64_finish_dynamic_sections): Account for PLT_BTI_PAC.
298 (get_plt_type): Add case for DT_AARCH64_PAC_PLT.
299 (elfNN_aarch64_plt_sym_val): Add cases for PLT_BTI_PAC and PLT_PAC.
301 2019-03-13 Sudakshina Das <sudi.das@arm.com>
302 Szabolcs Nagy <szabolcs.nagy@arm.com>
304 * bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
305 (aarch64_bti_pac_info): New.
306 (bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
307 (bfd_elf32_aarch64_set_options): Likewise.
308 * bfd-in2.h: Regenerate
309 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
310 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
311 (elfNN_aarch64_small_plt0_bti_entry): New.
312 (elfNN_aarch64_small_plt_bti_entry): New.
313 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
314 (elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
315 (elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
316 tlsdesc_plt_entry_size fields.
317 (elfNN_aarch64_link_hash_table_create): Initialise the new fields.
318 (setup_plt_values): New helper function.
319 (bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
321 (elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
323 (elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
324 (elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
325 to plt stubs instead of fixed ones and update filling them according
327 (elfNN_aarch64_init_small_plt0_entry): Likewise.
328 (elfNN_aarch64_finish_dynamic_sections): Likewise.
329 (get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
330 (elfNN_aarch64_plt_sym_val): Update size accordingly.
331 (elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
333 (bfd_elfNN_get_synthetic_symtab): Define.
334 (elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
335 and mising BTI NOTE SECTION.
338 2019-03-13 Sudakshina Das <sudi.das@arm.com>
340 * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Exclude
341 linker created inputs from merge.
342 * elfnn-aarch64.c (struct elf_aarch64_obj_tdata): Add field for
343 GNU_PROPERTY_AARCH64_FEATURE_1_AND properties.
344 (elfNN_aarch64_link_setup_gnu_properties): New.
345 (elfNN_aarch64_merge_gnu_properties): New.
346 (elf_backend_setup_gnu_properties): Define for AArch64.
347 (elf_backend_merge_gnu_properties): Likewise.
348 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Define.
349 (_bfd_aarch64_elf_parse_gnu_properties): Define.
350 (_bfd_aarch64_elf_merge_gnu_properties): Define.
351 * elfxx-aarch64.h (_bfd_aarch64_elf_link_setup_gnu_properties): Declare.
352 (_bfd_aarch64_elf_parse_gnu_properties): Declare.
353 (_bfd_aarch64_elf_merge_gnu_properties): Declare.
354 (elf_backend_parse_gnu_properties): Define for AArch64.
356 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
359 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
360 merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
362 2019-03-12 Alan Modra <amodra@gmail.com>
364 * coffcode.h (buy_and_read): Delete unnecessary forward decl. Add
365 nmemb parameter. Use bfd_alloc2.
366 (coff_slurp_line_table): Use bfd_alloc2. Update buy_and_read calls.
368 (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
369 (coff_slurp_reloc_table): Use bfd_alloc2. Update buy_and_read calls.
370 * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
372 * elf.c (bfd_section_from_shdr): Use bfd_zalloc2. Style fix.
373 (assign_section_numbers): Style fix.
374 (swap_out_syms): Use bfd_malloc2.
375 (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
377 (_bfd_elf_make_empty_symbol): Style fix.
378 (elfobj_grok_stapsdt_note_1): Formatting.
379 * elfcode.h (elf_object_p): Use bfd_alloc2.
380 (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
381 (elf_slurp_symbol_table): Use bfd_zalloc2.
382 (elf_slurp_reloc_table): Use bfd_alloc2.
383 (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
384 * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
385 size calculation doesn't overflow.
386 (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
387 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
388 * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
390 2019-03-08 Alan Modra <amodra@gmail.com>
393 * merge.c (merge_strings): Return secinfo. Don't pad section
395 (_bfd_merge_sections): Pad section to alignment here, if input
396 sections contributing to merged output all pad to alignment.
399 2019-03-06 Nick Clifton <nickc@redhat.com>
401 * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
403 * coffgen.c (coff_find_nearest_line_with_names): Do not call
404 _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
406 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
408 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
409 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
412 * elf32-s390.c (allocate_dynrelocs): Update comment.
414 2019-02-28 Tamar Christina <tamar.christina@arm.com>
416 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
418 2019-02-28 Nick Clifton <nickc@redhat.com>
421 * elf.c (bfd_elf_string_from_elf_section): Check for a string
422 section that is not NUL terminated.
424 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
427 * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
428 by linker when checking copy reloc on protected symbol.
430 2019-02-24 Alan Modra <amodra@gmail.com>
433 * pdp11.c (set_section_contents): Revert 2015-02-24 change.
435 2019-02-20 Eric Tsai <erictsai@cadence.com>
437 * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
438 sections between the call site and call destination and adjust
439 call distance by the largest alignment.
441 2019-02-20 Alan Hayward <alan.hayward@arm.com>
443 * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
444 * elf.c (elfcore_grok_aarch_pauth): New function.
445 (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
446 (elfcore_write_aarch_pauth): New function.
447 (elfcore_write_register_note): Check for AArch64 pauth section.
449 2019-02-20 Alan Modra <amodra@gmail.com>
452 * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
455 2019-02-20 Michael Roitzsch <reactorcontrol@icloud.com>
457 * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
458 Darwin hosts, not just or1k.
459 * configure: Regenerate.
461 2019-02-20 Alan Modra <amodra@gmail.com>
464 * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
465 sentinel NUL to string buffer nearer to loop where it is used.
466 Don't go past sentinel when scanning strings, and don't write
468 * archive.c (do_slurp_coff_armap): Simplify string handling to
471 2019-02-19 Alan Modra <amodra@gmail.com>
474 * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
475 attempting to prevent read past end of section.
477 2019-02-18 Alan Modra <amodra@gmail.com>
480 * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
481 PRIx64 to generate warning messages. Print local sym names too.
483 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
485 * elf32-arc (INIT_SYM_STRING): Delete.
486 (FINI_SYM_STRING): Likewise.
487 (init_str): Likewise.
488 (fini_str): Likewise.
490 2019-02-08 Alan Modra <amodra@gmail.com>
492 * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
493 for bss-plt" warning to make it an error.
495 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
498 * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
499 reloc_class_ifunc for ifunc symbols.
500 * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
502 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
504 * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
505 <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
507 2019-02-07 Nick Clifton <nickc@redhat.com>
509 * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
510 into the definitely obsolete list.
512 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
515 * elf64-x86-64.c (elf_x86_64_need_pic): Check
516 SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
517 (elf_x86_64_relocate_section): Move PIC check for PC-relative
519 (elf_x86_64_check_relocs): Here.
520 (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
521 to check if a symbol is defined in a non-shared object.
522 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
524 2019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
526 * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
527 of 'labs' (and fix GCC warning).
529 2019-01-25 Nick Clifton <nickc@redhat.com>
531 * po/ru.po: Updated Russian translation.
533 2019-01-23 Nick Clifton <nickc@redhat.com>
535 * po/fr.po: Updated French translation.
537 2019-01-21 Nick Clifton <nickc@redhat.com>
539 * po/pt.po: Updated Portuguese translation.
540 * po/uk.po: Updated Ukranian translation.
542 2019-01-21 Yuri Chornoivan <yurchor@ukr.net>
545 * elf32-nds32.c (nds32_relocate_section): Add space between words
547 * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
549 (riscv_i_or_e_p): Likewise.
550 (riscv_merge_arch_attr_info): Likewise.
552 2019-01-19 Nick Clifton <nickc@redhat.com>
554 * version.m4: Reset to 2.32.51
555 * configure: Regenerate.
556 * po/bfd.pot: Regenerate.
558 2018-06-24 Nick Clifton <nickc@redhat.com>
562 2019-01-16 Kito Cheng <kito@andestech.com>
564 * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
567 2019-01-16 Kito Cheng <kito@andestech.com>
568 Nelson Chu <nelson@andestech.com>
570 * elfnn-riscv.c (in_subsets): New.
571 (out_subsets): Likewise.
572 (merged_subsets): Likewise.
573 (riscv_std_ext_p): Likewise.
574 (riscv_non_std_ext_p): Likewise.
575 (riscv_std_sv_ext_p): Likewise.
576 (riscv_non_std_sv_ext_p): Likewise.
577 (riscv_version_mismatch): Likewise.
578 (riscv_i_or_e_p): Likewise.
579 (riscv_merge_std_ext): Likewise.
580 (riscv_merge_non_std_and_sv_ext): Likewise.
581 (riscv_merge_arch_attr_info): Likewise.
582 (riscv_merge_attributes): Likewise.
583 (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
585 * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
586 (elf_backend_obj_attrs_vendor): Define.
587 (elf_backend_obj_attrs_section_type): Likewise.
588 (elf_backend_obj_attrs_section): Likewise.
589 (elf_backend_obj_attrs_arg_type): Define as
590 riscv_elf_obj_attrs_arg_type.
591 * elfxx-riscv.c (riscv_estimate_digit): New.
592 (riscv_estimate_arch_strlen1): Likewise.
593 (riscv_estimate_arch_strlen): Likewise.
594 (riscv_arch_str1): Likewise.
595 (riscv_arch_str): Likewise.
596 * elfxx-riscv.h (riscv_arch_str): Declare.
598 2019-01-14 John Darrington <john@darrington.wattle.id.au>
600 * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
602 * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
603 source field. (md_apply_fix): Apply final fix
604 to BFD_RELOC_S12Z_OPR.
605 * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
607 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
610 * elf32-s390.c (allocate_dynrelocs): Update comment.
612 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
614 * warning.m4: Adjust egrep pattern for non-GNU compilers.
615 * configure: Regenerate.
617 2019-01-08 Alan Modra <amodra@gmail.com>
621 * ihex.c (ihex_write_object_contents): Properly check 32-bit
624 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
626 * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
627 * bfd/bfd-in2.h: Regenerate.
628 * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
629 * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
631 2019-01-04 Lifang Xia <lifang_xia@c-sky.com>
633 * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
634 default target, little endian target is more suitable.
636 2019-01-04 Alan Modra <amodra@gmail.com>
640 * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
642 (EQ_VALUE_IN_FIELD): Likewise.
643 * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
645 2019-01-01 Alan Modra <amodra@gmail.com>
647 Update year range in copyright notice of all files.
649 For older changes see ChangeLog-2018
651 Copyright (C) 2019 Free Software Foundation, Inc.
653 Copying and distribution of this file, with or without modification,
654 are permitted in any medium without royalty provided the copyright
655 notice and this notice are preserved.
661 version-control: never