1 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
2 Jim Wilson <jimw@sifive.com>
3 Andrew Waterman <andrew@sifive.com>
4 Maxim Blinov <maxim.blinov@embecosm.com>
5 Kito Cheng <kito.cheng@sifive.com>
6 Nelson Chu <nelson.chu@sifive.com>
8 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
10 2021-01-06 H.J. Lu <hongjiu.lu@intel.com>
12 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
13 (bfinfdpic_check_relocs): Likewise.
15 2021-01-06 Alan Modra <amodra@gmail.com>
17 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
19 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
21 2021-01-06 Alan Modra <amodra@gmail.com>
23 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
24 (sparc64-*-solaris2*): Add sparc_elf64_vec and
27 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
29 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
30 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
31 * configure.ac: Handle riscv_elf[32|64]_be_vec.
32 * configure: Regenerate.
33 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
35 (riscv_get_insn): RISC-V instructions are always little endian, but
36 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
38 (riscv_put_insn): Likewsie.
39 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
40 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
41 use riscv_[get|put]_insn or bfd_[get|put].
42 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
43 or bfd_[get|put]l16 for code.
44 (riscv_elf_relocate_section): Likewise.
45 (riscv_elf_finish_dynamic_symbol): Likewise.
46 (riscv_elf_finish_dynamic_sections): Likewise.
47 (_bfd_riscv_relax_call): Likewise.
48 (_bfd_riscv_relax_lui): Likewise.
49 (_bfd_riscv_relax_align): Likewise.
50 (_bfd_riscv_relax_pc): Likewise.
51 (riscv_elf_object_p): Handled for big endian.
52 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
53 * targets.c: Add riscv_elf[32|64]_be_vec.
54 (_bfd_target_vector): Likewise.
56 2021-01-05 Alan Modra <amodra@gmail.com>
58 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
59 for relocatable executable.
61 2021-01-05 Alan Modra <amodra@gmail.com>
63 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
65 2021-01-05 Nelson Chu <nelson.chu@sifive.com>
67 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
68 make sure gp symbol is output as a dynamic symbol.
70 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
73 * elflink.c (compare_link_order): Place unordered sections before
75 (elf_fixup_link_order): Add a link info argument. Allow mixed
76 ordered and unordered input sections for non-relocatable link.
77 Sort the consecutive bfd_indirect_link_order sections with the
78 same pattern. Change the offsets of the bfd_indirect_link_order
80 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
81 * section.c (bfd_section): Add pattern.
82 (BFD_FAKE_SECTION): Initialize pattern to NULL.
83 * bfd-in2.h: Regenerated.
85 2021-01-04 Alexander Fedotov <alfedotov@gmail.com>
87 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
88 of private flags with 0x.
89 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
91 2021-01-04 Alan Modra <amodra@gmail.com>
94 * elflink.c (elf_link_input_bfd): Use the file base name in
95 linker generated STT_FILE symbols.
97 2021-01-04 Nelson Chu <nelson.chu@sifive.com>
99 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
100 * elfxx-riscv.h: Add declaration.
101 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
102 riscv_compare_subsets to check the orders.
103 (riscv_skip_prefix): Removed.
104 (riscv_prefix_cmp): Removed.
106 2021-01-04 Alan Modra <amodra@gmail.com>
109 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
110 calculating subset version length.
112 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
114 * xcofflink.c: Correct spelling in comments.
116 2021-01-01 Alan Modra <amodra@gmail.com>
118 Update year range in copyright notice of all files.
120 For older changes see ChangeLog-2020
122 Copyright (C) 2021 Free Software Foundation, Inc.
124 Copying and distribution of this file, with or without modification,
125 are permitted in any medium without royalty provided the copyright
126 notice and this notice are preserved.
132 version-control: never