1 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
3 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
4 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
5 * configure.ac: Handle riscv_elf[32|64]_be_vec.
6 * configure: Regenerate.
7 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
9 (riscv_get_insn): RISC-V instructions are always little endian, but
10 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
12 (riscv_put_insn): Likewsie.
13 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
14 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
15 use riscv_[get|put]_insn or bfd_[get|put].
16 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
17 or bfd_[get|put]l16 for code.
18 (riscv_elf_relocate_section): Likewise.
19 (riscv_elf_finish_dynamic_symbol): Likewise.
20 (riscv_elf_finish_dynamic_sections): Likewise.
21 (_bfd_riscv_relax_call): Likewise.
22 (_bfd_riscv_relax_lui): Likewise.
23 (_bfd_riscv_relax_align): Likewise.
24 (_bfd_riscv_relax_pc): Likewise.
25 (riscv_elf_object_p): Handled for big endian.
26 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
27 * targets.c: Add riscv_elf[32|64]_be_vec.
28 (_bfd_target_vector): Likewise.
30 2021-01-05 Alan Modra <amodra@gmail.com>
32 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
33 for relocatable executable.
35 2021-01-05 Alan Modra <amodra@gmail.com>
37 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
39 2021-01-05 Nelson Chu <nelson.chu@sifive.com>
41 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
42 make sure gp symbol is output as a dynamic symbol.
44 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
47 * elflink.c (compare_link_order): Place unordered sections before
49 (elf_fixup_link_order): Add a link info argument. Allow mixed
50 ordered and unordered input sections for non-relocatable link.
51 Sort the consecutive bfd_indirect_link_order sections with the
52 same pattern. Change the offsets of the bfd_indirect_link_order
54 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
55 * section.c (bfd_section): Add pattern.
56 (BFD_FAKE_SECTION): Initialize pattern to NULL.
57 * bfd-in2.h: Regenerated.
59 2021-01-04 Alexander Fedotov <alfedotov@gmail.com>
61 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
62 of private flags with 0x.
63 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
65 2021-01-04 Alan Modra <amodra@gmail.com>
68 * elflink.c (elf_link_input_bfd): Use the file base name in
69 linker generated STT_FILE symbols.
71 2021-01-04 Nelson Chu <nelson.chu@sifive.com>
73 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
74 * elfxx-riscv.h: Add declaration.
75 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
76 riscv_compare_subsets to check the orders.
77 (riscv_skip_prefix): Removed.
78 (riscv_prefix_cmp): Removed.
80 2021-01-04 Alan Modra <amodra@gmail.com>
83 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
84 calculating subset version length.
86 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
88 * xcofflink.c: Correct spelling in comments.
90 2021-01-01 Alan Modra <amodra@gmail.com>
92 Update year range in copyright notice of all files.
94 For older changes see ChangeLog-2020
96 Copyright (C) 2021 Free Software Foundation, Inc.
98 Copying and distribution of this file, with or without modification,
99 are permitted in any medium without royalty provided the copyright
100 notice and this notice are preserved.
106 version-control: never