]>
Commit | Line | Data |
---|---|---|
4287950e AM |
1 | 2021-01-26 Alan Modra <amodra@gmail.com> |
2 | ||
3 | * elf32-ft32.c (ft32_reloc_type_lookup): Don't miss ft32_reloc_map[0]. | |
4 | ||
940d0202 L |
5 | 2021-01-24 H.J. Lu <hongjiu.lu@intel.com> |
6 | ||
7 | PR binutils/27231 | |
8 | * dwarf2.c (read_rnglists): Ignore empty range when parsing line | |
9 | number tables. | |
10 | ||
18454c15 L |
11 | 2021-01-23 H.J. Lu <hongjiu.lu@intel.com> |
12 | ||
13 | PR binutils/27231 | |
14 | * dwarf2.c (read_rnglists): Advance rngs_ptr after | |
15 | _bfd_safe_read_leb128 when parsing DW_RLE_offset_pair. | |
16 | ||
4bd7c902 AM |
17 | 2021-01-20 Alan Modra <amodra@gmail.com> |
18 | ||
19 | * elf32-ppc.c: Delete outdated comment. | |
20 | (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define. | |
21 | * elf64-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define. | |
22 | ||
8bd10d6b AM |
23 | 2021-01-20 Alan Modra <amodra@gmail.com> |
24 | ||
25 | * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't assume | |
26 | section symbols are present. | |
27 | ||
30845f11 AM |
28 | 2021-01-19 Alan Modra <amodra@gmail.com> |
29 | ||
30 | * elf64-ppc.c (elf_hash_entry): New inline function. Use | |
31 | throughout to replace casts. | |
32 | (branch_reloc_hash_match): Remove const from params. | |
33 | (use_local_plt): New function. | |
34 | (allocate_dynrelocs, ppc_build_one_stub, ppc_size_one_stub), | |
35 | (build_global_entry_stubs_and_plt, ppc64_elf_relocate_section): | |
36 | Use use_local_plt. | |
37 | * elf32-ppc.c (use_local_plt): New function. | |
38 | (allocate_dynrelocs, ppc_elf_relocate_section), | |
39 | (write_global_sym_plt): Use use_local_plt. | |
40 | ||
994b2513 L |
41 | 2021-01-17 H.J. Lu <hongjiu.lu@intel.com> |
42 | ||
43 | PR ld/27193 | |
44 | * elflink.c (elf_create_symbuf): Also ignore section symbols. | |
45 | ||
75a933f3 L |
46 | 2021-01-16 H.J. Lu <hongjiu.lu@intel.com> |
47 | ||
48 | PR ld/23169 | |
49 | * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): Don't | |
50 | check pointer_equality_needed. | |
51 | ||
68b00778 L |
52 | 2021-01-15 H.J. Lu <hongjiu.lu@intel.com> |
53 | ||
54 | * elf-linker-x86.h (elf_linker_x86_params): Add | |
55 | report_relative_reloc. | |
56 | * elf32-i386.c (elf_i386_relocate_section): Call | |
57 | _bfd_x86_elf_link_report_relative_reloc to report relative | |
58 | relocations for -z report-relative-reloc. | |
59 | (elf_i386_finish_dynamic_symbol): Likewse. | |
60 | * elf64-x86-64.c (elf_x86_64_relocate_section): Likewse. | |
61 | (elf_x86_64_finish_dynamic_symbol): Likewse. | |
62 | * elfxx-x86.c (_bfd_x86_elf_link_report_relative_reloc): New | |
63 | function. | |
64 | * elfxx-x86.h (_bfd_x86_elf_link_report_relative_reloc): New | |
65 | prototype. | |
66 | ||
ad92f33d AM |
67 | 2021-01-16 Alan Modra <amodra@gmail.com> |
68 | ||
69 | * compress.c (decompress_contents): Tidy inflateEnd result test. | |
70 | ||
eb6e6af8 AM |
71 | 2021-01-16 Alan Modra <amodra@gmail.com> |
72 | ||
73 | PR 26002 | |
74 | * elflink.c (elf_link_output_extsym): Use version 1 in | |
75 | .gnu.version for undefined unversioned symbols. | |
76 | ||
4bb5732e NC |
77 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
78 | ||
79 | * elfnn-riscv.c (riscv_relax_delete_bytes): Fixed the indent that | |
80 | caused the by previous commit accidentally. | |
81 | ||
1942a048 NC |
82 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
83 | ||
84 | * elfnn-riscv.c: Indent, labels and GNU coding standards tidy, | |
85 | also aligned the code. | |
86 | ||
b800637e NC |
87 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
88 | ||
89 | * elfnn-riscv.c (riscv_merge_attributes): Fix typos of messages. | |
90 | ||
dcd709e0 NC |
91 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
92 | ||
93 | * elfnn-riscv.c: Comments tidy and improvement. | |
94 | * elfxx-riscv.c: Likewise. | |
95 | * elfxx-riscv.h: Likewise. | |
96 | ||
8ca9c7eb L |
97 | 2021-01-14 H.J. Lu <hongjiu.lu@intel.com> |
98 | ||
99 | PR ld/26688 | |
100 | * elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC | |
101 | section for R_BFIN_FUNCDESC. | |
102 | ||
7e0d77ef NC |
103 | 2021-01-14 Nick Clifton <nickc@redhat.com> |
104 | ||
105 | * elf.c (elfcore_grok_win32pstatus): Check for a note type of 0. | |
106 | ||
5347ed60 AM |
107 | 2021-01-13 Alan Modra <amodra@gmail.com> |
108 | ||
109 | * Makefile.in: Regenerate. | |
110 | * doc/Makefile.in: Regenerate. | |
111 | ||
b209b5a6 AM |
112 | 2021-01-13 Alan Modra <amodra@gmail.com> |
113 | ||
114 | PR 27160 | |
115 | * section.c (struct bfd_section): Remove pattern field. | |
116 | (BFD_FAKE_SECTION): Adjust to suit. | |
117 | * bfd-in2.h: Regenerate. | |
118 | * elflink.c (compare_link_order, elf_fixup_link_order): Delete. | |
119 | (bfd_elf_final_link): Don't call elf_fixup_link_order. | |
120 | ||
d546b610 L |
121 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
122 | ||
123 | PR binutils/26792 | |
124 | * configure.ac: Use GNU_MAKE_JOBSERVER. | |
125 | * aclocal.m4: Regenerated. | |
126 | * configure: Likewise. | |
127 | ||
c2e9a4a3 L |
128 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
129 | ||
130 | PR ld/27171 | |
131 | * reloc.c (bfd_perform_relocation): Adjust R_AMD64_DIR64 and | |
132 | R_AMD64_DIR32 relocations for PE/x86-64 inputs. | |
133 | ||
83b33c6c L |
134 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
135 | ||
136 | PR ld/27173 | |
137 | * configure: Regenerated. | |
138 | ||
a8aa72b9 NC |
139 | 2021-01-11 Nick Clifton <nickc@redhat.com> |
140 | ||
141 | * po/fr.po: Updated French translation. | |
142 | * po/pt.po: Updated Portuguese translation. | |
143 | * po/sr.po: Updated Serbian translation. | |
144 | * po/uk.po: Updated Ukranian translation. | |
145 | ||
a4966cd9 L |
146 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
147 | ||
148 | * configure: Regenerated. | |
149 | ||
0a94990b L |
150 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
151 | ||
152 | PR ld/27166 | |
153 | * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Handle | |
154 | -z lam-u48 and -z lam-u57. | |
155 | ||
573fe3fb NC |
156 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
157 | ||
158 | * version.m4: Change to 2.36.50. | |
159 | * configure: Regenerate. | |
160 | * po/bfd.pot: Regenerate. | |
161 | ||
055bc77a NC |
162 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
163 | ||
164 | * 2.36 release branch crated. | |
165 | ||
ba9e922f L |
166 | 2021-01-08 H.J. Lu <hongjiu.lu@intel.com> |
167 | ||
168 | * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Also set | |
169 | LAM_U57 when setting LAM_U48. | |
170 | ||
b1b29aa5 L |
171 | 2021-01-08 H.J. Lu <hongjiu.lu@intel.com> |
172 | ||
173 | PR ld/26256 | |
174 | PR ld/27160 | |
175 | * elflink.c (elf_fixup_link_order): Verify that fixing up | |
176 | SHF_LINK_ORDER doesn't increase the output section size. | |
177 | ||
64307045 AM |
178 | 2021-01-09 Alan Modra <amodra@gmail.com> |
179 | ||
180 | * configure: Regenerate. | |
181 | ||
f4782128 ST |
182 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
183 | ||
184 | * configure: Regenerate. | |
185 | ||
d1bcae83 L |
186 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
187 | ||
188 | PR 27109 | |
189 | * aix386-core.c (core_aix386_vec): Initialize | |
190 | keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS. | |
191 | * aout-target.h (MY (vec)): Likewise. | |
192 | * binary.c (binary_vec): Likewise. | |
193 | * cisco-core.c (core_cisco_be_vec): Likewise. | |
194 | (core_cisco_le_vec): Likewise. | |
195 | * coff-alpha.c (alpha_ecoff_le_vec): Likewise. | |
196 | * coff-i386.c (TARGET_SYM): Likewise. | |
197 | (TARGET_SYM_BIG): Likewise. | |
198 | * coff-ia64.c (TARGET_SYM): Likewise. | |
199 | * coff-mips.c (mips_ecoff_le_vec): Likewise. | |
200 | (mips_ecoff_be_vec): Likewise. | |
201 | (mips_ecoff_bele_vec): Likewise. | |
202 | * coff-rs6000.c (rs6000_xcoff_vec): Likewise. | |
203 | (powerpc_xcoff_vec): Likewise. | |
204 | * coff-sh.c (sh_coff_small_vec): Likewise. | |
205 | (sh_coff_small_le_vec): Likewise. | |
206 | * coff-tic30.c (tic30_coff_vec): Likewise. | |
207 | * coff-tic54x.c (tic54x_coff0_vec): Likewise. | |
208 | (tic54x_coff0_beh_vec): Likewise. | |
209 | (tic54x_coff1_vec): Likewise. | |
210 | (tic54x_coff1_beh_vec): Likewise. | |
211 | (tic54x_coff2_vec): Likewise. | |
212 | (tic54x_coff2_beh_vec): Likewise. | |
213 | * coff-x86_64.c (TARGET_SYM): Likewise. | |
214 | (TARGET_SYM_BIG): Likewise. | |
215 | * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise. | |
216 | (rs6000_xcoff64_aix_vec): Likewise. | |
217 | * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise. | |
218 | (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise. | |
219 | (CREATE_LITTLE_COFF_TARGET_VEC): Likewise. | |
220 | * elfxx-target.h (TARGET_BIG_SYM): Likewise. | |
221 | (TARGET_LITTLE_SYM): Likewise. | |
222 | * hppabsd-core.c (core_hppabsd_vec): Likewise. | |
223 | * hpux-core.c (core_hpux_vec): Likewise. | |
224 | * i386msdos.c (i386_msdos_vec): Likewise. | |
225 | * ihex.c (ihex_vec): Likewise. | |
226 | * irix-core.c (core_irix_vec): Likewise. | |
227 | * mach-o-target.c (TARGET_NAME): Likewise. | |
228 | * mmo.c (mmix_mmo_vec): Likewise. | |
229 | * netbsd-core.c (core_netbsd_vec): Likewise. | |
230 | * osf-core.c (core_osf_vec): Likewise. | |
231 | * pdp11.c (MY (vec)): Likewise. | |
232 | * pef.c (pef_vec): Likewise. | |
233 | (pef_xlib_vec): Likewise. | |
234 | * plugin.c (plugin_vec): Likewise. | |
235 | * ppcboot.c (powerpc_boot_vec): Likewise. | |
236 | * ptrace-core.c (core_ptrace_vec): Likewise. | |
237 | * sco5-core.c (core_sco5_vec): Likewise. | |
238 | * som.c (hppa_som_vec): Likewise. | |
239 | * srec.c (srec_vec): Likewise. | |
240 | (symbolsrec_vec): Likewise. | |
241 | * tekhex.c (tekhex_vec): Likewise. | |
242 | * trad-core.c (core_trad_vec): Likewise. | |
243 | * verilog.c (verilog_vec): Likewise. | |
244 | * vms-alpha.c (alpha_vms_vec): Likewise. | |
245 | * vms-lib.c (alpha_vms_lib_txt_vec): Likewise. | |
246 | * wasm-module.c (wasm_vec): Likewise. | |
247 | * xsym.c (sym_vec): Likewise. | |
248 | * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED | |
249 | isn't set. | |
250 | (elf_map_symbols): Don't include ignored section symbols. | |
251 | * elfcode.h (elf_slurp_symbol_table): Also set | |
252 | BSF_SECTION_SYM_USED on STT_SECTION symbols. | |
253 | * elflink.c (bfd_elf_final_link): Generated section symbols only | |
254 | when emitting relocations or reqired. | |
255 | * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New. | |
256 | * syms.c (BSF_SECTION_SYM_USED): New. | |
257 | * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New. | |
258 | (bfd_target): Add keep_unused_section_symbols. | |
259 | (bfd_keep_unused_section_symbols): New. | |
260 | * bfd-in2.h: Regenerated. | |
261 | ||
17d60030 NC |
262 | 2021-01-07 Nick Clifton <nickc@redhat.com> |
263 | ||
264 | PR 25713 | |
265 | * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to | |
266 | absolute paths and check to see if they are longer than MAX_PATH. | |
267 | ||
aa881ecd PT |
268 | 2021-01-07 Philipp Tomsich <prt@gnu.org> |
269 | ||
270 | * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause. | |
271 | ||
2652cfad CXW |
272 | 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com> |
273 | Jim Wilson <jimw@sifive.com> | |
274 | Andrew Waterman <andrew@sifive.com> | |
275 | Maxim Blinov <maxim.blinov@embecosm.com> | |
276 | Kito Cheng <kito.cheng@sifive.com> | |
277 | Nelson Chu <nelson.chu@sifive.com> | |
278 | ||
279 | * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc. | |
280 | ||
d4e57b87 L |
281 | 2021-01-06 H.J. Lu <hongjiu.lu@intel.com> |
282 | ||
283 | * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect. | |
284 | (bfinfdpic_check_relocs): Likewise. | |
285 | ||
599c86c4 AM |
286 | 2021-01-06 Alan Modra <amodra@gmail.com> |
287 | ||
288 | * elf32-score.c (s3_bfd_score_info_to_howto): Report an error | |
289 | on unknown r_type. | |
290 | * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise. | |
291 | ||
3677b729 AM |
292 | 2021-01-06 Alan Modra <amodra@gmail.com> |
293 | ||
294 | * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec. | |
295 | (sparc64-*-solaris2*): Add sparc_elf64_vec and | |
296 | sparc_elf32_vec. | |
297 | ||
fbc09e7a MC |
298 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
299 | ||
300 | * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and | |
301 | riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec. | |
302 | * configure.ac: Handle riscv_elf[32|64]_be_vec. | |
303 | * configure: Regenerate. | |
304 | * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for | |
305 | riscv_is_insn_reloc. | |
306 | (riscv_get_insn): RISC-V instructions are always little endian, but | |
307 | bfd_get may be used for big-endian, so add new riscv_get_insn to handle | |
308 | the insturctions. | |
309 | (riscv_put_insn): Likewsie. | |
310 | (riscv_is_insn_reloc): Check if we are relocaing an instruction. | |
311 | (perform_relocation): Call riscv_is_insn_reloc to decide if we should | |
312 | use riscv_[get|put]_insn or bfd_[get|put]. | |
313 | (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32 | |
314 | or bfd_[get|put]l16 for code. | |
315 | (riscv_elf_relocate_section): Likewise. | |
316 | (riscv_elf_finish_dynamic_symbol): Likewise. | |
317 | (riscv_elf_finish_dynamic_sections): Likewise. | |
318 | (_bfd_riscv_relax_call): Likewise. | |
319 | (_bfd_riscv_relax_lui): Likewise. | |
320 | (_bfd_riscv_relax_align): Likewise. | |
321 | (_bfd_riscv_relax_pc): Likewise. | |
322 | (riscv_elf_object_p): Handled for big endian. | |
323 | (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined. | |
324 | * targets.c: Add riscv_elf[32|64]_be_vec. | |
325 | (_bfd_target_vector): Likewise. | |
326 | ||
c8bad65e AM |
327 | 2021-01-05 Alan Modra <amodra@gmail.com> |
328 | ||
329 | * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export | |
330 | for relocatable executable. | |
331 | ||
de6a7ee4 AM |
332 | 2021-01-05 Alan Modra <amodra@gmail.com> |
333 | ||
334 | * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check. | |
335 | ||
18b98722 NC |
336 | 2021-01-05 Nelson Chu <nelson.chu@sifive.com> |
337 | ||
338 | * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde, | |
339 | make sure gp symbol is output as a dynamic symbol. | |
340 | ||
cd6d537c L |
341 | 2021-01-04 H.J. Lu <hongjiu.lu@intel.com> |
342 | ||
343 | PR ld/26256 | |
344 | * elflink.c (compare_link_order): Place unordered sections before | |
345 | ordered sections. | |
346 | (elf_fixup_link_order): Add a link info argument. Allow mixed | |
347 | ordered and unordered input sections for non-relocatable link. | |
348 | Sort the consecutive bfd_indirect_link_order sections with the | |
349 | same pattern. Change the offsets of the bfd_indirect_link_order | |
350 | sections only. | |
351 | (bfd_elf_final_link): Pass info to elf_fixup_link_order. | |
352 | * section.c (bfd_section): Add pattern. | |
353 | (BFD_FAKE_SECTION): Initialize pattern to NULL. | |
354 | * bfd-in2.h: Regenerated. | |
355 | ||
dbb078f6 AF |
356 | 2021-01-04 Alexander Fedotov <alfedotov@gmail.com> |
357 | ||
358 | * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value | |
359 | of private flags with 0x. | |
360 | * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise. | |
361 | ||
5b4293ba AM |
362 | 2021-01-04 Alan Modra <amodra@gmail.com> |
363 | ||
364 | PR 26822 | |
365 | * elflink.c (elf_link_input_bfd): Use the file base name in | |
366 | linker generated STT_FILE symbols. | |
367 | ||
4c0e540e NC |
368 | 2021-01-04 Nelson Chu <nelson.chu@sifive.com> |
369 | ||
370 | * elfxx-riscv.c (riscv_compare_subsets): Removed static. | |
371 | * elfxx-riscv.h: Add declaration. | |
372 | * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use | |
373 | riscv_compare_subsets to check the orders. | |
374 | (riscv_skip_prefix): Removed. | |
375 | (riscv_prefix_cmp): Removed. | |
376 | ||
e9cf3691 AM |
377 | 2021-01-04 Alan Modra <amodra@gmail.com> |
378 | ||
379 | PR 26741 | |
380 | * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after | |
381 | calculating subset version length. | |
382 | ||
f9a6a8f0 AM |
383 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
384 | ||
385 | * xcofflink.c: Correct spelling in comments. | |
386 | ||
250d07de AM |
387 | 2021-01-01 Alan Modra <amodra@gmail.com> |
388 | ||
389 | Update year range in copyright notice of all files. | |
390 | ||
c2795844 | 391 | For older changes see ChangeLog-2020 |
3499769a | 392 | \f |
c2795844 | 393 | Copyright (C) 2021 Free Software Foundation, Inc. |
3499769a AM |
394 | |
395 | Copying and distribution of this file, with or without modification, | |
396 | are permitted in any medium without royalty provided the copyright | |
397 | notice and this notice are preserved. | |
398 | ||
399 | Local Variables: | |
400 | mode: change-log | |
401 | left-margin: 8 | |
402 | fill-column: 74 | |
403 | version-control: never | |
404 | End: |