]>
Commit | Line | Data |
---|---|---|
f4782128 ST |
1 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
2 | ||
3 | * configure: Regenerate. | |
4 | ||
d1bcae83 L |
5 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
6 | ||
7 | PR 27109 | |
8 | * aix386-core.c (core_aix386_vec): Initialize | |
9 | keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS. | |
10 | * aout-target.h (MY (vec)): Likewise. | |
11 | * binary.c (binary_vec): Likewise. | |
12 | * cisco-core.c (core_cisco_be_vec): Likewise. | |
13 | (core_cisco_le_vec): Likewise. | |
14 | * coff-alpha.c (alpha_ecoff_le_vec): Likewise. | |
15 | * coff-i386.c (TARGET_SYM): Likewise. | |
16 | (TARGET_SYM_BIG): Likewise. | |
17 | * coff-ia64.c (TARGET_SYM): Likewise. | |
18 | * coff-mips.c (mips_ecoff_le_vec): Likewise. | |
19 | (mips_ecoff_be_vec): Likewise. | |
20 | (mips_ecoff_bele_vec): Likewise. | |
21 | * coff-rs6000.c (rs6000_xcoff_vec): Likewise. | |
22 | (powerpc_xcoff_vec): Likewise. | |
23 | * coff-sh.c (sh_coff_small_vec): Likewise. | |
24 | (sh_coff_small_le_vec): Likewise. | |
25 | * coff-tic30.c (tic30_coff_vec): Likewise. | |
26 | * coff-tic54x.c (tic54x_coff0_vec): Likewise. | |
27 | (tic54x_coff0_beh_vec): Likewise. | |
28 | (tic54x_coff1_vec): Likewise. | |
29 | (tic54x_coff1_beh_vec): Likewise. | |
30 | (tic54x_coff2_vec): Likewise. | |
31 | (tic54x_coff2_beh_vec): Likewise. | |
32 | * coff-x86_64.c (TARGET_SYM): Likewise. | |
33 | (TARGET_SYM_BIG): Likewise. | |
34 | * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise. | |
35 | (rs6000_xcoff64_aix_vec): Likewise. | |
36 | * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise. | |
37 | (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise. | |
38 | (CREATE_LITTLE_COFF_TARGET_VEC): Likewise. | |
39 | * elfxx-target.h (TARGET_BIG_SYM): Likewise. | |
40 | (TARGET_LITTLE_SYM): Likewise. | |
41 | * hppabsd-core.c (core_hppabsd_vec): Likewise. | |
42 | * hpux-core.c (core_hpux_vec): Likewise. | |
43 | * i386msdos.c (i386_msdos_vec): Likewise. | |
44 | * ihex.c (ihex_vec): Likewise. | |
45 | * irix-core.c (core_irix_vec): Likewise. | |
46 | * mach-o-target.c (TARGET_NAME): Likewise. | |
47 | * mmo.c (mmix_mmo_vec): Likewise. | |
48 | * netbsd-core.c (core_netbsd_vec): Likewise. | |
49 | * osf-core.c (core_osf_vec): Likewise. | |
50 | * pdp11.c (MY (vec)): Likewise. | |
51 | * pef.c (pef_vec): Likewise. | |
52 | (pef_xlib_vec): Likewise. | |
53 | * plugin.c (plugin_vec): Likewise. | |
54 | * ppcboot.c (powerpc_boot_vec): Likewise. | |
55 | * ptrace-core.c (core_ptrace_vec): Likewise. | |
56 | * sco5-core.c (core_sco5_vec): Likewise. | |
57 | * som.c (hppa_som_vec): Likewise. | |
58 | * srec.c (srec_vec): Likewise. | |
59 | (symbolsrec_vec): Likewise. | |
60 | * tekhex.c (tekhex_vec): Likewise. | |
61 | * trad-core.c (core_trad_vec): Likewise. | |
62 | * verilog.c (verilog_vec): Likewise. | |
63 | * vms-alpha.c (alpha_vms_vec): Likewise. | |
64 | * vms-lib.c (alpha_vms_lib_txt_vec): Likewise. | |
65 | * wasm-module.c (wasm_vec): Likewise. | |
66 | * xsym.c (sym_vec): Likewise. | |
67 | * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED | |
68 | isn't set. | |
69 | (elf_map_symbols): Don't include ignored section symbols. | |
70 | * elfcode.h (elf_slurp_symbol_table): Also set | |
71 | BSF_SECTION_SYM_USED on STT_SECTION symbols. | |
72 | * elflink.c (bfd_elf_final_link): Generated section symbols only | |
73 | when emitting relocations or reqired. | |
74 | * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New. | |
75 | * syms.c (BSF_SECTION_SYM_USED): New. | |
76 | * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New. | |
77 | (bfd_target): Add keep_unused_section_symbols. | |
78 | (bfd_keep_unused_section_symbols): New. | |
79 | * bfd-in2.h: Regenerated. | |
80 | ||
17d60030 NC |
81 | 2021-01-07 Nick Clifton <nickc@redhat.com> |
82 | ||
83 | PR 25713 | |
84 | * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to | |
85 | absolute paths and check to see if they are longer than MAX_PATH. | |
86 | ||
aa881ecd PT |
87 | 2021-01-07 Philipp Tomsich <prt@gnu.org> |
88 | ||
89 | * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause. | |
90 | ||
2652cfad CXW |
91 | 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com> |
92 | Jim Wilson <jimw@sifive.com> | |
93 | Andrew Waterman <andrew@sifive.com> | |
94 | Maxim Blinov <maxim.blinov@embecosm.com> | |
95 | Kito Cheng <kito.cheng@sifive.com> | |
96 | Nelson Chu <nelson.chu@sifive.com> | |
97 | ||
98 | * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc. | |
99 | ||
d4e57b87 L |
100 | 2021-01-06 H.J. Lu <hongjiu.lu@intel.com> |
101 | ||
102 | * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect. | |
103 | (bfinfdpic_check_relocs): Likewise. | |
104 | ||
599c86c4 AM |
105 | 2021-01-06 Alan Modra <amodra@gmail.com> |
106 | ||
107 | * elf32-score.c (s3_bfd_score_info_to_howto): Report an error | |
108 | on unknown r_type. | |
109 | * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise. | |
110 | ||
3677b729 AM |
111 | 2021-01-06 Alan Modra <amodra@gmail.com> |
112 | ||
113 | * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec. | |
114 | (sparc64-*-solaris2*): Add sparc_elf64_vec and | |
115 | sparc_elf32_vec. | |
116 | ||
fbc09e7a MC |
117 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
118 | ||
119 | * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and | |
120 | riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec. | |
121 | * configure.ac: Handle riscv_elf[32|64]_be_vec. | |
122 | * configure: Regenerate. | |
123 | * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for | |
124 | riscv_is_insn_reloc. | |
125 | (riscv_get_insn): RISC-V instructions are always little endian, but | |
126 | bfd_get may be used for big-endian, so add new riscv_get_insn to handle | |
127 | the insturctions. | |
128 | (riscv_put_insn): Likewsie. | |
129 | (riscv_is_insn_reloc): Check if we are relocaing an instruction. | |
130 | (perform_relocation): Call riscv_is_insn_reloc to decide if we should | |
131 | use riscv_[get|put]_insn or bfd_[get|put]. | |
132 | (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32 | |
133 | or bfd_[get|put]l16 for code. | |
134 | (riscv_elf_relocate_section): Likewise. | |
135 | (riscv_elf_finish_dynamic_symbol): Likewise. | |
136 | (riscv_elf_finish_dynamic_sections): Likewise. | |
137 | (_bfd_riscv_relax_call): Likewise. | |
138 | (_bfd_riscv_relax_lui): Likewise. | |
139 | (_bfd_riscv_relax_align): Likewise. | |
140 | (_bfd_riscv_relax_pc): Likewise. | |
141 | (riscv_elf_object_p): Handled for big endian. | |
142 | (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined. | |
143 | * targets.c: Add riscv_elf[32|64]_be_vec. | |
144 | (_bfd_target_vector): Likewise. | |
145 | ||
c8bad65e AM |
146 | 2021-01-05 Alan Modra <amodra@gmail.com> |
147 | ||
148 | * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export | |
149 | for relocatable executable. | |
150 | ||
de6a7ee4 AM |
151 | 2021-01-05 Alan Modra <amodra@gmail.com> |
152 | ||
153 | * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check. | |
154 | ||
18b98722 NC |
155 | 2021-01-05 Nelson Chu <nelson.chu@sifive.com> |
156 | ||
157 | * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde, | |
158 | make sure gp symbol is output as a dynamic symbol. | |
159 | ||
cd6d537c L |
160 | 2021-01-04 H.J. Lu <hongjiu.lu@intel.com> |
161 | ||
162 | PR ld/26256 | |
163 | * elflink.c (compare_link_order): Place unordered sections before | |
164 | ordered sections. | |
165 | (elf_fixup_link_order): Add a link info argument. Allow mixed | |
166 | ordered and unordered input sections for non-relocatable link. | |
167 | Sort the consecutive bfd_indirect_link_order sections with the | |
168 | same pattern. Change the offsets of the bfd_indirect_link_order | |
169 | sections only. | |
170 | (bfd_elf_final_link): Pass info to elf_fixup_link_order. | |
171 | * section.c (bfd_section): Add pattern. | |
172 | (BFD_FAKE_SECTION): Initialize pattern to NULL. | |
173 | * bfd-in2.h: Regenerated. | |
174 | ||
dbb078f6 AF |
175 | 2021-01-04 Alexander Fedotov <alfedotov@gmail.com> |
176 | ||
177 | * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value | |
178 | of private flags with 0x. | |
179 | * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise. | |
180 | ||
5b4293ba AM |
181 | 2021-01-04 Alan Modra <amodra@gmail.com> |
182 | ||
183 | PR 26822 | |
184 | * elflink.c (elf_link_input_bfd): Use the file base name in | |
185 | linker generated STT_FILE symbols. | |
186 | ||
4c0e540e NC |
187 | 2021-01-04 Nelson Chu <nelson.chu@sifive.com> |
188 | ||
189 | * elfxx-riscv.c (riscv_compare_subsets): Removed static. | |
190 | * elfxx-riscv.h: Add declaration. | |
191 | * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use | |
192 | riscv_compare_subsets to check the orders. | |
193 | (riscv_skip_prefix): Removed. | |
194 | (riscv_prefix_cmp): Removed. | |
195 | ||
e9cf3691 AM |
196 | 2021-01-04 Alan Modra <amodra@gmail.com> |
197 | ||
198 | PR 26741 | |
199 | * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after | |
200 | calculating subset version length. | |
201 | ||
f9a6a8f0 AM |
202 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
203 | ||
204 | * xcofflink.c: Correct spelling in comments. | |
205 | ||
250d07de AM |
206 | 2021-01-01 Alan Modra <amodra@gmail.com> |
207 | ||
208 | Update year range in copyright notice of all files. | |
209 | ||
c2795844 | 210 | For older changes see ChangeLog-2020 |
3499769a | 211 | \f |
c2795844 | 212 | Copyright (C) 2021 Free Software Foundation, Inc. |
3499769a AM |
213 | |
214 | Copying and distribution of this file, with or without modification, | |
215 | are permitted in any medium without royalty provided the copyright | |
216 | notice and this notice are preserved. | |
217 | ||
218 | Local Variables: | |
219 | mode: change-log | |
220 | left-margin: 8 | |
221 | fill-column: 74 | |
222 | version-control: never | |
223 | End: |