1 2019-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
3 * elfnn-aarch64.c (elfNN_aarch64_allocate_local_dynrelocs): Remove.
4 (elfNN_aarch64_size_dynamic_sections): Remove loc_hash_table traversal
5 with elfNN_aarch64_allocate_local_dynrelocs.
7 2019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
9 * elfnn-aarch64.c: Enable MOVW_PREL relocs for ELF32.
11 2019-06-14 Alan Modra <amodra@gmail.com>
13 * Makefile.in: Regenerate.
14 * configure: Regenerate.
16 2019-06-14 Alan Modra <amodra@gmail.com>
18 * elf64-ppc.c: Fix comments involving paddi.
20 2019-06-12 Adam Lackorzymski <adam@os.inf.tu-dresden.de>
23 * elf32-arm.c (arm_elf_find_function): Fail if the symol table is
24 absent, or the bfd is not in the ELF formart.
25 * elfnn-aarch64.c (aarch64_elf_find_function): Likewise.
27 2019-06-10 Christos Zoulas <christos@zoulas.com>
30 * elf.c (elfcore_make_auxv_note_section): New function.
31 (elfcore_grok_note): Use it.
32 (elfcore_grok_freebsd_note): Likewise.
33 (elfcore_grok_openbsd_note): Likewise.
34 (elfcore_grok_netbsd_note): Likewise. Plus add support for
35 NT_NETBSDCORE_AUXV notes.
37 2019-06-06 Sudakshina Das <sudi.das@arm.com>
39 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Set
40 alignment of the new gnu property section.
42 2019-06-06 Sudakshina Das <sudi.das@arm.com>
44 * bfd-in.h: Change comment.
45 * bfd-in2.h: Regenerate.
46 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update warning.
47 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties):
50 2019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
52 * elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_PCHI16>:
53 Remove overflow check.
55 2019-05-28 Alan Modra <amodra@gmail.com>
58 * cofflink.c (coff_link_check_archive_element): Don't assume
59 element is a coff object file after calling add_archive_element.
61 2019-05-28 Alan Modra <amodra@gmail.com>
64 * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Don't
65 attempt to set sh_entsize for excluded PLT section.
67 2019-05-28 Alan Modra <amodra@gmail.com>
70 * elf64-alpha.c (elf64_alpha_relocate_section): Don't attempt
71 to emit R_ALPHA_GOTTPREL in PIEs, for which no space is
72 allocated in alpha_dynamic_entries_for_reloc.
74 2019-05-28 Alan Modra <amodra@gmail.com>
77 * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Don't segfault
78 on NULL output_section.
79 * elflink.c (elf_final_link_free): Don't free -1 symshndxbuf.
81 2019-05-28 Alan Modra <amodra@gmail.com>
84 * elf32-m68k.c (elf_m68k_get_got_entry): Don't create a new
85 entry when MUST_FIND. Abort when MUST_FIND not found.
86 (elf_m68k_get_bfd2got_entry): Likewise.
87 (elf_m68k_relocate_section): Remove now useless assert.
89 2019-05-28 Alan Modra <amodra@gmail.com>
92 * elf64-hppa.c (elf64_hppa_finalize_dynreloc): Get the output bfd
93 from bfd_link_info, not an output section owner.
94 (elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): Likewise.
95 (elf_hppa_final_link_relocate): Likewise.
97 2019-05-28 Alan Modra <amodra@gmail.com>
100 * aout-tic30.c (MY_bfd_final_link): Don't segfault on missing
101 create_object_symbols_section, obj_textsec, obj_datasec or
102 obj_bsssec. Fix other errors in placement.
103 * config.bfd: Obsolete tic30-aout.
105 2019-05-28 Alan Modra <amodra@gmail.com>
108 * dwarf2.c (save_section_vma, section_vma_same): Check for NULL
109 end of section list as well as section_count.
110 * xcofflink.c (xcoff_link_add_symbols): Fix temporarily changed
111 section list before returning error.
113 2019-05-27 Alan Modra <amodra@gmail.com>
115 * elf.c (bfd_elf_set_group_contents): Exit on zero size section.
117 2019-05-27 Alan Modra <amodra@gmail.com>
120 * linker.c (_bfd_generic_link_output_symbols): Heed BSF_KEEP.
122 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
124 * elfnn-aarch64.c (elfNN_aarch64_merge_symbol_attribute): New function.
125 (struct elf_aarch64_link_hash_table): Add variant_pcs member.
126 (elfNN_aarch64_allocate_dynrelocs): Update variant_pcs.
127 (elfNN_aarch64_size_dynamic_sections): Add DT_AARCH64_VARIANT_PCS.
128 (elf_backend_merge_symbol_attribute): Define.
130 2019-05-24 Alan Modra <amodra@gmail.com>
132 * po/SRC-POTFILES.in: Regenerate.
134 2019-05-24 Alan Modra <amodra@gmail.com>
136 * elf64-ppc.c: Comment on powerxx _notoc stub variants.
137 (LI_R11_0, LIS_R11, ORI_R11_R11_0, SLDI_R11_R11_34): Define.
138 (PADDI_R12_PC, PLD_R12_PC, D34, HA34): Define.
139 (struct ppc_link_hash_table): Add powerxx_stubs.
140 (ppc64_elf_check_relocs): Set powerxx_stubs.
141 (build_powerxx_offset, size_powerxx_offset),
142 (num_relocs_for_powerxx_offset),
143 (emit_relocs_for_powerxx_offset): New functions.
144 (plt_stub_size): Size powerxx stubs.
145 (ppc_build_one_stub): Emit powerxx stubs.
146 (ppc_size_one_stub): Size powerxx stubs. Omit .eh_frame for
149 2019-05-24 Alan Modra <amodra@gmail.com>
151 * elf64-ppc.c (ppc64_elf_check_relocs): Set has_gotrel for
153 (xlate_pcrel_opt): New function.
154 (ppc64_elf_edit_toc): Handle R_PPC64_GOT_PCREL34.
155 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
156 for R_PPC64_GOT_PCREL34. Implement R_PPC64_PCREL_OPT optimisation.
158 2019-05-24 Alan Modra <amodra@gmail.com>
160 * reloc.c (BFD_RELOC_PPC64_D34, BFD_RELOC_PPC64_D34_LO),
161 (BFD_RELOC_PPC64_D34_HI30, BFD_RELOC_PPC64_D34_HA30),
162 (BFD_RELOC_PPC64_PCREL34, BFD_RELOC_PPC64_GOT_PCREL34),
163 (BFD_RELOC_PPC64_PLT_PCREL34),
164 (BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34),
165 (BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34),
166 (BFD_RELOC_PPC64_REL16_HIGHER34, BFD_RELOC_PPC64_REL16_HIGHERA34),
167 (BFD_RELOC_PPC64_REL16_HIGHEST34, BFD_RELOC_PPC64_REL16_HIGHESTA34),
168 (BFD_RELOC_PPC64_D28, BFD_RELOC_PPC64_PCREL28): New reloc enums.
169 * elf64-ppc.c (PNOP): Define.
170 (ppc64_elf_howto_raw): Add reloc howtos for new relocations.
171 (ppc64_elf_reloc_type_lookup): Translate new bfd reloc numbers.
172 (ppc64_elf_ha_reloc): Adjust addend for highera34 and highesta34
174 (ppc64_elf_prefix_reloc): New function.
175 (struct ppc_link_hash_table): Add notoc_plt.
176 (is_branch_reloc): Add R_PPC64_PLTCALL_NOTOC.
177 (is_plt_seq_reloc): Add R_PPC64_PLT_PCREL34,
178 R_PPC64_PLT_PCREL34_NOTOC, and R_PPC64_PLTSEQ_NOTOC.
179 (ppc64_elf_check_relocs): Handle pcrel got and plt relocs. Set
180 has_pltcall for section on seeing R_PPC64_PLTCALL_NOTOC. Handle
181 possible need for dynamic relocs on non-pcrel powerxx relocs.
182 (dec_dynrel_count): Handle non-pcrel powerxx relocs.
183 (ppc64_elf_inline_plt): Handle R_PPC64_PLTCALL_NOTOC.
184 (toc_adjusting_stub_needed): Likewise.
185 (ppc64_elf_tls_optimize): Handle R_PPC64_PLTSEQ_NOTOC.
186 (ppc64_elf_relocate_section): Handle new powerxx relocs.
187 * bfd-in2.h: Regenerate.
188 * libbfd.h: Regenerate.
190 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
192 * config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
193 * configure.ac: Set target_size=64 for bpf_elf64_le_vec and
195 * configure: Regenerate.
197 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
199 * configure: Regenerated.
200 * Makefile.am (ALL_MACHINES): Add cpu-bpf.lo.
201 (ALL_MACHINES_CFILES): Add cpu-bpf.c.
202 (BFD64_BACKENDS): Add elf64-bpf.lo.
203 (BFD64_BACKENDS_CFILES): Add elf64-bpf.c.
204 * Makefile.in (SOURCE_HFILES): Regenerate.
205 * config.bfd (targ_cpu): Handle bpf-*-* targets.
206 * cpu-bpf.c: New file.
207 * elf64-bpf.c: Likewise.
208 * targets.c (_bfd_target_vector): Add bpf_elf64_be_vec and
210 * archures.c: Define architecture bfd_arch_bpf and machine
212 * reloc.c: Define BFD relocations used by the BPF target.
213 * bfd-in2.h: Regenerated.
214 * libbfd.h: Likewise.
216 2019-05-22 Alan Modra <amodra@gmail.com>
218 * elf32-arm.c (arm_allocate_glue_section_space): Clear section
221 2019-05-22 Alan Modra <amodra@gmail.com>
223 * vms-alpha.c (_bfd_vms_write_etir): Don't attempt further
224 processing on "size error in section".
226 2019-05-22 Alan Modra <amodra@gmail.com>
228 * som.c (som_bfd_free_cached_info): Call
229 _bfd_generic_close_and_cleanup.
231 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
233 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Generate error
234 for TLS_TPREL_HI16(/LO16) relocations in shared library.
236 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
238 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Add NULL pointer
239 checks. Search the RELA table for n64 relocations.
241 2019-05-21 Matthew Fortune <matthew.fortune@mips.com>
242 Faraz Shahbazker <fshahbazker@wavecomp.com>
244 * elfxx-mips.c (LA25_BC): New macro.
245 (mips_elf_link_hash_table)<compact_branches>: New field.
246 (STUB_JALRC): New macro.
247 (mipsr6_o32_exec_plt0_entry_compact): New array.
248 (mipsr6_n32_exec_plt0_entry_compact): Likewise.
249 (mipsr6_n64_exec_plt0_entry_compact): Likewise.
250 (mipsr6_exec_plt_entry_compact): Likewise.
251 (mips_elf_create_la25_stub): Use BC instead of J for stubs
252 when compact_branches is true.
253 (_bfd_mips_elf_finish_dynamic_symbol): Choose the compact
254 PLT for MIPSR6 with compact_branches. Do not reorder the
255 compact branches PLT. Switch the lazy stub for MIPSR6
256 with compact_branches to use JALRC.
257 (mips_finish_exec_plt): Choose the compact PLT0 for MIPSR6
258 when compact_branches is true.
259 (_bfd_mips_elf_compact_branches): New function.
260 * elfxx-mips.h (_bfd_mips_elf_compact_branches): New prototype.
262 2019-05-21 Tamar Christina <tamar.christina@arm.com>
265 * elfnn-aarch64.c (_bfd_aarch64_erratum_843419_branch_to_stub):
268 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
271 * elf32-arm.c (get_value_helper): Remove.
272 (elf32_arm_final_link_relocate): Fix branch future relocations.
274 2019-05-21 Tamar Christina <tamar.christina@arm.com>
277 * bfd-in.h (enum erratum_84319_opts): New
278 (bfd_elf64_aarch64_set_options, bfd_elf32_aarch64_set_options): Change
279 int to enum erratum_84319_opts.
280 * bfd-in2.h: Regenerate.
281 * elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Change
282 fix_erratum_843419 to use new enum, remove fix_erratum_843419_adr.
283 (_bfd_aarch64_add_stub_entry_after): Conditionally create erratum stub.
284 (aarch64_size_one_stub): Conditionally size erratum 843419 stubs.
285 (_bfd_aarch64_resize_stubs): Amend comment.
286 (elfNN_aarch64_size_stubs): Don't generate stubs when no workaround
288 (bfd_elfNN_aarch64_set_options): Use new fix_erratum_843419 enum.
289 (_bfd_aarch64_erratum_843419_branch_to_stub): Implement selection of
291 (clear_erratum_843419_entry): Update erratum conditional.
293 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
296 * bfd/elf32-avr.c (elf32_avr_relax_section): Adjust range check
297 when computing distance_short_enough.
299 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
302 * bfd/elf32-avr.c (avr_relative_distance_considering_wrap_around):
303 Wrap around even if distance equals avr_pc_wrap_around.
305 2019-05-20 Nick Clifton <nickc@redhat.com>
307 * po/fr.po: Updated French translation.
309 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
311 * elf32-arm.c (elf32_arm_merge_eabi_attributes): Add case for Tag_MVE_arch.
313 2019-05-16 Alan Modra <amodra@gmail.com>
315 * elf32-arm.c (elf32_arm_write_section): Revert last change.
317 2019-05-15 Alan Modra <amodra@gmail.com>
319 * elf32-arm.c (elf32_arm_write_section): Don't leave
320 error case of STM32L4XX_ERRATUM_BRANCH_TO_VENEER with
321 unitialised section contents.
323 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
326 * verilog.c: (VerilogDataWidth): New variable.
327 (verilog_write_record): Emit bytes in VerilogDataWidth bundles.
329 2019-05-08 Nick Clifton <nickc@redhat.com>
332 * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
333 rather than FALSE if encountering a non-ELF file.
335 2019-05-06 Alan Modra <amodra@gmail.com>
337 * elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
339 2019-05-06 Alan Modra <amodra@gmail.com>
341 * reloc.c (BFD_RELOC_PPC64_TPREL16_HIGH, BFD_RELOC_PPC64_TPREL16_HIGHA),
342 (BFD_RELOC_PPC64_DTPREL16_HIGH, BFD_RELOC_PPC64_DTPREL16_HIGHA):
343 Sort before BFD_RELOC_PPC64_DTPREL16_HIGHESTA entry.
344 * libbfd.h: Regenerate.
345 * bfd-in2.h: Regenerate.
347 2019-05-04 Alan Modra <amodra@gmail.com>
350 * syms.c (coff_section_type): Only allow '.', '$' and numeric
351 following the standard section names.
352 (bfd_decode_symclass): Prioritize section flag tests in
353 decode_section_type before name tests in coff_section_type.
354 * plugin.c (bfd_plugin_canonicalize_symtab): Init fake_section
355 and fake_common_section using BFD_FAKE_SECTION. Use "fake" as
356 their names and choose standard .text section flags for
359 2019-05-02 Nick Clifton <nickc@redhat.com>
362 * coffcode.h (styp_to_sec_flags): Treat .gnu.debuglink and
363 .gnu.debugaltlink sections as debugging sections.
365 2019-04-30 Alan Modra <amodra@gmail.com>
367 * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add has_gotrel.
368 (struct _ppc64_elf_section_data): Likewise.
369 (ppc64_elf_check_relocs): Set above fields.
370 (ppc64_elf_edit_toc): Add a pass over GOT relocs.
371 (ppc64_elf_relocate_section): Edit GOT indirect to GOT relative
374 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
377 * elflink.c (elf_link_output_extsym): Don't complain undefined
378 weak dynamic reference.
380 2019-04-25 Sudakshina Das <sudi.das@arm.com>
382 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): Remove.
383 (PLT_BTI_TLSDESC_ENTRY_SIZE): Remove.
384 (PLT_PAC_ENTRY_SIZE, PLT_BTI_PAC_ENTRY_SIZE): Remove.
385 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): Update.
386 (elfNN_aarch64_small_plt0_pac_entry): Remove.
387 (elfNN_aarch64_small_plt0_bti_pac_entry): Remove.
388 (elfNN_aarch64_small_plt0_bti_entry): Update.
389 (elfNN_aarch64_small_plt_bti_entry): Update.
390 (elfNN_aarch64_small_plt_pac_entry): Update.
391 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): Update.
392 (setup_plt_values): Setup new entries.
393 (elfNN_aarch64_finish_dynamic_sections): Remove size change.
394 (elfNN_aarch64_plt_sym_val): Likewise.
396 2019-04-22 Jim Wilson <jimw@sifive.com>
398 * elfnn-riscv.c (PRSTATUS_SIZE) [ARCH_SIZE==32]: Change from 0 to 204.
400 2019-04-19 Alan Modra <amodra@gmail.com>
402 * elf32-s12z.c (elf_backend_can_gc_sections): Don't define
404 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
406 * elf64-x86-64.c (elf_x86_64_need_pic): Suggest -fPIE when not
407 building shared object.
408 * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Likewise.
410 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
413 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): Also check x86
416 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
418 * reloc.c (BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM): New internal
420 * bfd-in2.h: Regenerate.
421 * libbfd.h: Likewise.
423 2019-04-15 Sudakshina Das <sudi.das@arm.com>
425 * reloc.c (BFD_RELOC_ARM_THUMB_LOOP12): New.
426 * bfd-in2.h: Regenerated.
427 * libbfd.h: Regenerated.
429 2019-04-15 Sudakshina Das <sudi.das@arm.com>
431 * reloc.c (BFD_RELOC_THUMB_PCREL_BFCSEL): New relocation.
432 * bfd-in2.h: Regenerated.
433 * libbfd.h: Likewise.
435 2019-04-15 Sudakshina Das <sudi.das@arm.com>
437 * reloc.c (BFD_RELOC_ARM_THUMB_BF13): New.
438 * bfd-in2.h: Regenerated.
439 * libbfd.h: Regenerated.
440 * elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF13.
441 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF13
442 and R_ARM_THM_BF12 together.
443 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF13.
445 2019-04-15 Sudakshina Das <sudi.das@arm.com>
447 * reloc.c (BFD_RELOC_ARM_THUMB_BF19): New
448 * libbfd.h: Regenerated.
449 * bfd-in2.h: Regenerated.
450 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF18.
451 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF19
452 and R_ARM_THM_BF18 together.
453 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF19.
455 2019-04-15 Sudakshina Das <sudi.das@arm.com>
457 * reloc.c (BFD_RELOC_ARM_THUMB_BF17): New enum.
458 * bfd-in2.h: Regenerated.
459 * libbfd.h: Regenerated.
460 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF16.
461 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF17
462 and R_ARM_THM_BF16 together.
463 (get_value_helper): New reloc helper.
464 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF16.
466 2019-04-15 Sudakshina Das <sudi.das@arm.com>
468 * reloc.c (BFD_RELOC_THUMB_PCREL_BRANCH5): New enum.
469 * bfd-in2.h: Regenerate.
470 * libbfd.h: Regenerate.
472 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
474 * archures.c (bfd_mach_arm_8_1M_MAIN): Define.
475 * bfd-in2.h: Regenerate.
476 * cpu-arm.c (arch_info_struct): Add entry for Armv8.1-M Mainline.
477 * elf32-arm.c (using_thumb_only): Return true for Armv8.1-M Mainline
479 (using_thumb2): Likewise.
480 (using_thumb2_bl): Update assert.
481 (arch_has_arm_nop): Likewise.
482 (bfd_arm_get_mach_from_attributes): Add case for Armv8.1-M Mainline.
483 (tag_cpu_arch_combine): Add logic for Armv8.1-M Mainline merging.
485 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
487 * elf-linker-x86.h (elf_x86_cet_report): New.
488 (elf_linker_x86_params): Add cet_report.
489 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Report
490 missing IBT and SHSTK properties if needed.
492 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
495 * elf-m10300.c (mn10300_elf_check_relocs): Remove BFD_ASSERT of
496 "h != NULL". Don't check "h != NULL" before calling.
497 bfd_elf_gc_record_vtentry.
498 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
499 * elf32-bfin.c (bfin_check_relocs): Likewise.
500 * elf32-cris.c (cris_elf_check_relocs): Likewise.
501 * elf32-csky.c (csky_elf_check_relocs): Likewise.
502 * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
503 * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
504 * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
505 * elf32-frv.c (elf32_frv_check_relocs): Likewise.
506 * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
507 * elf32-i386.c (elf_i386_check_relocs): Likewise.
508 * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
509 * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
510 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
511 * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
512 * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
513 * elf32-metag.c (elf_metag_check_relocs): Likewise.
514 * elf32-or1k.c (or1k_elf_check_relocs): Likewise.
515 * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
516 * elf32-s390.c (elf_s390_check_relocs): Likewise.
517 * elf32-sh.c (sh_elf_check_relocs): Likewise.
518 * elf32-v850.c (v850_elf_check_relocs): Likewise.
519 * elf32-vax.c (elf_vax_check_relocs): Likewise.
520 * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
521 * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
522 * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
523 * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
524 * elf64-s390.c (elf_s390_check_relocs): Likewise.
525 * elf64-x86-64.c (elf_s390_check_relocs): Likewise.
526 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
527 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
528 * elflink.c (bfd_elf_gc_record_vtinherit): Check for corrupt
531 2019-04-11 Alan Modra <amodra@gmail.com>
534 * elflink.c (elf_link_add_object_symbols): Don't read partial
535 dynamic entries from fuzzed objects.
537 2019-04-11 Tamar Christina <tamar.christina@arm.com>
540 * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Don't emit
541 DT_TLSDESC_GOT and DT_TLSDESC_PLT when DF_BIND_NOW.
542 (elfNN_aarch64_finish_dynamic_sections): Don't write PLT if DF_BIND_NOW.
544 2019-04-10 Michael Forney <mforney@mforney.org>
547 * doc/chew.c (free_words): Correctly free "push_text" strings.
549 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
551 * config.bfd: Remove i[3-7]86-*-kaos* and i[3-7]86-*-chaos targets.
553 2019-04-08 Alan Modra <amodra@gmail.com>
555 * configure.ac (elfxx_x86): Define and use.
556 * configure: Regenerate.
558 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
560 * elf-linker-x86.h: New file.
561 * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
562 to get x86-specific linker options.
563 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
564 (elf_x86_64_check_relocs): Likewise.
565 (elf_x86_64_relocate_section): Likewise.
566 (elf_x86_64_link_setup_gnu_properties): Likewise.
567 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
568 (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
569 (_bfd_elf_linker_x86_set_options): New function.
570 * elfxx-x86.h: Include "elf-linker-x86.h".
571 (elf_x86_link_hash_table): Add params.
573 2019-04-03 Alan Modra <amodra@gmail.com>
575 * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
576 * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
577 * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
578 * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
579 * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
580 * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
582 2019-04-02 Jim Wilson <jimw@sifive.com>
585 * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
586 ELF header flags to after check for ELF object file. Loop through
587 sections looking for code sections, if none, then skip ABI checks.
589 2019-03-30 Andrew Waterman <andrew@sifive.com>
591 * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
594 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
596 * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
597 info->export_dynamic to the conditional.
599 2019-03-28 Alan Modra <amodra@gmail.com>
602 * configure.ac: Invoke AC_CHECK_SIZEOF(int).
603 * configure: Regenerate.
604 * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
605 workaround with SIZEOF_LONG vs. SIZEOF_INT check.
606 * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
607 * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
608 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
610 2019-03-21 Jim Wilson <jimw@sifive.com>
613 * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
614 verify sym non-NULL before using. Add identical check using h.
616 2019-03-21 Sudakshina Das <sudi.das@arm.com>
618 * elf-bfd.h (struct elf_backend_data): Add argument to
619 merge_gnu_properties.
620 * elf-properties.c (elf_merge_gnu_properties): Add argument to
621 itself and while calling bed->merge_gnu_properties.
622 (elf_merge_gnu_property_list): Update the calls for
623 elf_merge_gnu_properties.
624 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
625 of --force-bti warning and add argument.
626 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
628 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
629 * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
632 2019-03-20 Sudakshina Das <sudi.das@arm.com>
634 * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
635 * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
636 (elf_backend_fixup_gnu_properties): Define for AArch64.
638 2019-03-18 Alan Modra <amodra@gmail.com>
641 * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
642 for local iplt syms with ent->plt.offset == -1. Remove ineffective
643 attempt at writing glink stubs only once.
645 2019-03-16 Alan Modra <amodra@gmail.com>
648 * elf.c (_bfd_elf_rela_local_sym): Revert last change.
649 (_bfd_elf_rel_local_sym): Likewise.
650 * elflink.c (elf_link_input_bfd): Use bfd_und_section for
651 section of symbols with unrecognized shndx.
653 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
656 * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
658 * cofflink.c (coff_link_add_symbols): Check for symbols defined
659 in discarded section.
661 2019-03-15 Alan Modra <amodra@gmail.com>
664 * elflink.c (elf_link_add_object_symbols): Bail out on a local
665 symbol after globals if elf_bad_symtab is not set.
667 2019-03-15 Alan Modra <amodra@gmail.com>
670 * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
671 (_bfd_elf_rel_local_sym): Likewise.
673 2019-03-15 Alan Modra <amodra@gmail.com>
676 * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
677 object files with sh_size not a multiple of sh_entsize.
679 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
682 * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
683 input with bad relocation.
685 22019-03-15 H.J. Lu <hongjiu.lu@intel.com>
687 * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
689 2019-03-14 Nick Clifton <nickc@redhat.com>
692 * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field.
693 (save_section_vma): Initialise field to the number of entries in
695 (section_vma_same): Check that the number of entries in the
696 sec_vma table matches the number of sections in the bfd.
698 2019-03-14 Nick Clifton <nickc@redhat.com>
701 * elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
702 section owner pointer when adding the default symbol.
704 2019-03-14 Nick Clifton <nickc@redhat.com>
707 * elflink.c (elf_link_add_object_symbols): Add new local variable
708 extversym_end. Initialise it to point to the end of the version
709 symbol table, if present. Check it when initialising and updating
712 2019-03-13 Sudakshina Das <sudi.das@arm.com>
714 * elfnn-aarch64.c (PLT_PAC_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): New.
715 (PLT_BTI_PAC_ENTRY_SIZE, PLT_BTI_PAC_SMALL_ENTRY_SIZE): New.
716 (setup_plt_values): Account for PAC or PAC and BTI enabled PLTs.
717 (elfNN_aarch64_size_dynamic_sections): Add checks for PLT_BTI_PAC
719 (elfNN_aarch64_finish_dynamic_sections): Account for PLT_BTI_PAC.
720 (get_plt_type): Add case for DT_AARCH64_PAC_PLT.
721 (elfNN_aarch64_plt_sym_val): Add cases for PLT_BTI_PAC and PLT_PAC.
723 2019-03-13 Sudakshina Das <sudi.das@arm.com>
724 Szabolcs Nagy <szabolcs.nagy@arm.com>
726 * bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
727 (aarch64_bti_pac_info): New.
728 (bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
729 (bfd_elf32_aarch64_set_options): Likewise.
730 * bfd-in2.h: Regenerate
731 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
732 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
733 (elfNN_aarch64_small_plt0_bti_entry): New.
734 (elfNN_aarch64_small_plt_bti_entry): New.
735 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
736 (elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
737 (elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
738 tlsdesc_plt_entry_size fields.
739 (elfNN_aarch64_link_hash_table_create): Initialise the new fields.
740 (setup_plt_values): New helper function.
741 (bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
743 (elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
745 (elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
746 (elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
747 to plt stubs instead of fixed ones and update filling them according
749 (elfNN_aarch64_init_small_plt0_entry): Likewise.
750 (elfNN_aarch64_finish_dynamic_sections): Likewise.
751 (get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
752 (elfNN_aarch64_plt_sym_val): Update size accordingly.
753 (elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
755 (bfd_elfNN_get_synthetic_symtab): Define.
756 (elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
757 and mising BTI NOTE SECTION.
760 2019-03-13 Sudakshina Das <sudi.das@arm.com>
762 * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Exclude
763 linker created inputs from merge.
764 * elfnn-aarch64.c (struct elf_aarch64_obj_tdata): Add field for
765 GNU_PROPERTY_AARCH64_FEATURE_1_AND properties.
766 (elfNN_aarch64_link_setup_gnu_properties): New.
767 (elfNN_aarch64_merge_gnu_properties): New.
768 (elf_backend_setup_gnu_properties): Define for AArch64.
769 (elf_backend_merge_gnu_properties): Likewise.
770 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Define.
771 (_bfd_aarch64_elf_parse_gnu_properties): Define.
772 (_bfd_aarch64_elf_merge_gnu_properties): Define.
773 * elfxx-aarch64.h (_bfd_aarch64_elf_link_setup_gnu_properties): Declare.
774 (_bfd_aarch64_elf_parse_gnu_properties): Declare.
775 (_bfd_aarch64_elf_merge_gnu_properties): Declare.
776 (elf_backend_parse_gnu_properties): Define for AArch64.
778 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
781 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
782 merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
784 2019-03-12 Alan Modra <amodra@gmail.com>
786 * coffcode.h (buy_and_read): Delete unnecessary forward decl. Add
787 nmemb parameter. Use bfd_alloc2.
788 (coff_slurp_line_table): Use bfd_alloc2. Update buy_and_read calls.
790 (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
791 (coff_slurp_reloc_table): Use bfd_alloc2. Update buy_and_read calls.
792 * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
794 * elf.c (bfd_section_from_shdr): Use bfd_zalloc2. Style fix.
795 (assign_section_numbers): Style fix.
796 (swap_out_syms): Use bfd_malloc2.
797 (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
799 (_bfd_elf_make_empty_symbol): Style fix.
800 (elfobj_grok_stapsdt_note_1): Formatting.
801 * elfcode.h (elf_object_p): Use bfd_alloc2.
802 (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
803 (elf_slurp_symbol_table): Use bfd_zalloc2.
804 (elf_slurp_reloc_table): Use bfd_alloc2.
805 (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
806 * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
807 size calculation doesn't overflow.
808 (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
809 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
810 * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
812 2019-03-08 Alan Modra <amodra@gmail.com>
815 * merge.c (merge_strings): Return secinfo. Don't pad section
817 (_bfd_merge_sections): Pad section to alignment here, if input
818 sections contributing to merged output all pad to alignment.
821 2019-03-06 Nick Clifton <nickc@redhat.com>
823 * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
825 * coffgen.c (coff_find_nearest_line_with_names): Do not call
826 _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
828 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
830 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
831 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
834 * elf32-s390.c (allocate_dynrelocs): Update comment.
836 2019-02-28 Tamar Christina <tamar.christina@arm.com>
838 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
840 2019-02-28 Nick Clifton <nickc@redhat.com>
843 * elf.c (bfd_elf_string_from_elf_section): Check for a string
844 section that is not NUL terminated.
846 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
849 * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
850 by linker when checking copy reloc on protected symbol.
852 2019-02-24 Alan Modra <amodra@gmail.com>
855 * pdp11.c (set_section_contents): Revert 2015-02-24 change.
857 2019-02-20 Eric Tsai <erictsai@cadence.com>
859 * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
860 sections between the call site and call destination and adjust
861 call distance by the largest alignment.
863 2019-02-20 Alan Hayward <alan.hayward@arm.com>
865 * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
866 * elf.c (elfcore_grok_aarch_pauth): New function.
867 (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
868 (elfcore_write_aarch_pauth): New function.
869 (elfcore_write_register_note): Check for AArch64 pauth section.
871 2019-02-20 Alan Modra <amodra@gmail.com>
874 * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
877 2019-02-20 Michael Roitzsch <reactorcontrol@icloud.com>
879 * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
880 Darwin hosts, not just or1k.
881 * configure: Regenerate.
883 2019-02-20 Alan Modra <amodra@gmail.com>
886 * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
887 sentinel NUL to string buffer nearer to loop where it is used.
888 Don't go past sentinel when scanning strings, and don't write
890 * archive.c (do_slurp_coff_armap): Simplify string handling to
893 2019-02-19 Alan Modra <amodra@gmail.com>
896 * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
897 attempting to prevent read past end of section.
899 2019-02-18 Alan Modra <amodra@gmail.com>
902 * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
903 PRIx64 to generate warning messages. Print local sym names too.
905 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
907 * elf32-arc (INIT_SYM_STRING): Delete.
908 (FINI_SYM_STRING): Likewise.
909 (init_str): Likewise.
910 (fini_str): Likewise.
912 2019-02-08 Alan Modra <amodra@gmail.com>
914 * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
915 for bss-plt" warning to make it an error.
917 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
920 * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
921 reloc_class_ifunc for ifunc symbols.
922 * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
924 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
926 * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
927 <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
929 2019-02-07 Nick Clifton <nickc@redhat.com>
931 * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
932 into the definitely obsolete list.
934 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
937 * elf64-x86-64.c (elf_x86_64_need_pic): Check
938 SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
939 (elf_x86_64_relocate_section): Move PIC check for PC-relative
941 (elf_x86_64_check_relocs): Here.
942 (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
943 to check if a symbol is defined in a non-shared object.
944 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
946 2019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
948 * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
949 of 'labs' (and fix GCC warning).
951 2019-01-25 Nick Clifton <nickc@redhat.com>
953 * po/ru.po: Updated Russian translation.
955 2019-01-23 Nick Clifton <nickc@redhat.com>
957 * po/fr.po: Updated French translation.
959 2019-01-21 Nick Clifton <nickc@redhat.com>
961 * po/pt.po: Updated Portuguese translation.
962 * po/uk.po: Updated Ukranian translation.
964 2019-01-21 Yuri Chornoivan <yurchor@ukr.net>
967 * elf32-nds32.c (nds32_relocate_section): Add space between words
969 * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
971 (riscv_i_or_e_p): Likewise.
972 (riscv_merge_arch_attr_info): Likewise.
974 2019-01-19 Nick Clifton <nickc@redhat.com>
976 * version.m4: Reset to 2.32.51
977 * configure: Regenerate.
978 * po/bfd.pot: Regenerate.
980 2018-06-24 Nick Clifton <nickc@redhat.com>
984 2019-01-16 Kito Cheng <kito@andestech.com>
986 * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
989 2019-01-16 Kito Cheng <kito@andestech.com>
990 Nelson Chu <nelson@andestech.com>
992 * elfnn-riscv.c (in_subsets): New.
993 (out_subsets): Likewise.
994 (merged_subsets): Likewise.
995 (riscv_std_ext_p): Likewise.
996 (riscv_non_std_ext_p): Likewise.
997 (riscv_std_sv_ext_p): Likewise.
998 (riscv_non_std_sv_ext_p): Likewise.
999 (riscv_version_mismatch): Likewise.
1000 (riscv_i_or_e_p): Likewise.
1001 (riscv_merge_std_ext): Likewise.
1002 (riscv_merge_non_std_and_sv_ext): Likewise.
1003 (riscv_merge_arch_attr_info): Likewise.
1004 (riscv_merge_attributes): Likewise.
1005 (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
1007 * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
1008 (elf_backend_obj_attrs_vendor): Define.
1009 (elf_backend_obj_attrs_section_type): Likewise.
1010 (elf_backend_obj_attrs_section): Likewise.
1011 (elf_backend_obj_attrs_arg_type): Define as
1012 riscv_elf_obj_attrs_arg_type.
1013 * elfxx-riscv.c (riscv_estimate_digit): New.
1014 (riscv_estimate_arch_strlen1): Likewise.
1015 (riscv_estimate_arch_strlen): Likewise.
1016 (riscv_arch_str1): Likewise.
1017 (riscv_arch_str): Likewise.
1018 * elfxx-riscv.h (riscv_arch_str): Declare.
1020 2019-01-14 John Darrington <john@darrington.wattle.id.au>
1022 * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
1024 * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
1025 source field. (md_apply_fix): Apply final fix
1026 to BFD_RELOC_S12Z_OPR.
1027 * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
1029 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1032 * elf32-s390.c (allocate_dynrelocs): Update comment.
1034 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1036 * warning.m4: Adjust egrep pattern for non-GNU compilers.
1037 * configure: Regenerate.
1039 2019-01-08 Alan Modra <amodra@gmail.com>
1043 * ihex.c (ihex_write_object_contents): Properly check 32-bit
1046 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1048 * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
1049 * bfd/bfd-in2.h: Regenerate.
1050 * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
1051 * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
1053 2019-01-04 Lifang Xia <lifang_xia@c-sky.com>
1055 * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
1056 default target, little endian target is more suitable.
1058 2019-01-04 Alan Modra <amodra@gmail.com>
1062 * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
1064 (EQ_VALUE_IN_FIELD): Likewise.
1065 * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
1067 2019-01-01 Alan Modra <amodra@gmail.com>
1069 Update year range in copyright notice of all files.
1071 For older changes see ChangeLog-2018
1073 Copyright (C) 2019 Free Software Foundation, Inc.
1075 Copying and distribution of this file, with or without modification,
1076 are permitted in any medium without royalty provided the copyright
1077 notice and this notice are preserved.
1083 version-control: never