]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - bfd/ChangeLog
a629e8ad6fa7e9468428aa8eebdbb556cdf2825e
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
1 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
2
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
8 riscv_is_insn_reloc.
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
11 the insturctions.
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.
29
30 2021-01-05 Alan Modra <amodra@gmail.com>
31
32 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
33 for relocatable executable.
34
35 2021-01-05 Alan Modra <amodra@gmail.com>
36
37 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
38
39 2021-01-05 Nelson Chu <nelson.chu@sifive.com>
40
41 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
42 make sure gp symbol is output as a dynamic symbol.
43
44 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR ld/26256
47 * elflink.c (compare_link_order): Place unordered sections before
48 ordered sections.
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
53 sections only.
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.
58
59 2021-01-04 Alexander Fedotov <alfedotov@gmail.com>
60
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.
64
65 2021-01-04 Alan Modra <amodra@gmail.com>
66
67 PR 26822
68 * elflink.c (elf_link_input_bfd): Use the file base name in
69 linker generated STT_FILE symbols.
70
71 2021-01-04 Nelson Chu <nelson.chu@sifive.com>
72
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.
79
80 2021-01-04 Alan Modra <amodra@gmail.com>
81
82 PR 26741
83 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
84 calculating subset version length.
85
86 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
87
88 * xcofflink.c: Correct spelling in comments.
89
90 2021-01-01 Alan Modra <amodra@gmail.com>
91
92 Update year range in copyright notice of all files.
93
94 For older changes see ChangeLog-2020
95 \f
96 Copyright (C) 2021 Free Software Foundation, Inc.
97
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.
101
102 Local Variables:
103 mode: change-log
104 left-margin: 8
105 fill-column: 74
106 version-control: never
107 End: