]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
POWER10: Add Return-Oriented Programming instructions
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
64307045
AM
12021-01-09 Alan Modra <amodra@gmail.com>
2
3 * configure: Regenerate.
4
f4782128
ST
52021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
6
7 * configure: Regenerate.
8
d1bcae83
L
92021-01-07 H.J. Lu <hongjiu.lu@intel.com>
10
11 PR 27109
12 * aix386-core.c (core_aix386_vec): Initialize
13 keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
14 * aout-target.h (MY (vec)): Likewise.
15 * binary.c (binary_vec): Likewise.
16 * cisco-core.c (core_cisco_be_vec): Likewise.
17 (core_cisco_le_vec): Likewise.
18 * coff-alpha.c (alpha_ecoff_le_vec): Likewise.
19 * coff-i386.c (TARGET_SYM): Likewise.
20 (TARGET_SYM_BIG): Likewise.
21 * coff-ia64.c (TARGET_SYM): Likewise.
22 * coff-mips.c (mips_ecoff_le_vec): Likewise.
23 (mips_ecoff_be_vec): Likewise.
24 (mips_ecoff_bele_vec): Likewise.
25 * coff-rs6000.c (rs6000_xcoff_vec): Likewise.
26 (powerpc_xcoff_vec): Likewise.
27 * coff-sh.c (sh_coff_small_vec): Likewise.
28 (sh_coff_small_le_vec): Likewise.
29 * coff-tic30.c (tic30_coff_vec): Likewise.
30 * coff-tic54x.c (tic54x_coff0_vec): Likewise.
31 (tic54x_coff0_beh_vec): Likewise.
32 (tic54x_coff1_vec): Likewise.
33 (tic54x_coff1_beh_vec): Likewise.
34 (tic54x_coff2_vec): Likewise.
35 (tic54x_coff2_beh_vec): Likewise.
36 * coff-x86_64.c (TARGET_SYM): Likewise.
37 (TARGET_SYM_BIG): Likewise.
38 * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
39 (rs6000_xcoff64_aix_vec): Likewise.
40 * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
41 (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
42 (CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
43 * elfxx-target.h (TARGET_BIG_SYM): Likewise.
44 (TARGET_LITTLE_SYM): Likewise.
45 * hppabsd-core.c (core_hppabsd_vec): Likewise.
46 * hpux-core.c (core_hpux_vec): Likewise.
47 * i386msdos.c (i386_msdos_vec): Likewise.
48 * ihex.c (ihex_vec): Likewise.
49 * irix-core.c (core_irix_vec): Likewise.
50 * mach-o-target.c (TARGET_NAME): Likewise.
51 * mmo.c (mmix_mmo_vec): Likewise.
52 * netbsd-core.c (core_netbsd_vec): Likewise.
53 * osf-core.c (core_osf_vec): Likewise.
54 * pdp11.c (MY (vec)): Likewise.
55 * pef.c (pef_vec): Likewise.
56 (pef_xlib_vec): Likewise.
57 * plugin.c (plugin_vec): Likewise.
58 * ppcboot.c (powerpc_boot_vec): Likewise.
59 * ptrace-core.c (core_ptrace_vec): Likewise.
60 * sco5-core.c (core_sco5_vec): Likewise.
61 * som.c (hppa_som_vec): Likewise.
62 * srec.c (srec_vec): Likewise.
63 (symbolsrec_vec): Likewise.
64 * tekhex.c (tekhex_vec): Likewise.
65 * trad-core.c (core_trad_vec): Likewise.
66 * verilog.c (verilog_vec): Likewise.
67 * vms-alpha.c (alpha_vms_vec): Likewise.
68 * vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
69 * wasm-module.c (wasm_vec): Likewise.
70 * xsym.c (sym_vec): Likewise.
71 * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
72 isn't set.
73 (elf_map_symbols): Don't include ignored section symbols.
74 * elfcode.h (elf_slurp_symbol_table): Also set
75 BSF_SECTION_SYM_USED on STT_SECTION symbols.
76 * elflink.c (bfd_elf_final_link): Generated section symbols only
77 when emitting relocations or reqired.
78 * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
79 * syms.c (BSF_SECTION_SYM_USED): New.
80 * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
81 (bfd_target): Add keep_unused_section_symbols.
82 (bfd_keep_unused_section_symbols): New.
83 * bfd-in2.h: Regenerated.
84
17d60030
NC
852021-01-07 Nick Clifton <nickc@redhat.com>
86
87 PR 25713
88 * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to
89 absolute paths and check to see if they are longer than MAX_PATH.
90
aa881ecd
PT
912021-01-07 Philipp Tomsich <prt@gnu.org>
92
93 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause.
94
2652cfad
CXW
952021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
96 Jim Wilson <jimw@sifive.com>
97 Andrew Waterman <andrew@sifive.com>
98 Maxim Blinov <maxim.blinov@embecosm.com>
99 Kito Cheng <kito.cheng@sifive.com>
100 Nelson Chu <nelson.chu@sifive.com>
101
102 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
103
d4e57b87
L
1042021-01-06 H.J. Lu <hongjiu.lu@intel.com>
105
106 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
107 (bfinfdpic_check_relocs): Likewise.
108
599c86c4
AM
1092021-01-06 Alan Modra <amodra@gmail.com>
110
111 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
112 on unknown r_type.
113 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
114
3677b729
AM
1152021-01-06 Alan Modra <amodra@gmail.com>
116
117 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
118 (sparc64-*-solaris2*): Add sparc_elf64_vec and
119 sparc_elf32_vec.
120
fbc09e7a
MC
1212021-01-06 Marcus Comstedt <marcus@mc.pp.se>
122
123 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
124 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
125 * configure.ac: Handle riscv_elf[32|64]_be_vec.
126 * configure: Regenerate.
127 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
128 riscv_is_insn_reloc.
129 (riscv_get_insn): RISC-V instructions are always little endian, but
130 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
131 the insturctions.
132 (riscv_put_insn): Likewsie.
133 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
134 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
135 use riscv_[get|put]_insn or bfd_[get|put].
136 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
137 or bfd_[get|put]l16 for code.
138 (riscv_elf_relocate_section): Likewise.
139 (riscv_elf_finish_dynamic_symbol): Likewise.
140 (riscv_elf_finish_dynamic_sections): Likewise.
141 (_bfd_riscv_relax_call): Likewise.
142 (_bfd_riscv_relax_lui): Likewise.
143 (_bfd_riscv_relax_align): Likewise.
144 (_bfd_riscv_relax_pc): Likewise.
145 (riscv_elf_object_p): Handled for big endian.
146 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
147 * targets.c: Add riscv_elf[32|64]_be_vec.
148 (_bfd_target_vector): Likewise.
149
c8bad65e
AM
1502021-01-05 Alan Modra <amodra@gmail.com>
151
152 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
153 for relocatable executable.
154
de6a7ee4
AM
1552021-01-05 Alan Modra <amodra@gmail.com>
156
157 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
158
18b98722
NC
1592021-01-05 Nelson Chu <nelson.chu@sifive.com>
160
161 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
162 make sure gp symbol is output as a dynamic symbol.
163
cd6d537c
L
1642021-01-04 H.J. Lu <hongjiu.lu@intel.com>
165
166 PR ld/26256
167 * elflink.c (compare_link_order): Place unordered sections before
168 ordered sections.
169 (elf_fixup_link_order): Add a link info argument. Allow mixed
170 ordered and unordered input sections for non-relocatable link.
171 Sort the consecutive bfd_indirect_link_order sections with the
172 same pattern. Change the offsets of the bfd_indirect_link_order
173 sections only.
174 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
175 * section.c (bfd_section): Add pattern.
176 (BFD_FAKE_SECTION): Initialize pattern to NULL.
177 * bfd-in2.h: Regenerated.
178
dbb078f6
AF
1792021-01-04 Alexander Fedotov <alfedotov@gmail.com>
180
181 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
182 of private flags with 0x.
183 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
184
5b4293ba
AM
1852021-01-04 Alan Modra <amodra@gmail.com>
186
187 PR 26822
188 * elflink.c (elf_link_input_bfd): Use the file base name in
189 linker generated STT_FILE symbols.
190
4c0e540e
NC
1912021-01-04 Nelson Chu <nelson.chu@sifive.com>
192
193 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
194 * elfxx-riscv.h: Add declaration.
195 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
196 riscv_compare_subsets to check the orders.
197 (riscv_skip_prefix): Removed.
198 (riscv_prefix_cmp): Removed.
199
e9cf3691
AM
2002021-01-04 Alan Modra <amodra@gmail.com>
201
202 PR 26741
203 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
204 calculating subset version length.
205
f9a6a8f0
AM
2062021-01-01 Nicolas Boulenguez <nicolas@debian.org>
207
208 * xcofflink.c: Correct spelling in comments.
209
250d07de
AM
2102021-01-01 Alan Modra <amodra@gmail.com>
211
212 Update year range in copyright notice of all files.
213
c2795844 214For older changes see ChangeLog-2020
3499769a 215\f
c2795844 216Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
217
218Copying and distribution of this file, with or without modification,
219are permitted in any medium without royalty provided the copyright
220notice and this notice are preserved.
221
222Local Variables:
223mode: change-log
224left-margin: 8
225fill-column: 74
226version-control: never
227End: