1 2019-06-19 Alan Modra <amodra@gmail.com>
4 * elf32-ppc.c (ppc_elf_relocate_section): Don't read insn for
5 R_PPC_EMB_RELSDA. Mask low bit of R_PPC_EMB_SDA21 r_offset.
7 2019-06-19 Alan Modra <amodra@gmail.com>
9 * elf64-ppc.c (ppc64_elf_inline_plt): Correct st_other test for
10 functions that require r2 valid to use local entry.
11 (ppc64_elf_size_stubs, ppc64_elf_relocate_section): Likewise.
13 2019-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
15 * elfnn-aarch64.c (elfNN_aarch64_allocate_local_dynrelocs): Remove.
16 (elfNN_aarch64_size_dynamic_sections): Remove loc_hash_table traversal
17 with elfNN_aarch64_allocate_local_dynrelocs.
19 2019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
21 * elfnn-aarch64.c: Enable MOVW_PREL relocs for ELF32.
23 2019-06-14 Alan Modra <amodra@gmail.com>
25 * Makefile.in: Regenerate.
26 * configure: Regenerate.
28 2019-06-14 Alan Modra <amodra@gmail.com>
30 * elf64-ppc.c: Fix comments involving paddi.
32 2019-06-12 Adam Lackorzymski <adam@os.inf.tu-dresden.de>
35 * elf32-arm.c (arm_elf_find_function): Fail if the symol table is
36 absent, or the bfd is not in the ELF formart.
37 * elfnn-aarch64.c (aarch64_elf_find_function): Likewise.
39 2019-06-10 Christos Zoulas <christos@zoulas.com>
42 * elf.c (elfcore_make_auxv_note_section): New function.
43 (elfcore_grok_note): Use it.
44 (elfcore_grok_freebsd_note): Likewise.
45 (elfcore_grok_openbsd_note): Likewise.
46 (elfcore_grok_netbsd_note): Likewise. Plus add support for
47 NT_NETBSDCORE_AUXV notes.
49 2019-06-06 Sudakshina Das <sudi.das@arm.com>
51 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Set
52 alignment of the new gnu property section.
54 2019-06-06 Sudakshina Das <sudi.das@arm.com>
56 * bfd-in.h: Change comment.
57 * bfd-in2.h: Regenerate.
58 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update warning.
59 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties):
62 2019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
64 * elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_PCHI16>:
65 Remove overflow check.
67 2019-05-28 Alan Modra <amodra@gmail.com>
70 * cofflink.c (coff_link_check_archive_element): Don't assume
71 element is a coff object file after calling add_archive_element.
73 2019-05-28 Alan Modra <amodra@gmail.com>
76 * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Don't
77 attempt to set sh_entsize for excluded PLT section.
79 2019-05-28 Alan Modra <amodra@gmail.com>
82 * elf64-alpha.c (elf64_alpha_relocate_section): Don't attempt
83 to emit R_ALPHA_GOTTPREL in PIEs, for which no space is
84 allocated in alpha_dynamic_entries_for_reloc.
86 2019-05-28 Alan Modra <amodra@gmail.com>
89 * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Don't segfault
90 on NULL output_section.
91 * elflink.c (elf_final_link_free): Don't free -1 symshndxbuf.
93 2019-05-28 Alan Modra <amodra@gmail.com>
96 * elf32-m68k.c (elf_m68k_get_got_entry): Don't create a new
97 entry when MUST_FIND. Abort when MUST_FIND not found.
98 (elf_m68k_get_bfd2got_entry): Likewise.
99 (elf_m68k_relocate_section): Remove now useless assert.
101 2019-05-28 Alan Modra <amodra@gmail.com>
104 * elf64-hppa.c (elf64_hppa_finalize_dynreloc): Get the output bfd
105 from bfd_link_info, not an output section owner.
106 (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): Likewise.
107 (elf_hppa_final_link_relocate): Likewise.
109 2019-05-28 Alan Modra <amodra@gmail.com>
112 * aout-tic30.c (MY_bfd_final_link): Don't segfault on missing
113 create_object_symbols_section, obj_textsec, obj_datasec or
114 obj_bsssec. Fix other errors in placement.
115 * config.bfd: Obsolete tic30-aout.
117 2019-05-28 Alan Modra <amodra@gmail.com>
120 * dwarf2.c (save_section_vma, section_vma_same): Check for NULL
121 end of section list as well as section_count.
122 * xcofflink.c (xcoff_link_add_symbols): Fix temporarily changed
123 section list before returning error.
125 2019-05-27 Alan Modra <amodra@gmail.com>
127 * elf.c (bfd_elf_set_group_contents): Exit on zero size section.
129 2019-05-27 Alan Modra <amodra@gmail.com>
132 * linker.c (_bfd_generic_link_output_symbols): Heed BSF_KEEP.
134 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
136 * elfnn-aarch64.c (elfNN_aarch64_merge_symbol_attribute): New function.
137 (struct elf_aarch64_link_hash_table): Add variant_pcs member.
138 (elfNN_aarch64_allocate_dynrelocs): Update variant_pcs.
139 (elfNN_aarch64_size_dynamic_sections): Add DT_AARCH64_VARIANT_PCS.
140 (elf_backend_merge_symbol_attribute): Define.
142 2019-05-24 Alan Modra <amodra@gmail.com>
144 * po/SRC-POTFILES.in: Regenerate.
146 2019-05-24 Alan Modra <amodra@gmail.com>
148 * elf64-ppc.c: Comment on powerxx _notoc stub variants.
149 (LI_R11_0, LIS_R11, ORI_R11_R11_0, SLDI_R11_R11_34): Define.
150 (PADDI_R12_PC, PLD_R12_PC, D34, HA34): Define.
151 (struct ppc_link_hash_table): Add powerxx_stubs.
152 (ppc64_elf_check_relocs): Set powerxx_stubs.
153 (build_powerxx_offset, size_powerxx_offset),
154 (num_relocs_for_powerxx_offset),
155 (emit_relocs_for_powerxx_offset): New functions.
156 (plt_stub_size): Size powerxx stubs.
157 (ppc_build_one_stub): Emit powerxx stubs.
158 (ppc_size_one_stub): Size powerxx stubs. Omit .eh_frame for
161 2019-05-24 Alan Modra <amodra@gmail.com>
163 * elf64-ppc.c (ppc64_elf_check_relocs): Set has_gotrel for
165 (xlate_pcrel_opt): New function.
166 (ppc64_elf_edit_toc): Handle R_PPC64_GOT_PCREL34.
167 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
168 for R_PPC64_GOT_PCREL34. Implement R_PPC64_PCREL_OPT optimisation.
170 2019-05-24 Alan Modra <amodra@gmail.com>
172 * reloc.c (BFD_RELOC_PPC64_D34, BFD_RELOC_PPC64_D34_LO),
173 (BFD_RELOC_PPC64_D34_HI30, BFD_RELOC_PPC64_D34_HA30),
174 (BFD_RELOC_PPC64_PCREL34, BFD_RELOC_PPC64_GOT_PCREL34),
175 (BFD_RELOC_PPC64_PLT_PCREL34),
176 (BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34),
177 (BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34),
178 (BFD_RELOC_PPC64_REL16_HIGHER34, BFD_RELOC_PPC64_REL16_HIGHERA34),
179 (BFD_RELOC_PPC64_REL16_HIGHEST34, BFD_RELOC_PPC64_REL16_HIGHESTA34),
180 (BFD_RELOC_PPC64_D28, BFD_RELOC_PPC64_PCREL28): New reloc enums.
181 * elf64-ppc.c (PNOP): Define.
182 (ppc64_elf_howto_raw): Add reloc howtos for new relocations.
183 (ppc64_elf_reloc_type_lookup): Translate new bfd reloc numbers.
184 (ppc64_elf_ha_reloc): Adjust addend for highera34 and highesta34
186 (ppc64_elf_prefix_reloc): New function.
187 (struct ppc_link_hash_table): Add notoc_plt.
188 (is_branch_reloc): Add R_PPC64_PLTCALL_NOTOC.
189 (is_plt_seq_reloc): Add R_PPC64_PLT_PCREL34,
190 R_PPC64_PLT_PCREL34_NOTOC, and R_PPC64_PLTSEQ_NOTOC.
191 (ppc64_elf_check_relocs): Handle pcrel got and plt relocs. Set
192 has_pltcall for section on seeing R_PPC64_PLTCALL_NOTOC. Handle
193 possible need for dynamic relocs on non-pcrel powerxx relocs.
194 (dec_dynrel_count): Handle non-pcrel powerxx relocs.
195 (ppc64_elf_inline_plt): Handle R_PPC64_PLTCALL_NOTOC.
196 (toc_adjusting_stub_needed): Likewise.
197 (ppc64_elf_tls_optimize): Handle R_PPC64_PLTSEQ_NOTOC.
198 (ppc64_elf_relocate_section): Handle new powerxx relocs.
199 * bfd-in2.h: Regenerate.
200 * libbfd.h: Regenerate.
202 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
204 * config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
205 * configure.ac: Set target_size=64 for bpf_elf64_le_vec and
207 * configure: Regenerate.
209 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
211 * configure: Regenerated.
212 * Makefile.am (ALL_MACHINES): Add cpu-bpf.lo.
213 (ALL_MACHINES_CFILES): Add cpu-bpf.c.
214 (BFD64_BACKENDS): Add elf64-bpf.lo.
215 (BFD64_BACKENDS_CFILES): Add elf64-bpf.c.
216 * Makefile.in (SOURCE_HFILES): Regenerate.
217 * config.bfd (targ_cpu): Handle bpf-*-* targets.
218 * cpu-bpf.c: New file.
219 * elf64-bpf.c: Likewise.
220 * targets.c (_bfd_target_vector): Add bpf_elf64_be_vec and
222 * archures.c: Define architecture bfd_arch_bpf and machine
224 * reloc.c: Define BFD relocations used by the BPF target.
225 * bfd-in2.h: Regenerated.
226 * libbfd.h: Likewise.
228 2019-05-22 Alan Modra <amodra@gmail.com>
230 * elf32-arm.c (arm_allocate_glue_section_space): Clear section
233 2019-05-22 Alan Modra <amodra@gmail.com>
235 * vms-alpha.c (_bfd_vms_write_etir): Don't attempt further
236 processing on "size error in section".
238 2019-05-22 Alan Modra <amodra@gmail.com>
240 * som.c (som_bfd_free_cached_info): Call
241 _bfd_generic_close_and_cleanup.
243 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
245 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Generate error
246 for TLS_TPREL_HI16(/LO16) relocations in shared library.
248 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
250 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer
251 checks. Search the RELA table for n64 relocations.
253 2019-05-21 Matthew Fortune <matthew.fortune@mips.com>
254 Faraz Shahbazker <fshahbazker@wavecomp.com>
256 * elfxx-mips.c (LA25_BC): New macro.
257 (mips_elf_link_hash_table)<compact_branches>: New field.
258 (STUB_JALRC): New macro.
259 (mipsr6_o32_exec_plt0_entry_compact): New array.
260 (mipsr6_n32_exec_plt0_entry_compact): Likewise.
261 (mipsr6_n64_exec_plt0_entry_compact): Likewise.
262 (mipsr6_exec_plt_entry_compact): Likewise.
263 (mips_elf_create_la25_stub): Use BC instead of J for stubs
264 when compact_branches is true.
265 (_bfd_mips_elf_finish_dynamic_symbol): Choose the compact
266 PLT for MIPSR6 with compact_branches. Do not reorder the
267 compact branches PLT. Switch the lazy stub for MIPSR6
268 with compact_branches to use JALRC.
269 (mips_finish_exec_plt): Choose the compact PLT0 for MIPSR6
270 when compact_branches is true.
271 (_bfd_mips_elf_compact_branches): New function.
272 * elfxx-mips.h (_bfd_mips_elf_compact_branches): New prototype.
274 2019-05-21 Tamar Christina <tamar.christina@arm.com>
277 * elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
280 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
283 * elf32-arm.c (get_value_helper): Remove.
284 (elf32_arm_final_link_relocate): Fix branch future relocations.
286 2019-05-21 Tamar Christina <tamar.christina@arm.com>
289 * bfd-in.h (enum erratum_84319_opts): New
290 (bfd_elf64_aarch64_set_options, bfd_elf32_aarch64_set_options): Change
291 int to enum erratum_84319_opts.
292 * bfd-in2.h: Regenerate.
293 * elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Change
294 fix_erratum_843419 to use new enum, remove fix_erratum_843419_adr.
295 (_bfd_aarch64_add_stub_entry_after): Conditionally create erratum stub.
296 (aarch64_size_one_stub): Conditionally size erratum 843419 stubs.
297 (_bfd_aarch64_resize_stubs): Amend comment.
298 (elfNN_aarch64_size_stubs): Don't generate stubs when no workaround
300 (bfd_elfNN_aarch64_set_options): Use new fix_erratum_843419 enum.
301 (_bfd_aarch64_erratum_843419_branch_to_stub): Implement selection of
303 (clear_erratum_843419_entry): Update erratum conditional.
305 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
308 * bfd/elf32-avr.c (elf32_avr_relax_section): Adjust range check
309 when computing distance_short_enough.
311 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
314 * bfd/elf32-avr.c (avr_relative_distance_considering_wrap_around):
315 Wrap around even if distance equals avr_pc_wrap_around.
317 2019-05-20 Nick Clifton <nickc@redhat.com>
319 * po/fr.po: Updated French translation.
321 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
323 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add case for Tag_MVE_arch.
325 2019-05-16 Alan Modra <amodra@gmail.com>
327 * elf32-arm.c (elf32_arm_write_section): Revert last change.
329 2019-05-15 Alan Modra <amodra@gmail.com>
331 * elf32-arm.c (elf32_arm_write_section): Don't leave
332 error case of STM32L4XX_ERRATUM_BRANCH_TO_VENEER with
333 unitialised section contents.
335 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
338 * verilog.c: (VerilogDataWidth): New variable.
339 (verilog_write_record): Emit bytes in VerilogDataWidth bundles.
341 2019-05-08 Nick Clifton <nickc@redhat.com>
344 * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
345 rather than FALSE if encountering a non-ELF file.
347 2019-05-06 Alan Modra <amodra@gmail.com>
349 * elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
351 2019-05-06 Alan Modra <amodra@gmail.com>
353 * reloc.c (BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA),
354 (BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA):
355 Sort before BFD_RELOC_PPC64_DTPREL16_HIGHESTA entry.
356 * libbfd.h: Regenerate.
357 * bfd-in2.h: Regenerate.
359 2019-05-04 Alan Modra <amodra@gmail.com>
362 * syms.c (coff_section_type): Only allow '.', '$' and numeric
363 following the standard section names.
364 (bfd_decode_symclass): Prioritize section flag tests in
365 decode_section_type before name tests in coff_section_type.
366 * plugin.c (bfd_plugin_canonicalize_symtab): Init fake_section
367 and fake_common_section using BFD_FAKE_SECTION. Use "fake" as
368 their names and choose standard .text section flags for
371 2019-05-02 Nick Clifton <nickc@redhat.com>
374 * coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
375 .gnu.debugaltlink sections as debugging sections.
377 2019-04-30 Alan Modra <amodra@gmail.com>
379 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_gotrel.
380 (struct _ppc64_elf_section_data): Likewise.
381 (ppc64_elf_check_relocs): Set above fields.
382 (ppc64_elf_edit_toc): Add a pass over GOT relocs.
383 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
386 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
389 * elflink.c (elf_link_output_extsym): Don't complain undefined
390 weak dynamic reference.
392 2019-04-25 Sudakshina Das <sudi.das@arm.com>
394 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): Remove.
395 (PLT_BTI_TLSDESC_ENTRY_SIZE): Remove.
396 (PLT_PAC_ENTRY_SIZE, PLT_BTI_PAC_ENTRY_SIZE): Remove.
397 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): Update.
398 (elfNN_aarch64_small_plt0_pac_entry): Remove.
399 (elfNN_aarch64_small_plt0_bti_pac_entry): Remove.
400 (elfNN_aarch64_small_plt0_bti_entry): Update.
401 (elfNN_aarch64_small_plt_bti_entry): Update.
402 (elfNN_aarch64_small_plt_pac_entry): Update.
403 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): Update.
404 (setup_plt_values): Setup new entries.
405 (elfNN_aarch64_finish_dynamic_sections): Remove size change.
406 (elfNN_aarch64_plt_sym_val): Likewise.
408 2019-04-22 Jim Wilson <jimw@sifive.com>
410 * elfnn-riscv.c (PRSTATUS_SIZE) [ARCH_SIZE==32]: Change from 0 to 204.
412 2019-04-19 Alan Modra <amodra@gmail.com>
414 * elf32-s12z.c (elf_backend_can_gc_sections): Don't define
416 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
418 * elf64-x86-64.c (elf_x86_64_need_pic): Suggest -fPIE when not
419 building shared object.
420 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Likewise.
422 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
425 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): Also check x86
428 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
430 * reloc.c (BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM): New internal
432 * bfd-in2.h: Regenerate.
433 * libbfd.h: Likewise.
435 2019-04-15 Sudakshina Das <sudi.das@arm.com>
437 * reloc.c (BFD_RELOC_ARM_THUMB_LOOP12): New.
438 * bfd-in2.h: Regenerated.
439 * libbfd.h: Regenerated.
441 2019-04-15 Sudakshina Das <sudi.das@arm.com>
443 * reloc.c (BFD_RELOC_THUMB_PCREL_BFCSEL): New relocation.
444 * bfd-in2.h: Regenerated.
445 * libbfd.h: Likewise.
447 2019-04-15 Sudakshina Das <sudi.das@arm.com>
449 * reloc.c (BFD_RELOC_ARM_THUMB_BF13): New.
450 * bfd-in2.h: Regenerated.
451 * libbfd.h: Regenerated.
452 * elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF13.
453 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF13
454 and R_ARM_THM_BF12 together.
455 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF13.
457 2019-04-15 Sudakshina Das <sudi.das@arm.com>
459 * reloc.c (BFD_RELOC_ARM_THUMB_BF19): New
460 * libbfd.h: Regenerated.
461 * bfd-in2.h: Regenerated.
462 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF18.
463 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF19
464 and R_ARM_THM_BF18 together.
465 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF19.
467 2019-04-15 Sudakshina Das <sudi.das@arm.com>
469 * reloc.c (BFD_RELOC_ARM_THUMB_BF17): New enum.
470 * bfd-in2.h: Regenerated.
471 * libbfd.h: Regenerated.
472 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF16.
473 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF17
474 and R_ARM_THM_BF16 together.
475 (get_value_helper): New reloc helper.
476 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF16.
478 2019-04-15 Sudakshina Das <sudi.das@arm.com>
480 * reloc.c (BFD_RELOC_THUMB_PCREL_BRANCH5): New enum.
481 * bfd-in2.h: Regenerate.
482 * libbfd.h: Regenerate.
484 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
486 * archures.c (bfd_mach_arm_8_1M_MAIN): Define.
487 * bfd-in2.h: Regenerate.
488 * cpu-arm.c (arch_info_struct): Add entry for Armv8.1-M Mainline.
489 * elf32-arm.c (using_thumb_only): Return true for Armv8.1-M Mainline
491 (using_thumb2): Likewise.
492 (using_thumb2_bl): Update assert.
493 (arch_has_arm_nop): Likewise.
494 (bfd_arm_get_mach_from_attributes): Add case for Armv8.1-M Mainline.
495 (tag_cpu_arch_combine): Add logic for Armv8.1-M Mainline merging.
497 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
499 * elf-linker-x86.h (elf_x86_cet_report): New.
500 (elf_linker_x86_params): Add cet_report.
501 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Report
502 missing IBT and SHSTK properties if needed.
504 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
507 * elf-m10300.c (mn10300_elf_check_relocs): Remove BFD_ASSERT of
508 "h != NULL". Don't check "h != NULL" before calling.
509 bfd_elf_gc_record_vtentry.
510 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
511 * elf32-bfin.c (bfin_check_relocs): Likewise.
512 * elf32-cris.c (cris_elf_check_relocs): Likewise.
513 * elf32-csky.c (csky_elf_check_relocs): Likewise.
514 * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
515 * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
516 * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
517 * elf32-frv.c (elf32_frv_check_relocs): Likewise.
518 * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
519 * elf32-i386.c (elf_i386_check_relocs): Likewise.
520 * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
521 * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
522 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
523 * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
524 * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
525 * elf32-metag.c (elf_metag_check_relocs): Likewise.
526 * elf32-or1k.c (or1k_elf_check_relocs): Likewise.
527 * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
528 * elf32-s390.c (elf_s390_check_relocs): Likewise.
529 * elf32-sh.c (sh_elf_check_relocs): Likewise.
530 * elf32-v850.c (v850_elf_check_relocs): Likewise.
531 * elf32-vax.c (elf_vax_check_relocs): Likewise.
532 * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
533 * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
534 * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
535 * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
536 * elf64-s390.c (elf_s390_check_relocs): Likewise.
537 * elf64-x86-64.c (elf_s390_check_relocs): Likewise.
538 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
539 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
540 * elflink.c (bfd_elf_gc_record_vtinherit): Check for corrupt
543 2019-04-11 Alan Modra <amodra@gmail.com>
546 * elflink.c (elf_link_add_object_symbols): Don't read partial
547 dynamic entries from fuzzed objects.
549 2019-04-11 Tamar Christina <tamar.christina@arm.com>
552 * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Don't emit
553 DT_TLSDESC_GOT and DT_TLSDESC_PLT when DF_BIND_NOW.
554 (elfNN_aarch64_finish_dynamic_sections): Don't write PLT if DF_BIND_NOW.
556 2019-04-10 Michael Forney <mforney@mforney.org>
559 * doc/chew.c (free_words): Correctly free "push_text" strings.
561 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
563 * config.bfd: Remove i[3-7]86-*-kaos* and i[3-7]86-*-chaos targets.
565 2019-04-08 Alan Modra <amodra@gmail.com>
567 * configure.ac (elfxx_x86): Define and use.
568 * configure: Regenerate.
570 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
572 * elf-linker-x86.h: New file.
573 * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
574 to get x86-specific linker options.
575 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
576 (elf_x86_64_check_relocs): Likewise.
577 (elf_x86_64_relocate_section): Likewise.
578 (elf_x86_64_link_setup_gnu_properties): Likewise.
579 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
580 (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
581 (_bfd_elf_linker_x86_set_options): New function.
582 * elfxx-x86.h: Include "elf-linker-x86.h".
583 (elf_x86_link_hash_table): Add params.
585 2019-04-03 Alan Modra <amodra@gmail.com>
587 * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
588 * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
589 * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
590 * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
591 * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
592 * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
594 2019-04-02 Jim Wilson <jimw@sifive.com>
597 * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
598 ELF header flags to after check for ELF object file. Loop through
599 sections looking for code sections, if none, then skip ABI checks.
601 2019-03-30 Andrew Waterman <andrew@sifive.com>
603 * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
606 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
608 * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
609 info->export_dynamic to the conditional.
611 2019-03-28 Alan Modra <amodra@gmail.com>
614 * configure.ac: Invoke AC_CHECK_SIZEOF(int).
615 * configure: Regenerate.
616 * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
617 workaround with SIZEOF_LONG vs. SIZEOF_INT check.
618 * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
619 * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
620 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
622 2019-03-21 Jim Wilson <jimw@sifive.com>
625 * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
626 verify sym non-NULL before using. Add identical check using h.
628 2019-03-21 Sudakshina Das <sudi.das@arm.com>
630 * elf-bfd.h (struct elf_backend_data): Add argument to
631 merge_gnu_properties.
632 * elf-properties.c (elf_merge_gnu_properties): Add argument to
633 itself and while calling bed->merge_gnu_properties.
634 (elf_merge_gnu_property_list): Update the calls for
635 elf_merge_gnu_properties.
636 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
637 of --force-bti warning and add argument.
638 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
640 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
641 * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
644 2019-03-20 Sudakshina Das <sudi.das@arm.com>
646 * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
647 * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
648 (elf_backend_fixup_gnu_properties): Define for AArch64.
650 2019-03-18 Alan Modra <amodra@gmail.com>
653 * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
654 for local iplt syms with ent->plt.offset == -1. Remove ineffective
655 attempt at writing glink stubs only once.
657 2019-03-16 Alan Modra <amodra@gmail.com>
660 * elf.c (_bfd_elf_rela_local_sym): Revert last change.
661 (_bfd_elf_rel_local_sym): Likewise.
662 * elflink.c (elf_link_input_bfd): Use bfd_und_section for
663 section of symbols with unrecognized shndx.
665 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
668 * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
670 * cofflink.c (coff_link_add_symbols): Check for symbols defined
671 in discarded section.
673 2019-03-15 Alan Modra <amodra@gmail.com>
676 * elflink.c (elf_link_add_object_symbols): Bail out on a local
677 symbol after globals if elf_bad_symtab is not set.
679 2019-03-15 Alan Modra <amodra@gmail.com>
682 * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
683 (_bfd_elf_rel_local_sym): Likewise.
685 2019-03-15 Alan Modra <amodra@gmail.com>
688 * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
689 object files with sh_size not a multiple of sh_entsize.
691 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
694 * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
695 input with bad relocation.
697 22019-03-15 H.J. Lu <hongjiu.lu@intel.com>
699 * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
701 2019-03-14 Nick Clifton <nickc@redhat.com>
704 * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field.
705 (save_section_vma): Initialise field to the number of entries in
707 (section_vma_same): Check that the number of entries in the
708 sec_vma table matches the number of sections in the bfd.
710 2019-03-14 Nick Clifton <nickc@redhat.com>
713 * elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
714 section owner pointer when adding the default symbol.
716 2019-03-14 Nick Clifton <nickc@redhat.com>
719 * elflink.c (elf_link_add_object_symbols): Add new local variable
720 extversym_end. Initialise it to point to the end of the version
721 symbol table, if present. Check it when initialising and updating
724 2019-03-13 Sudakshina Das <sudi.das@arm.com>
726 * elfnn-aarch64.c (PLT_PAC_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): New.
727 (PLT_BTI_PAC_ENTRY_SIZE, PLT_BTI_PAC_SMALL_ENTRY_SIZE): New.
728 (setup_plt_values): Account for PAC or PAC and BTI enabled PLTs.
729 (elfNN_aarch64_size_dynamic_sections): Add checks for PLT_BTI_PAC
731 (elfNN_aarch64_finish_dynamic_sections): Account for PLT_BTI_PAC.
732 (get_plt_type): Add case for DT_AARCH64_PAC_PLT.
733 (elfNN_aarch64_plt_sym_val): Add cases for PLT_BTI_PAC and PLT_PAC.
735 2019-03-13 Sudakshina Das <sudi.das@arm.com>
736 Szabolcs Nagy <szabolcs.nagy@arm.com>
738 * bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
739 (aarch64_bti_pac_info): New.
740 (bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
741 (bfd_elf32_aarch64_set_options): Likewise.
742 * bfd-in2.h: Regenerate
743 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
744 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
745 (elfNN_aarch64_small_plt0_bti_entry): New.
746 (elfNN_aarch64_small_plt_bti_entry): New.
747 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
748 (elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
749 (elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
750 tlsdesc_plt_entry_size fields.
751 (elfNN_aarch64_link_hash_table_create): Initialise the new fields.
752 (setup_plt_values): New helper function.
753 (bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
755 (elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
757 (elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
758 (elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
759 to plt stubs instead of fixed ones and update filling them according
761 (elfNN_aarch64_init_small_plt0_entry): Likewise.
762 (elfNN_aarch64_finish_dynamic_sections): Likewise.
763 (get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
764 (elfNN_aarch64_plt_sym_val): Update size accordingly.
765 (elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
767 (bfd_elfNN_get_synthetic_symtab): Define.
768 (elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
769 and mising BTI NOTE SECTION.
772 2019-03-13 Sudakshina Das <sudi.das@arm.com>
774 * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Exclude
775 linker created inputs from merge.
776 * elfnn-aarch64.c (struct elf_aarch64_obj_tdata): Add field for
777 GNU_PROPERTY_AARCH64_FEATURE_1_AND properties.
778 (elfNN_aarch64_link_setup_gnu_properties): New.
779 (elfNN_aarch64_merge_gnu_properties): New.
780 (elf_backend_setup_gnu_properties): Define for AArch64.
781 (elf_backend_merge_gnu_properties): Likewise.
782 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Define.
783 (_bfd_aarch64_elf_parse_gnu_properties): Define.
784 (_bfd_aarch64_elf_merge_gnu_properties): Define.
785 * elfxx-aarch64.h (_bfd_aarch64_elf_link_setup_gnu_properties): Declare.
786 (_bfd_aarch64_elf_parse_gnu_properties): Declare.
787 (_bfd_aarch64_elf_merge_gnu_properties): Declare.
788 (elf_backend_parse_gnu_properties): Define for AArch64.
790 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
793 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
794 merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
796 2019-03-12 Alan Modra <amodra@gmail.com>
798 * coffcode.h (buy_and_read): Delete unnecessary forward decl. Add
799 nmemb parameter. Use bfd_alloc2.
800 (coff_slurp_line_table): Use bfd_alloc2. Update buy_and_read calls.
802 (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
803 (coff_slurp_reloc_table): Use bfd_alloc2. Update buy_and_read calls.
804 * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
806 * elf.c (bfd_section_from_shdr): Use bfd_zalloc2. Style fix.
807 (assign_section_numbers): Style fix.
808 (swap_out_syms): Use bfd_malloc2.
809 (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
811 (_bfd_elf_make_empty_symbol): Style fix.
812 (elfobj_grok_stapsdt_note_1): Formatting.
813 * elfcode.h (elf_object_p): Use bfd_alloc2.
814 (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
815 (elf_slurp_symbol_table): Use bfd_zalloc2.
816 (elf_slurp_reloc_table): Use bfd_alloc2.
817 (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
818 * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
819 size calculation doesn't overflow.
820 (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
821 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
822 * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
824 2019-03-08 Alan Modra <amodra@gmail.com>
827 * merge.c (merge_strings): Return secinfo. Don't pad section
829 (_bfd_merge_sections): Pad section to alignment here, if input
830 sections contributing to merged output all pad to alignment.
833 2019-03-06 Nick Clifton <nickc@redhat.com>
835 * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
837 * coffgen.c (coff_find_nearest_line_with_names): Do not call
838 _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
840 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
842 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
843 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
846 * elf32-s390.c (allocate_dynrelocs): Update comment.
848 2019-02-28 Tamar Christina <tamar.christina@arm.com>
850 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
852 2019-02-28 Nick Clifton <nickc@redhat.com>
855 * elf.c (bfd_elf_string_from_elf_section): Check for a string
856 section that is not NUL terminated.
858 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
861 * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
862 by linker when checking copy reloc on protected symbol.
864 2019-02-24 Alan Modra <amodra@gmail.com>
867 * pdp11.c (set_section_contents): Revert 2015-02-24 change.
869 2019-02-20 Eric Tsai <erictsai@cadence.com>
871 * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
872 sections between the call site and call destination and adjust
873 call distance by the largest alignment.
875 2019-02-20 Alan Hayward <alan.hayward@arm.com>
877 * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
878 * elf.c (elfcore_grok_aarch_pauth): New function.
879 (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
880 (elfcore_write_aarch_pauth): New function.
881 (elfcore_write_register_note): Check for AArch64 pauth section.
883 2019-02-20 Alan Modra <amodra@gmail.com>
886 * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
889 2019-02-20 Michael Roitzsch <reactorcontrol@icloud.com>
891 * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
892 Darwin hosts, not just or1k.
893 * configure: Regenerate.
895 2019-02-20 Alan Modra <amodra@gmail.com>
898 * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
899 sentinel NUL to string buffer nearer to loop where it is used.
900 Don't go past sentinel when scanning strings, and don't write
902 * archive.c (do_slurp_coff_armap): Simplify string handling to
905 2019-02-19 Alan Modra <amodra@gmail.com>
908 * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
909 attempting to prevent read past end of section.
911 2019-02-18 Alan Modra <amodra@gmail.com>
914 * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
915 PRIx64 to generate warning messages. Print local sym names too.
917 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
919 * elf32-arc (INIT_SYM_STRING): Delete.
920 (FINI_SYM_STRING): Likewise.
921 (init_str): Likewise.
922 (fini_str): Likewise.
924 2019-02-08 Alan Modra <amodra@gmail.com>
926 * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
927 for bss-plt" warning to make it an error.
929 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
932 * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
933 reloc_class_ifunc for ifunc symbols.
934 * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
936 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
938 * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
939 <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
941 2019-02-07 Nick Clifton <nickc@redhat.com>
943 * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
944 into the definitely obsolete list.
946 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
949 * elf64-x86-64.c (elf_x86_64_need_pic): Check
950 SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
951 (elf_x86_64_relocate_section): Move PIC check for PC-relative
953 (elf_x86_64_check_relocs): Here.
954 (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
955 to check if a symbol is defined in a non-shared object.
956 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
958 2019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
960 * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
961 of 'labs' (and fix GCC warning).
963 2019-01-25 Nick Clifton <nickc@redhat.com>
965 * po/ru.po: Updated Russian translation.
967 2019-01-23 Nick Clifton <nickc@redhat.com>
969 * po/fr.po: Updated French translation.
971 2019-01-21 Nick Clifton <nickc@redhat.com>
973 * po/pt.po: Updated Portuguese translation.
974 * po/uk.po: Updated Ukranian translation.
976 2019-01-21 Yuri Chornoivan <yurchor@ukr.net>
979 * elf32-nds32.c (nds32_relocate_section): Add space between words
981 * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
983 (riscv_i_or_e_p): Likewise.
984 (riscv_merge_arch_attr_info): Likewise.
986 2019-01-19 Nick Clifton <nickc@redhat.com>
988 * version.m4: Reset to 2.32.51
989 * configure: Regenerate.
990 * po/bfd.pot: Regenerate.
992 2018-06-24 Nick Clifton <nickc@redhat.com>
996 2019-01-16 Kito Cheng <kito@andestech.com>
998 * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
1001 2019-01-16 Kito Cheng <kito@andestech.com>
1002 Nelson Chu <nelson@andestech.com>
1004 * elfnn-riscv.c (in_subsets): New.
1005 (out_subsets): Likewise.
1006 (merged_subsets): Likewise.
1007 (riscv_std_ext_p): Likewise.
1008 (riscv_non_std_ext_p): Likewise.
1009 (riscv_std_sv_ext_p): Likewise.
1010 (riscv_non_std_sv_ext_p): Likewise.
1011 (riscv_version_mismatch): Likewise.
1012 (riscv_i_or_e_p): Likewise.
1013 (riscv_merge_std_ext): Likewise.
1014 (riscv_merge_non_std_and_sv_ext): Likewise.
1015 (riscv_merge_arch_attr_info): Likewise.
1016 (riscv_merge_attributes): Likewise.
1017 (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
1019 * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
1020 (elf_backend_obj_attrs_vendor): Define.
1021 (elf_backend_obj_attrs_section_type): Likewise.
1022 (elf_backend_obj_attrs_section): Likewise.
1023 (elf_backend_obj_attrs_arg_type): Define as
1024 riscv_elf_obj_attrs_arg_type.
1025 * elfxx-riscv.c (riscv_estimate_digit): New.
1026 (riscv_estimate_arch_strlen1): Likewise.
1027 (riscv_estimate_arch_strlen): Likewise.
1028 (riscv_arch_str1): Likewise.
1029 (riscv_arch_str): Likewise.
1030 * elfxx-riscv.h (riscv_arch_str): Declare.
1032 2019-01-14 John Darrington <john@darrington.wattle.id.au>
1034 * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
1036 * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
1037 source field. (md_apply_fix): Apply final fix
1038 to BFD_RELOC_S12Z_OPR.
1039 * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
1041 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1044 * elf32-s390.c (allocate_dynrelocs): Update comment.
1046 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1048 * warning.m4: Adjust egrep pattern for non-GNU compilers.
1049 * configure: Regenerate.
1051 2019-01-08 Alan Modra <amodra@gmail.com>
1055 * ihex.c (ihex_write_object_contents): Properly check 32-bit
1058 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1060 * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
1061 * bfd/bfd-in2.h: Regenerate.
1062 * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
1063 * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
1065 2019-01-04 Lifang Xia <lifang_xia@c-sky.com>
1067 * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
1068 default target, little endian target is more suitable.
1070 2019-01-04 Alan Modra <amodra@gmail.com>
1074 * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
1076 (EQ_VALUE_IN_FIELD): Likewise.
1077 * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
1079 2019-01-01 Alan Modra <amodra@gmail.com>
1081 Update year range in copyright notice of all files.
1083 For older changes see ChangeLog-2018
1085 Copyright (C) 2019 Free Software Foundation, Inc.
1087 Copying and distribution of this file, with or without modification,
1088 are permitted in any medium without royalty provided the copyright
1089 notice and this notice are preserved.
1095 version-control: never