1 2021-01-07 Nick Clifton <nickc@redhat.com>
4 * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to
5 absolute paths and check to see if they are longer than MAX_PATH.
7 2021-01-07 Philipp Tomsich <prt@gnu.org>
9 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause.
11 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
12 Jim Wilson <jimw@sifive.com>
13 Andrew Waterman <andrew@sifive.com>
14 Maxim Blinov <maxim.blinov@embecosm.com>
15 Kito Cheng <kito.cheng@sifive.com>
16 Nelson Chu <nelson.chu@sifive.com>
18 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
20 2021-01-06 H.J. Lu <hongjiu.lu@intel.com>
22 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
23 (bfinfdpic_check_relocs): Likewise.
25 2021-01-06 Alan Modra <amodra@gmail.com>
27 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
29 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
31 2021-01-06 Alan Modra <amodra@gmail.com>
33 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
34 (sparc64-*-solaris2*): Add sparc_elf64_vec and
37 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
39 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
40 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
41 * configure.ac: Handle riscv_elf[32|64]_be_vec.
42 * configure: Regenerate.
43 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
45 (riscv_get_insn): RISC-V instructions are always little endian, but
46 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
48 (riscv_put_insn): Likewsie.
49 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
50 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
51 use riscv_[get|put]_insn or bfd_[get|put].
52 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
53 or bfd_[get|put]l16 for code.
54 (riscv_elf_relocate_section): Likewise.
55 (riscv_elf_finish_dynamic_symbol): Likewise.
56 (riscv_elf_finish_dynamic_sections): Likewise.
57 (_bfd_riscv_relax_call): Likewise.
58 (_bfd_riscv_relax_lui): Likewise.
59 (_bfd_riscv_relax_align): Likewise.
60 (_bfd_riscv_relax_pc): Likewise.
61 (riscv_elf_object_p): Handled for big endian.
62 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
63 * targets.c: Add riscv_elf[32|64]_be_vec.
64 (_bfd_target_vector): Likewise.
66 2021-01-05 Alan Modra <amodra@gmail.com>
68 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
69 for relocatable executable.
71 2021-01-05 Alan Modra <amodra@gmail.com>
73 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
75 2021-01-05 Nelson Chu <nelson.chu@sifive.com>
77 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
78 make sure gp symbol is output as a dynamic symbol.
80 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
83 * elflink.c (compare_link_order): Place unordered sections before
85 (elf_fixup_link_order): Add a link info argument. Allow mixed
86 ordered and unordered input sections for non-relocatable link.
87 Sort the consecutive bfd_indirect_link_order sections with the
88 same pattern. Change the offsets of the bfd_indirect_link_order
90 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
91 * section.c (bfd_section): Add pattern.
92 (BFD_FAKE_SECTION): Initialize pattern to NULL.
93 * bfd-in2.h: Regenerated.
95 2021-01-04 Alexander Fedotov <alfedotov@gmail.com>
97 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
98 of private flags with 0x.
99 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
101 2021-01-04 Alan Modra <amodra@gmail.com>
104 * elflink.c (elf_link_input_bfd): Use the file base name in
105 linker generated STT_FILE symbols.
107 2021-01-04 Nelson Chu <nelson.chu@sifive.com>
109 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
110 * elfxx-riscv.h: Add declaration.
111 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
112 riscv_compare_subsets to check the orders.
113 (riscv_skip_prefix): Removed.
114 (riscv_prefix_cmp): Removed.
116 2021-01-04 Alan Modra <amodra@gmail.com>
119 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
120 calculating subset version length.
122 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
124 * xcofflink.c: Correct spelling in comments.
126 2021-01-01 Alan Modra <amodra@gmail.com>
128 Update year range in copyright notice of all files.
130 For older changes see ChangeLog-2020
132 Copyright (C) 2021 Free Software Foundation, Inc.
134 Copying and distribution of this file, with or without modification,
135 are permitted in any medium without royalty provided the copyright
136 notice and this notice are preserved.
142 version-control: never