]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - bfd/ChangeLog
Fix another path length problem opening files on Win32 systems.
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
1 2021-01-07 Nick Clifton <nickc@redhat.com>
2
3 PR 25713
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.
6
7 2021-01-07 Philipp Tomsich <prt@gnu.org>
8
9 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause.
10
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>
17
18 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
19
20 2021-01-06 H.J. Lu <hongjiu.lu@intel.com>
21
22 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
23 (bfinfdpic_check_relocs): Likewise.
24
25 2021-01-06 Alan Modra <amodra@gmail.com>
26
27 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
28 on unknown r_type.
29 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
30
31 2021-01-06 Alan Modra <amodra@gmail.com>
32
33 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
34 (sparc64-*-solaris2*): Add sparc_elf64_vec and
35 sparc_elf32_vec.
36
37 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
38
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
44 riscv_is_insn_reloc.
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
47 the insturctions.
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.
65
66 2021-01-05 Alan Modra <amodra@gmail.com>
67
68 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
69 for relocatable executable.
70
71 2021-01-05 Alan Modra <amodra@gmail.com>
72
73 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
74
75 2021-01-05 Nelson Chu <nelson.chu@sifive.com>
76
77 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
78 make sure gp symbol is output as a dynamic symbol.
79
80 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
81
82 PR ld/26256
83 * elflink.c (compare_link_order): Place unordered sections before
84 ordered sections.
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
89 sections only.
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.
94
95 2021-01-04 Alexander Fedotov <alfedotov@gmail.com>
96
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.
100
101 2021-01-04 Alan Modra <amodra@gmail.com>
102
103 PR 26822
104 * elflink.c (elf_link_input_bfd): Use the file base name in
105 linker generated STT_FILE symbols.
106
107 2021-01-04 Nelson Chu <nelson.chu@sifive.com>
108
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.
115
116 2021-01-04 Alan Modra <amodra@gmail.com>
117
118 PR 26741
119 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
120 calculating subset version length.
121
122 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
123
124 * xcofflink.c: Correct spelling in comments.
125
126 2021-01-01 Alan Modra <amodra@gmail.com>
127
128 Update year range in copyright notice of all files.
129
130 For older changes see ChangeLog-2020
131 \f
132 Copyright (C) 2021 Free Software Foundation, Inc.
133
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.
137
138 Local Variables:
139 mode: change-log
140 left-margin: 8
141 fill-column: 74
142 version-control: never
143 End: