]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
PR26002 undefined symbol VER_NDX_GLOBAL vs. VER_NDX_LOCAL
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
eb6e6af8
AM
12021-01-16 Alan Modra <amodra@gmail.com>
2
3 PR 26002
4 * elflink.c (elf_link_output_extsym): Use version 1 in
5 .gnu.version for undefined unversioned symbols.
6
4bb5732e
NC
72021-01-15 Nelson Chu <nelson.chu@sifive.com>
8
9 * elfnn-riscv.c (riscv_relax_delete_bytes): Fixed the indent that
10 caused the by previous commit accidentally.
11
1942a048
NC
122021-01-15 Nelson Chu <nelson.chu@sifive.com>
13
14 * elfnn-riscv.c: Indent, labels and GNU coding standards tidy,
15 also aligned the code.
16
b800637e
NC
172021-01-15 Nelson Chu <nelson.chu@sifive.com>
18
19 * elfnn-riscv.c (riscv_merge_attributes): Fix typos of messages.
20
dcd709e0
NC
212021-01-15 Nelson Chu <nelson.chu@sifive.com>
22
23 * elfnn-riscv.c: Comments tidy and improvement.
24 * elfxx-riscv.c: Likewise.
25 * elfxx-riscv.h: Likewise.
26
8ca9c7eb
L
272021-01-14 H.J. Lu <hongjiu.lu@intel.com>
28
29 PR ld/26688
30 * elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC
31 section for R_BFIN_FUNCDESC.
32
7e0d77ef
NC
332021-01-14 Nick Clifton <nickc@redhat.com>
34
35 * elf.c (elfcore_grok_win32pstatus): Check for a note type of 0.
36
5347ed60
AM
372021-01-13 Alan Modra <amodra@gmail.com>
38
39 * Makefile.in: Regenerate.
40 * doc/Makefile.in: Regenerate.
41
b209b5a6
AM
422021-01-13 Alan Modra <amodra@gmail.com>
43
44 PR 27160
45 * section.c (struct bfd_section): Remove pattern field.
46 (BFD_FAKE_SECTION): Adjust to suit.
47 * bfd-in2.h: Regenerate.
48 * elflink.c (compare_link_order, elf_fixup_link_order): Delete.
49 (bfd_elf_final_link): Don't call elf_fixup_link_order.
50
d546b610
L
512021-01-12 H.J. Lu <hongjiu.lu@intel.com>
52
53 PR binutils/26792
54 * configure.ac: Use GNU_MAKE_JOBSERVER.
55 * aclocal.m4: Regenerated.
56 * configure: Likewise.
57
c2e9a4a3
L
582021-01-12 H.J. Lu <hongjiu.lu@intel.com>
59
60 PR ld/27171
61 * reloc.c (bfd_perform_relocation): Adjust R_AMD64_DIR64 and
62 R_AMD64_DIR32 relocations for PE/x86-64 inputs.
63
83b33c6c
L
642021-01-11 H.J. Lu <hongjiu.lu@intel.com>
65
66 PR ld/27173
67 * configure: Regenerated.
68
a8aa72b9
NC
692021-01-11 Nick Clifton <nickc@redhat.com>
70
71 * po/fr.po: Updated French translation.
72 * po/pt.po: Updated Portuguese translation.
73 * po/sr.po: Updated Serbian translation.
74 * po/uk.po: Updated Ukranian translation.
75
a4966cd9
L
762021-01-09 H.J. Lu <hongjiu.lu@intel.com>
77
78 * configure: Regenerated.
79
0a94990b
L
802021-01-09 H.J. Lu <hongjiu.lu@intel.com>
81
82 PR ld/27166
83 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Handle
84 -z lam-u48 and -z lam-u57.
85
573fe3fb
NC
862021-01-09 Nick Clifton <nickc@redhat.com>
87
88 * version.m4: Change to 2.36.50.
89 * configure: Regenerate.
90 * po/bfd.pot: Regenerate.
91
055bc77a
NC
922021-01-09 Nick Clifton <nickc@redhat.com>
93
94 * 2.36 release branch crated.
95
ba9e922f
L
962021-01-08 H.J. Lu <hongjiu.lu@intel.com>
97
98 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Also set
99 LAM_U57 when setting LAM_U48.
100
b1b29aa5
L
1012021-01-08 H.J. Lu <hongjiu.lu@intel.com>
102
103 PR ld/26256
104 PR ld/27160
105 * elflink.c (elf_fixup_link_order): Verify that fixing up
106 SHF_LINK_ORDER doesn't increase the output section size.
107
64307045
AM
1082021-01-09 Alan Modra <amodra@gmail.com>
109
110 * configure: Regenerate.
111
f4782128
ST
1122021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
113
114 * configure: Regenerate.
115
d1bcae83
L
1162021-01-07 H.J. Lu <hongjiu.lu@intel.com>
117
118 PR 27109
119 * aix386-core.c (core_aix386_vec): Initialize
120 keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
121 * aout-target.h (MY (vec)): Likewise.
122 * binary.c (binary_vec): Likewise.
123 * cisco-core.c (core_cisco_be_vec): Likewise.
124 (core_cisco_le_vec): Likewise.
125 * coff-alpha.c (alpha_ecoff_le_vec): Likewise.
126 * coff-i386.c (TARGET_SYM): Likewise.
127 (TARGET_SYM_BIG): Likewise.
128 * coff-ia64.c (TARGET_SYM): Likewise.
129 * coff-mips.c (mips_ecoff_le_vec): Likewise.
130 (mips_ecoff_be_vec): Likewise.
131 (mips_ecoff_bele_vec): Likewise.
132 * coff-rs6000.c (rs6000_xcoff_vec): Likewise.
133 (powerpc_xcoff_vec): Likewise.
134 * coff-sh.c (sh_coff_small_vec): Likewise.
135 (sh_coff_small_le_vec): Likewise.
136 * coff-tic30.c (tic30_coff_vec): Likewise.
137 * coff-tic54x.c (tic54x_coff0_vec): Likewise.
138 (tic54x_coff0_beh_vec): Likewise.
139 (tic54x_coff1_vec): Likewise.
140 (tic54x_coff1_beh_vec): Likewise.
141 (tic54x_coff2_vec): Likewise.
142 (tic54x_coff2_beh_vec): Likewise.
143 * coff-x86_64.c (TARGET_SYM): Likewise.
144 (TARGET_SYM_BIG): Likewise.
145 * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
146 (rs6000_xcoff64_aix_vec): Likewise.
147 * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
148 (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
149 (CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
150 * elfxx-target.h (TARGET_BIG_SYM): Likewise.
151 (TARGET_LITTLE_SYM): Likewise.
152 * hppabsd-core.c (core_hppabsd_vec): Likewise.
153 * hpux-core.c (core_hpux_vec): Likewise.
154 * i386msdos.c (i386_msdos_vec): Likewise.
155 * ihex.c (ihex_vec): Likewise.
156 * irix-core.c (core_irix_vec): Likewise.
157 * mach-o-target.c (TARGET_NAME): Likewise.
158 * mmo.c (mmix_mmo_vec): Likewise.
159 * netbsd-core.c (core_netbsd_vec): Likewise.
160 * osf-core.c (core_osf_vec): Likewise.
161 * pdp11.c (MY (vec)): Likewise.
162 * pef.c (pef_vec): Likewise.
163 (pef_xlib_vec): Likewise.
164 * plugin.c (plugin_vec): Likewise.
165 * ppcboot.c (powerpc_boot_vec): Likewise.
166 * ptrace-core.c (core_ptrace_vec): Likewise.
167 * sco5-core.c (core_sco5_vec): Likewise.
168 * som.c (hppa_som_vec): Likewise.
169 * srec.c (srec_vec): Likewise.
170 (symbolsrec_vec): Likewise.
171 * tekhex.c (tekhex_vec): Likewise.
172 * trad-core.c (core_trad_vec): Likewise.
173 * verilog.c (verilog_vec): Likewise.
174 * vms-alpha.c (alpha_vms_vec): Likewise.
175 * vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
176 * wasm-module.c (wasm_vec): Likewise.
177 * xsym.c (sym_vec): Likewise.
178 * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
179 isn't set.
180 (elf_map_symbols): Don't include ignored section symbols.
181 * elfcode.h (elf_slurp_symbol_table): Also set
182 BSF_SECTION_SYM_USED on STT_SECTION symbols.
183 * elflink.c (bfd_elf_final_link): Generated section symbols only
184 when emitting relocations or reqired.
185 * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
186 * syms.c (BSF_SECTION_SYM_USED): New.
187 * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
188 (bfd_target): Add keep_unused_section_symbols.
189 (bfd_keep_unused_section_symbols): New.
190 * bfd-in2.h: Regenerated.
191
17d60030
NC
1922021-01-07 Nick Clifton <nickc@redhat.com>
193
194 PR 25713
195 * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to
196 absolute paths and check to see if they are longer than MAX_PATH.
197
aa881ecd
PT
1982021-01-07 Philipp Tomsich <prt@gnu.org>
199
200 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause.
201
2652cfad
CXW
2022021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
203 Jim Wilson <jimw@sifive.com>
204 Andrew Waterman <andrew@sifive.com>
205 Maxim Blinov <maxim.blinov@embecosm.com>
206 Kito Cheng <kito.cheng@sifive.com>
207 Nelson Chu <nelson.chu@sifive.com>
208
209 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
210
d4e57b87
L
2112021-01-06 H.J. Lu <hongjiu.lu@intel.com>
212
213 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
214 (bfinfdpic_check_relocs): Likewise.
215
599c86c4
AM
2162021-01-06 Alan Modra <amodra@gmail.com>
217
218 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
219 on unknown r_type.
220 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
221
3677b729
AM
2222021-01-06 Alan Modra <amodra@gmail.com>
223
224 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
225 (sparc64-*-solaris2*): Add sparc_elf64_vec and
226 sparc_elf32_vec.
227
fbc09e7a
MC
2282021-01-06 Marcus Comstedt <marcus@mc.pp.se>
229
230 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
231 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
232 * configure.ac: Handle riscv_elf[32|64]_be_vec.
233 * configure: Regenerate.
234 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
235 riscv_is_insn_reloc.
236 (riscv_get_insn): RISC-V instructions are always little endian, but
237 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
238 the insturctions.
239 (riscv_put_insn): Likewsie.
240 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
241 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
242 use riscv_[get|put]_insn or bfd_[get|put].
243 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
244 or bfd_[get|put]l16 for code.
245 (riscv_elf_relocate_section): Likewise.
246 (riscv_elf_finish_dynamic_symbol): Likewise.
247 (riscv_elf_finish_dynamic_sections): Likewise.
248 (_bfd_riscv_relax_call): Likewise.
249 (_bfd_riscv_relax_lui): Likewise.
250 (_bfd_riscv_relax_align): Likewise.
251 (_bfd_riscv_relax_pc): Likewise.
252 (riscv_elf_object_p): Handled for big endian.
253 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
254 * targets.c: Add riscv_elf[32|64]_be_vec.
255 (_bfd_target_vector): Likewise.
256
c8bad65e
AM
2572021-01-05 Alan Modra <amodra@gmail.com>
258
259 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
260 for relocatable executable.
261
de6a7ee4
AM
2622021-01-05 Alan Modra <amodra@gmail.com>
263
264 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
265
18b98722
NC
2662021-01-05 Nelson Chu <nelson.chu@sifive.com>
267
268 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
269 make sure gp symbol is output as a dynamic symbol.
270
cd6d537c
L
2712021-01-04 H.J. Lu <hongjiu.lu@intel.com>
272
273 PR ld/26256
274 * elflink.c (compare_link_order): Place unordered sections before
275 ordered sections.
276 (elf_fixup_link_order): Add a link info argument. Allow mixed
277 ordered and unordered input sections for non-relocatable link.
278 Sort the consecutive bfd_indirect_link_order sections with the
279 same pattern. Change the offsets of the bfd_indirect_link_order
280 sections only.
281 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
282 * section.c (bfd_section): Add pattern.
283 (BFD_FAKE_SECTION): Initialize pattern to NULL.
284 * bfd-in2.h: Regenerated.
285
dbb078f6
AF
2862021-01-04 Alexander Fedotov <alfedotov@gmail.com>
287
288 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
289 of private flags with 0x.
290 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
291
5b4293ba
AM
2922021-01-04 Alan Modra <amodra@gmail.com>
293
294 PR 26822
295 * elflink.c (elf_link_input_bfd): Use the file base name in
296 linker generated STT_FILE symbols.
297
4c0e540e
NC
2982021-01-04 Nelson Chu <nelson.chu@sifive.com>
299
300 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
301 * elfxx-riscv.h: Add declaration.
302 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
303 riscv_compare_subsets to check the orders.
304 (riscv_skip_prefix): Removed.
305 (riscv_prefix_cmp): Removed.
306
e9cf3691
AM
3072021-01-04 Alan Modra <amodra@gmail.com>
308
309 PR 26741
310 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
311 calculating subset version length.
312
f9a6a8f0
AM
3132021-01-01 Nicolas Boulenguez <nicolas@debian.org>
314
315 * xcofflink.c: Correct spelling in comments.
316
250d07de
AM
3172021-01-01 Alan Modra <amodra@gmail.com>
318
319 Update year range in copyright notice of all files.
320
c2795844 321For older changes see ChangeLog-2020
3499769a 322\f
c2795844 323Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
324
325Copying and distribution of this file, with or without modification,
326are permitted in any medium without royalty provided the copyright
327notice and this notice are preserved.
328
329Local Variables:
330mode: change-log
331left-margin: 8
332fill-column: 74
333version-control: never
334End: