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