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