Add support for decoding DWARF v5 DW_AT_addr_base tags.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2021-02-25 Alan Modra <amodra@gmail.com>
2
3 PR 27441
4 * elf-bfd.h (struct elf_link_hash_entry): Add ref_ir_nonweak.
5 * elflink.c (elf_link_add_object_symbols): Set ref_ir_nonweak and
6 use when deciding an as-needed library should be loaded instead
7 of using the binding of the library definition.
8
9 2021-02-24 Alan Modra <amodra@gmail.com>
10
11 PR 27459
12 * coff-stgo32.c (go32exe_check_format): Sanity check size of
13 header to avoid a buffer overflow.
14
15 2021-02-22 Alan Modra <amodra@gmail.com>
16
17 * coff-rs6000.c (_bfd_xcoff_reloc_type_lookup): Remove BFD_RELOC_16.
18 * coff64-rs6000.c (xcoff64_reloc_type_lookup): Likewise.
19
20 2021-02-19 Nelson Chu <nelson.chu@sifive.com>
21
22 PR 27158
23 * elfnn-riscv.c (perform_relocation): Updated encoding macros.
24 (_bfd_riscv_relax_call): Likewise.
25 (_bfd_riscv_relax_lui): Likewise.
26 * elfxx-riscv.c (howto_table): Likewise.
27
28 2021-02-18 Nelson Chu <nelson.chu@sifive.com>
29
30 * Makefile.am: Added cpu-riscv.h.
31 * Makefile.in: Regenerated.
32 * po/SRC-POTFILES.in: Regenerated.
33 * cpu-riscv.h: Added to support spec versions controlling.
34 Also added extern arrays and functions for cpu-riscv.c.
35 (enum riscv_spec_class): Define all spec classes here uniformly.
36 (struct riscv_spec): Added for all specs.
37 (RISCV_GET_SPEC_CLASS): Added to reduce repeated code.
38 (RISCV_GET_SPEC_NAME): Likewise.
39 (RISCV_GET_ISA_SPEC_CLASS): Added to get ISA spec class.
40 (RISCV_GET_PRIV_SPEC_CLASS): Added to get privileged spec class.
41 (RISCV_GET_PRIV_SPEC_NAME): Added to get privileged spec name.
42 * cpu-riscv.c (struct priv_spec_t): Replaced with struct riscv_spec.
43 (riscv_get_priv_spec_class): Replaced with RISCV_GET_PRIV_SPEC_CLASS.
44 (riscv_get_priv_spec_name): Replaced with RISCV_GET_PRIV_SPEC_NAME.
45 (riscv_priv_specs): Moved below.
46 (riscv_get_priv_spec_class_from_numbers): Likewise, updated.
47 (riscv_isa_specs): Moved from include/opcode/riscv.h.
48 * elfnn-riscv.c: Included cpu-riscv.h.
49 (riscv_merge_attributes): Initialize in_priv_spec and out_priv_spec.
50 * elfxx-riscv.c: Included cpu-riscv.h and opcode/riscv.h.
51 (RISCV_UNKNOWN_VERSION): Moved from include/opcode/riscv.h.
52 * elfxx-riscv.h: Removed extern functions to cpu-riscv.h.
53
54 2021-02-17 Alan Modra <amodra@gmail.com>
55
56 * wasm-module.c: Guard include of limits.h.
57 (CHAR_BIT): Provide backup define.
58 (wasm_read_leb128): Use CHAR_BIT to size "result" in bits.
59 Correct signed overflow checking.
60
61 2021-02-17 Nelson Chu <nelson.chu@sifive.com>
62
63 PR 27200
64 * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Delay
65 copying the elf flags from input BFD to output BFD, until we have
66 checked if the input BFD has no code section or not. Also fix the
67 problem that we only check the first section rather than the entire
68 sections for input BFD.
69
70 2021-02-16 Alan Modra <amodra@gmail.com>
71
72 * libbfd.c (_bfd_read_unsigned_leb128): Avoid excessive shift.
73 (_bfd_safe_read_leb128, _bfd_read_signed_leb128): Likewise.
74
75 2021-02-15 Jan Beulich <jbeulich@suse.com>
76
77 * doc/Makefile.am: Replace "cp -p" by "$(LN_S)".
78 * doc/Makefile.in: Re-generate.
79
80 2021-02-15 Alan Modra <amodra@gmail.com>
81
82 * elf32-nds32.c (nds32_get_section_contents): Replace
83 bfd_malloc_and_get_section with bfd_get_full_section_contents.
84 (nds32_elf_relax_delete_blanks): Init contents.
85 (nds32_elf_relax_section, nds32_relax_fp_as_gp): Likewise.
86
87 2021-02-15 Alan Modra <amodra@gmail.com>
88
89 * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Use
90 bfd_get_full_section_contents.
91
92 2021-02-14 Alan Modra <amodra@gmail.com>
93
94 * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Apply
95 all fixes to bfd_generic_get_relocated_section_contents since this
96 function was split out.
97
98 2021-02-11 Alan Modra <amodra@gmail.com>
99
100 * config.bfd: Remove ia64 from obsolete list.
101
102 2021-02-11 Alan Modra <amodra@gmail.com>
103
104 PR ld/22269
105 * elfnn-ia64.c: Revert 2017-10-14 git commit db41f6eb5234.
106
107 2021-02-11 Alan Modra <amodra@gmail.com>
108
109 PR 27294
110 * elf32-avr.c (avr_elf32_load_records_from_section): Use
111 bfd_malloc_and_get_section. Use bfd_byte* vars and remove then
112 unnecessary casts.
113
114 2021-02-11 Alan Modra <amodra@gmail.com>
115
116 PR 27291
117 * section.c (bfd_get_section_contents): Avoid possible overflow
118 when range checking offset and count.
119 (bfd_set_section_contents): Likewise.
120
121 2021-02-03 Nick Alcock <nick.alcock@oracle.com>
122
123 * configure.ac (SHARED_LIBADD): Remove explicit -lintl population in
124 favour of LIBINTL.
125 * configure: Regenerated.
126
127 2021-02-09 Alan Modra <amodra@gmail.com>
128
129 * config.bfd (arm*-*-symbianelf*): Move from obsolete to removed.
130 * configure.ac: Delete symbian entries.
131 * elf-bfd.h (enum elf_target_os): Delete is_symbian.
132 * elf32-arm.c: Remove symbian support. Formatting.
133 * targets.c: Delete symbian entries.
134 * configure: Regenerate.
135
136 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
137
138 PR ld/19609
139 * elf64-x86-64.c (elf_x86_64_relocate_section): Provide more
140 info when failed to convert GOTPCREL relocation.
141
142 2021-02-04 Nelson Chu <nelson.chu@sifive.com>
143
144 * elfxx-riscv.c (riscv_parse_prefixed_ext): Removed zb*.
145
146 2021-02-04 Alan Modra <amodra@gmail.com>
147
148 PR 27311
149 * elflink.c (elf_link_add_object_symbols): Don't pull in as-needed
150 libraries for IR references on pass over libraries after LTO
151 recompilation.
152
153 2021-02-03 Alan Modra <amodra@gmail.com>
154
155 PR 27311
156 * elflink.c (_bfd_elf_add_default_symbol): Revert last two changes.
157 (elf_link_add_object_symbols): Here too. Don't pull in as-needed
158 libraries when H is an indirect symbol after calling
159 _bfd_elf_add_default_symbol.
160
161 2021-02-03 Alan Modra <amodra@gmail.com>
162
163 PR 27311
164 * elflink.c (_bfd_elf_add_default_symbol): Clear override when
165 undecorated symbol will have a different version.
166
167 2021-02-02 Alan Modra <amodra@gmail.com>
168
169 PR 27311
170 * elflink.c (_bfd_elf_add_default_symbol): Add override parameter.
171 Use when handling default versioned symbol. Rename existing
172 override variable to nondef_override and use for non-default
173 versioned symbol.
174 (elf_link_add_object_symbols): Adjust call to suit. Don't
175 pull in as-needed libraries when override is set.
176
177 2021-02-01 Emery Hemingway <ehmry@posteo.net>
178
179 * config.bfd: Add *-*-genode* as a target for AArch64 and x86.
180
181 2021-02-01 Egor Vishnyakov <lenvampir@yandex.ru>
182
183 PR 27254
184 * elf32-rl78.c (rl78_elf_relocate_section): Fix calculation of
185 offset for the R_RL78_RH_SADDR relocation.
186
187 2021-01-29 Alan Modra <amodra@gmail.com>
188
189 PR 27271
190 * elflink.c (bfd_elf_link_record_dynamic_symbol): Don't segfault
191 on symbols defined in absolute or other special sections.
192
193 2021-01-28 Alan Modra <amodra@gmail.com>
194
195 PR 27259
196 * elflink.c (_bfd_elf_gc_mark_extra_sections): Use linker_mark to
197 prevent endless looping of linked-to sections.
198
199 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
200
201 * bfd-elf.h (elfcore_write_file_note): New function.
202 * elf.c (elfcore_write_file_note): New function.
203
204 2021-01-26 Alan Modra <amodra@gmail.com>
205
206 * elf32-ft32.c (ft32_reloc_type_lookup): Don't miss ft32_reloc_map[0].
207
208 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
209
210 PR binutils/27231
211 * dwarf2.c (read_rnglists): Ignore empty range when parsing line
212 number tables.
213
214 2021-01-23 H.J. Lu <hongjiu.lu@intel.com>
215
216 PR binutils/27231
217 * dwarf2.c (read_rnglists): Advance rngs_ptr after
218 _bfd_safe_read_leb128 when parsing DW_RLE_offset_pair.
219
220 2021-01-20 Alan Modra <amodra@gmail.com>
221
222 * elf32-ppc.c: Delete outdated comment.
223 (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define.
224 * elf64-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define.
225
226 2021-01-20 Alan Modra <amodra@gmail.com>
227
228 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't assume
229 section symbols are present.
230
231 2021-01-19 Alan Modra <amodra@gmail.com>
232
233 * elf64-ppc.c (elf_hash_entry): New inline function. Use
234 throughout to replace casts.
235 (branch_reloc_hash_match): Remove const from params.
236 (use_local_plt): New function.
237 (allocate_dynrelocs, ppc_build_one_stub, ppc_size_one_stub),
238 (build_global_entry_stubs_and_plt, ppc64_elf_relocate_section):
239 Use use_local_plt.
240 * elf32-ppc.c (use_local_plt): New function.
241 (allocate_dynrelocs, ppc_elf_relocate_section),
242 (write_global_sym_plt): Use use_local_plt.
243
244 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
245
246 PR ld/27193
247 * elflink.c (elf_create_symbuf): Also ignore section symbols.
248
249 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
250
251 PR ld/23169
252 * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): Don't
253 check pointer_equality_needed.
254
255 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
256
257 * elf-linker-x86.h (elf_linker_x86_params): Add
258 report_relative_reloc.
259 * elf32-i386.c (elf_i386_relocate_section): Call
260 _bfd_x86_elf_link_report_relative_reloc to report relative
261 relocations for -z report-relative-reloc.
262 (elf_i386_finish_dynamic_symbol): Likewse.
263 * elf64-x86-64.c (elf_x86_64_relocate_section): Likewse.
264 (elf_x86_64_finish_dynamic_symbol): Likewse.
265 * elfxx-x86.c (_bfd_x86_elf_link_report_relative_reloc): New
266 function.
267 * elfxx-x86.h (_bfd_x86_elf_link_report_relative_reloc): New
268 prototype.
269
270 2021-01-16 Alan Modra <amodra@gmail.com>
271
272 * compress.c (decompress_contents): Tidy inflateEnd result test.
273
274 2021-01-16 Alan Modra <amodra@gmail.com>
275
276 PR 26002
277 * elflink.c (elf_link_output_extsym): Use version 1 in
278 .gnu.version for undefined unversioned symbols.
279
280 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
281
282 * elfnn-riscv.c (riscv_relax_delete_bytes): Fixed the indent that
283 caused the by previous commit accidentally.
284
285 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
286
287 * elfnn-riscv.c: Indent, labels and GNU coding standards tidy,
288 also aligned the code.
289
290 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
291
292 * elfnn-riscv.c (riscv_merge_attributes): Fix typos of messages.
293
294 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
295
296 * elfnn-riscv.c: Comments tidy and improvement.
297 * elfxx-riscv.c: Likewise.
298 * elfxx-riscv.h: Likewise.
299
300 2021-01-14 H.J. Lu <hongjiu.lu@intel.com>
301
302 PR ld/26688
303 * elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC
304 section for R_BFIN_FUNCDESC.
305
306 2021-01-14 Nick Clifton <nickc@redhat.com>
307
308 * elf.c (elfcore_grok_win32pstatus): Check for a note type of 0.
309
310 2021-01-13 Alan Modra <amodra@gmail.com>
311
312 * Makefile.in: Regenerate.
313 * doc/Makefile.in: Regenerate.
314
315 2021-01-13 Alan Modra <amodra@gmail.com>
316
317 PR 27160
318 * section.c (struct bfd_section): Remove pattern field.
319 (BFD_FAKE_SECTION): Adjust to suit.
320 * bfd-in2.h: Regenerate.
321 * elflink.c (compare_link_order, elf_fixup_link_order): Delete.
322 (bfd_elf_final_link): Don't call elf_fixup_link_order.
323
324 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
325
326 PR binutils/26792
327 * configure.ac: Use GNU_MAKE_JOBSERVER.
328 * aclocal.m4: Regenerated.
329 * configure: Likewise.
330
331 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
332
333 PR ld/27171
334 * reloc.c (bfd_perform_relocation): Adjust R_AMD64_DIR64 and
335 R_AMD64_DIR32 relocations for PE/x86-64 inputs.
336
337 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
338
339 PR ld/27173
340 * configure: Regenerated.
341
342 2021-01-11 Nick Clifton <nickc@redhat.com>
343
344 * po/fr.po: Updated French translation.
345 * po/pt.po: Updated Portuguese translation.
346 * po/sr.po: Updated Serbian translation.
347 * po/uk.po: Updated Ukranian translation.
348
349 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
350
351 * configure: Regenerated.
352
353 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
354
355 PR ld/27166
356 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Handle
357 -z lam-u48 and -z lam-u57.
358
359 2021-01-09 Nick Clifton <nickc@redhat.com>
360
361 * version.m4: Change to 2.36.50.
362 * configure: Regenerate.
363 * po/bfd.pot: Regenerate.
364
365 2021-01-09 Nick Clifton <nickc@redhat.com>
366
367 * 2.36 release branch crated.
368
369 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
370
371 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Also set
372 LAM_U57 when setting LAM_U48.
373
374 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
375
376 PR ld/26256
377 PR ld/27160
378 * elflink.c (elf_fixup_link_order): Verify that fixing up
379 SHF_LINK_ORDER doesn't increase the output section size.
380
381 2021-01-09 Alan Modra <amodra@gmail.com>
382
383 * configure: Regenerate.
384
385 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
386
387 * configure: Regenerate.
388
389 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
390
391 PR 27109
392 * aix386-core.c (core_aix386_vec): Initialize
393 keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
394 * aout-target.h (MY (vec)): Likewise.
395 * binary.c (binary_vec): Likewise.
396 * cisco-core.c (core_cisco_be_vec): Likewise.
397 (core_cisco_le_vec): Likewise.
398 * coff-alpha.c (alpha_ecoff_le_vec): Likewise.
399 * coff-i386.c (TARGET_SYM): Likewise.
400 (TARGET_SYM_BIG): Likewise.
401 * coff-ia64.c (TARGET_SYM): Likewise.
402 * coff-mips.c (mips_ecoff_le_vec): Likewise.
403 (mips_ecoff_be_vec): Likewise.
404 (mips_ecoff_bele_vec): Likewise.
405 * coff-rs6000.c (rs6000_xcoff_vec): Likewise.
406 (powerpc_xcoff_vec): Likewise.
407 * coff-sh.c (sh_coff_small_vec): Likewise.
408 (sh_coff_small_le_vec): Likewise.
409 * coff-tic30.c (tic30_coff_vec): Likewise.
410 * coff-tic54x.c (tic54x_coff0_vec): Likewise.
411 (tic54x_coff0_beh_vec): Likewise.
412 (tic54x_coff1_vec): Likewise.
413 (tic54x_coff1_beh_vec): Likewise.
414 (tic54x_coff2_vec): Likewise.
415 (tic54x_coff2_beh_vec): Likewise.
416 * coff-x86_64.c (TARGET_SYM): Likewise.
417 (TARGET_SYM_BIG): Likewise.
418 * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
419 (rs6000_xcoff64_aix_vec): Likewise.
420 * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
421 (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
422 (CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
423 * elfxx-target.h (TARGET_BIG_SYM): Likewise.
424 (TARGET_LITTLE_SYM): Likewise.
425 * hppabsd-core.c (core_hppabsd_vec): Likewise.
426 * hpux-core.c (core_hpux_vec): Likewise.
427 * i386msdos.c (i386_msdos_vec): Likewise.
428 * ihex.c (ihex_vec): Likewise.
429 * irix-core.c (core_irix_vec): Likewise.
430 * mach-o-target.c (TARGET_NAME): Likewise.
431 * mmo.c (mmix_mmo_vec): Likewise.
432 * netbsd-core.c (core_netbsd_vec): Likewise.
433 * osf-core.c (core_osf_vec): Likewise.
434 * pdp11.c (MY (vec)): Likewise.
435 * pef.c (pef_vec): Likewise.
436 (pef_xlib_vec): Likewise.
437 * plugin.c (plugin_vec): Likewise.
438 * ppcboot.c (powerpc_boot_vec): Likewise.
439 * ptrace-core.c (core_ptrace_vec): Likewise.
440 * sco5-core.c (core_sco5_vec): Likewise.
441 * som.c (hppa_som_vec): Likewise.
442 * srec.c (srec_vec): Likewise.
443 (symbolsrec_vec): Likewise.
444 * tekhex.c (tekhex_vec): Likewise.
445 * trad-core.c (core_trad_vec): Likewise.
446 * verilog.c (verilog_vec): Likewise.
447 * vms-alpha.c (alpha_vms_vec): Likewise.
448 * vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
449 * wasm-module.c (wasm_vec): Likewise.
450 * xsym.c (sym_vec): Likewise.
451 * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
452 isn't set.
453 (elf_map_symbols): Don't include ignored section symbols.
454 * elfcode.h (elf_slurp_symbol_table): Also set
455 BSF_SECTION_SYM_USED on STT_SECTION symbols.
456 * elflink.c (bfd_elf_final_link): Generated section symbols only
457 when emitting relocations or reqired.
458 * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
459 * syms.c (BSF_SECTION_SYM_USED): New.
460 * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
461 (bfd_target): Add keep_unused_section_symbols.
462 (bfd_keep_unused_section_symbols): New.
463 * bfd-in2.h: Regenerated.
464
465 2021-01-07 Nick Clifton <nickc@redhat.com>
466
467 PR 25713
468 * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to
469 absolute paths and check to see if they are longer than MAX_PATH.
470
471 2021-01-07 Philipp Tomsich <prt@gnu.org>
472
473 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause.
474
475 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
476 Jim Wilson <jimw@sifive.com>
477 Andrew Waterman <andrew@sifive.com>
478 Maxim Blinov <maxim.blinov@embecosm.com>
479 Kito Cheng <kito.cheng@sifive.com>
480 Nelson Chu <nelson.chu@sifive.com>
481
482 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
483
484 2021-01-06 H.J. Lu <hongjiu.lu@intel.com>
485
486 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
487 (bfinfdpic_check_relocs): Likewise.
488
489 2021-01-06 Alan Modra <amodra@gmail.com>
490
491 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
492 on unknown r_type.
493 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
494
495 2021-01-06 Alan Modra <amodra@gmail.com>
496
497 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
498 (sparc64-*-solaris2*): Add sparc_elf64_vec and
499 sparc_elf32_vec.
500
501 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
502
503 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
504 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
505 * configure.ac: Handle riscv_elf[32|64]_be_vec.
506 * configure: Regenerate.
507 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
508 riscv_is_insn_reloc.
509 (riscv_get_insn): RISC-V instructions are always little endian, but
510 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
511 the insturctions.
512 (riscv_put_insn): Likewsie.
513 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
514 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
515 use riscv_[get|put]_insn or bfd_[get|put].
516 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
517 or bfd_[get|put]l16 for code.
518 (riscv_elf_relocate_section): Likewise.
519 (riscv_elf_finish_dynamic_symbol): Likewise.
520 (riscv_elf_finish_dynamic_sections): Likewise.
521 (_bfd_riscv_relax_call): Likewise.
522 (_bfd_riscv_relax_lui): Likewise.
523 (_bfd_riscv_relax_align): Likewise.
524 (_bfd_riscv_relax_pc): Likewise.
525 (riscv_elf_object_p): Handled for big endian.
526 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
527 * targets.c: Add riscv_elf[32|64]_be_vec.
528 (_bfd_target_vector): Likewise.
529
530 2021-01-05 Alan Modra <amodra@gmail.com>
531
532 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
533 for relocatable executable.
534
535 2021-01-05 Alan Modra <amodra@gmail.com>
536
537 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
538
539 2021-01-05 Nelson Chu <nelson.chu@sifive.com>
540
541 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
542 make sure gp symbol is output as a dynamic symbol.
543
544 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
545
546 PR ld/26256
547 * elflink.c (compare_link_order): Place unordered sections before
548 ordered sections.
549 (elf_fixup_link_order): Add a link info argument. Allow mixed
550 ordered and unordered input sections for non-relocatable link.
551 Sort the consecutive bfd_indirect_link_order sections with the
552 same pattern. Change the offsets of the bfd_indirect_link_order
553 sections only.
554 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
555 * section.c (bfd_section): Add pattern.
556 (BFD_FAKE_SECTION): Initialize pattern to NULL.
557 * bfd-in2.h: Regenerated.
558
559 2021-01-04 Alexander Fedotov <alfedotov@gmail.com>
560
561 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
562 of private flags with 0x.
563 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
564
565 2021-01-04 Alan Modra <amodra@gmail.com>
566
567 PR 26822
568 * elflink.c (elf_link_input_bfd): Use the file base name in
569 linker generated STT_FILE symbols.
570
571 2021-01-04 Nelson Chu <nelson.chu@sifive.com>
572
573 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
574 * elfxx-riscv.h: Add declaration.
575 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
576 riscv_compare_subsets to check the orders.
577 (riscv_skip_prefix): Removed.
578 (riscv_prefix_cmp): Removed.
579
580 2021-01-04 Alan Modra <amodra@gmail.com>
581
582 PR 26741
583 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
584 calculating subset version length.
585
586 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
587
588 * xcofflink.c: Correct spelling in comments.
589
590 2021-01-01 Alan Modra <amodra@gmail.com>
591
592 Update year range in copyright notice of all files.
593
594 For older changes see ChangeLog-2020
595 \f
596 Copyright (C) 2021 Free Software Foundation, Inc.
597
598 Copying and distribution of this file, with or without modification,
599 are permitted in any medium without royalty provided the copyright
600 notice and this notice are preserved.
601
602 Local Variables:
603 mode: change-log
604 left-margin: 8
605 fill-column: 74
606 version-control: never
607 End:
This page took 0.068164 seconds and 4 git commands to generate.