ld: xfail riscv64*-*-* for ld-scripts/empty-address-2 tests.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
2652cfad
CXW
12021-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>
7
8 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
9
d4e57b87
L
102021-01-06 H.J. Lu <hongjiu.lu@intel.com>
11
12 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
13 (bfinfdpic_check_relocs): Likewise.
14
599c86c4
AM
152021-01-06 Alan Modra <amodra@gmail.com>
16
17 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
18 on unknown r_type.
19 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
20
3677b729
AM
212021-01-06 Alan Modra <amodra@gmail.com>
22
23 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
24 (sparc64-*-solaris2*): Add sparc_elf64_vec and
25 sparc_elf32_vec.
26
fbc09e7a
MC
272021-01-06 Marcus Comstedt <marcus@mc.pp.se>
28
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
34 riscv_is_insn_reloc.
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
37 the insturctions.
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.
55
c8bad65e
AM
562021-01-05 Alan Modra <amodra@gmail.com>
57
58 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
59 for relocatable executable.
60
de6a7ee4
AM
612021-01-05 Alan Modra <amodra@gmail.com>
62
63 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
64
18b98722
NC
652021-01-05 Nelson Chu <nelson.chu@sifive.com>
66
67 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
68 make sure gp symbol is output as a dynamic symbol.
69
cd6d537c
L
702021-01-04 H.J. Lu <hongjiu.lu@intel.com>
71
72 PR ld/26256
73 * elflink.c (compare_link_order): Place unordered sections before
74 ordered sections.
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
79 sections only.
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.
84
dbb078f6
AF
852021-01-04 Alexander Fedotov <alfedotov@gmail.com>
86
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.
90
5b4293ba
AM
912021-01-04 Alan Modra <amodra@gmail.com>
92
93 PR 26822
94 * elflink.c (elf_link_input_bfd): Use the file base name in
95 linker generated STT_FILE symbols.
96
4c0e540e
NC
972021-01-04 Nelson Chu <nelson.chu@sifive.com>
98
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.
105
e9cf3691
AM
1062021-01-04 Alan Modra <amodra@gmail.com>
107
108 PR 26741
109 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
110 calculating subset version length.
111
f9a6a8f0
AM
1122021-01-01 Nicolas Boulenguez <nicolas@debian.org>
113
114 * xcofflink.c: Correct spelling in comments.
115
250d07de
AM
1162021-01-01 Alan Modra <amodra@gmail.com>
117
118 Update year range in copyright notice of all files.
119
c2795844 120For older changes see ChangeLog-2020
3499769a 121\f
c2795844 122Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
123
124Copying and distribution of this file, with or without modification,
125are permitted in any medium without royalty provided the copyright
126notice and this notice are preserved.
127
128Local Variables:
129mode: change-log
130left-margin: 8
131fill-column: 74
132version-control: never
133End:
This page took 0.361307 seconds and 4 git commands to generate.