Remove ia64 from obsolete list
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2021-02-11 Alan Modra <amodra@gmail.com>
2
3 * config.bfd: Remove ia64 from obsolete list.
4
5 2021-02-11 Alan Modra <amodra@gmail.com>
6
7 PR ld/22269
8 * elfnn-ia64.c: Revert 2017-10-14 git commit db41f6eb5234.
9
10 2021-02-11 Alan Modra <amodra@gmail.com>
11
12 PR 27294
13 * elf32-avr.c (avr_elf32_load_records_from_section): Use
14 bfd_malloc_and_get_section. Use bfd_byte* vars and remove then
15 unnecessary casts.
16
17 2021-02-11 Alan Modra <amodra@gmail.com>
18
19 PR 27291
20 * section.c (bfd_get_section_contents): Avoid possible overflow
21 when range checking offset and count.
22 (bfd_set_section_contents): Likewise.
23
24 2021-02-03 Nick Alcock <nick.alcock@oracle.com>
25
26 * configure.ac (SHARED_LIBADD): Remove explicit -lintl population in
27 favour of LIBINTL.
28 * configure: Regenerated.
29
30 2021-02-09 Alan Modra <amodra@gmail.com>
31
32 * config.bfd (arm*-*-symbianelf*): Move from obsolete to removed.
33 * configure.ac: Delete symbian entries.
34 * elf-bfd.h (enum elf_target_os): Delete is_symbian.
35 * elf32-arm.c: Remove symbian support. Formatting.
36 * targets.c: Delete symbian entries.
37 * configure: Regenerate.
38
39 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
40
41 PR ld/19609
42 * elf64-x86-64.c (elf_x86_64_relocate_section): Provide more
43 info when failed to convert GOTPCREL relocation.
44
45 2021-02-04 Nelson Chu <nelson.chu@sifive.com>
46
47 * elfxx-riscv.c (riscv_parse_prefixed_ext): Removed zb*.
48
49 2021-02-04 Alan Modra <amodra@gmail.com>
50
51 PR 27311
52 * elflink.c (elf_link_add_object_symbols): Don't pull in as-needed
53 libraries for IR references on pass over libraries after LTO
54 recompilation.
55
56 2021-02-03 Alan Modra <amodra@gmail.com>
57
58 PR 27311
59 * elflink.c (_bfd_elf_add_default_symbol): Revert last two changes.
60 (elf_link_add_object_symbols): Here too. Don't pull in as-needed
61 libraries when H is an indirect symbol after calling
62 _bfd_elf_add_default_symbol.
63
64 2021-02-03 Alan Modra <amodra@gmail.com>
65
66 PR 27311
67 * elflink.c (_bfd_elf_add_default_symbol): Clear override when
68 undecorated symbol will have a different version.
69
70 2021-02-02 Alan Modra <amodra@gmail.com>
71
72 PR 27311
73 * elflink.c (_bfd_elf_add_default_symbol): Add override parameter.
74 Use when handling default versioned symbol. Rename existing
75 override variable to nondef_override and use for non-default
76 versioned symbol.
77 (elf_link_add_object_symbols): Adjust call to suit. Don't
78 pull in as-needed libraries when override is set.
79
80 2021-02-01 Emery Hemingway <ehmry@posteo.net>
81
82 * config.bfd: Add *-*-genode* as a target for AArch64 and x86.
83
84 2021-02-01 Egor Vishnyakov <lenvampir@yandex.ru>
85
86 PR 27254
87 * elf32-rl78.c (rl78_elf_relocate_section): Fix calculation of
88 offset for the R_RL78_RH_SADDR relocation.
89
90 2021-01-29 Alan Modra <amodra@gmail.com>
91
92 PR 27271
93 * elflink.c (bfd_elf_link_record_dynamic_symbol): Don't segfault
94 on symbols defined in absolute or other special sections.
95
96 2021-01-28 Alan Modra <amodra@gmail.com>
97
98 PR 27259
99 * elflink.c (_bfd_elf_gc_mark_extra_sections): Use linker_mark to
100 prevent endless looping of linked-to sections.
101
102 2020-12-17 Mihails Strasuns <mihails.strasuns@intel.com>
103
104 * bfd-elf.h (elfcore_write_file_note): New function.
105 * elf.c (elfcore_write_file_note): New function.
106
107 2021-01-26 Alan Modra <amodra@gmail.com>
108
109 * elf32-ft32.c (ft32_reloc_type_lookup): Don't miss ft32_reloc_map[0].
110
111 2021-01-24 H.J. Lu <hongjiu.lu@intel.com>
112
113 PR binutils/27231
114 * dwarf2.c (read_rnglists): Ignore empty range when parsing line
115 number tables.
116
117 2021-01-23 H.J. Lu <hongjiu.lu@intel.com>
118
119 PR binutils/27231
120 * dwarf2.c (read_rnglists): Advance rngs_ptr after
121 _bfd_safe_read_leb128 when parsing DW_RLE_offset_pair.
122
123 2021-01-20 Alan Modra <amodra@gmail.com>
124
125 * elf32-ppc.c: Delete outdated comment.
126 (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define.
127 * elf64-ppc.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): Define.
128
129 2021-01-20 Alan Modra <amodra@gmail.com>
130
131 * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Don't assume
132 section symbols are present.
133
134 2021-01-19 Alan Modra <amodra@gmail.com>
135
136 * elf64-ppc.c (elf_hash_entry): New inline function. Use
137 throughout to replace casts.
138 (branch_reloc_hash_match): Remove const from params.
139 (use_local_plt): New function.
140 (allocate_dynrelocs, ppc_build_one_stub, ppc_size_one_stub),
141 (build_global_entry_stubs_and_plt, ppc64_elf_relocate_section):
142 Use use_local_plt.
143 * elf32-ppc.c (use_local_plt): New function.
144 (allocate_dynrelocs, ppc_elf_relocate_section),
145 (write_global_sym_plt): Use use_local_plt.
146
147 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
148
149 PR ld/27193
150 * elflink.c (elf_create_symbuf): Also ignore section symbols.
151
152 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
153
154 PR ld/23169
155 * elfxx-x86.c (_bfd_x86_elf_link_fixup_ifunc_symbol): Don't
156 check pointer_equality_needed.
157
158 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
159
160 * elf-linker-x86.h (elf_linker_x86_params): Add
161 report_relative_reloc.
162 * elf32-i386.c (elf_i386_relocate_section): Call
163 _bfd_x86_elf_link_report_relative_reloc to report relative
164 relocations for -z report-relative-reloc.
165 (elf_i386_finish_dynamic_symbol): Likewse.
166 * elf64-x86-64.c (elf_x86_64_relocate_section): Likewse.
167 (elf_x86_64_finish_dynamic_symbol): Likewse.
168 * elfxx-x86.c (_bfd_x86_elf_link_report_relative_reloc): New
169 function.
170 * elfxx-x86.h (_bfd_x86_elf_link_report_relative_reloc): New
171 prototype.
172
173 2021-01-16 Alan Modra <amodra@gmail.com>
174
175 * compress.c (decompress_contents): Tidy inflateEnd result test.
176
177 2021-01-16 Alan Modra <amodra@gmail.com>
178
179 PR 26002
180 * elflink.c (elf_link_output_extsym): Use version 1 in
181 .gnu.version for undefined unversioned symbols.
182
183 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
184
185 * elfnn-riscv.c (riscv_relax_delete_bytes): Fixed the indent that
186 caused the by previous commit accidentally.
187
188 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
189
190 * elfnn-riscv.c: Indent, labels and GNU coding standards tidy,
191 also aligned the code.
192
193 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
194
195 * elfnn-riscv.c (riscv_merge_attributes): Fix typos of messages.
196
197 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
198
199 * elfnn-riscv.c: Comments tidy and improvement.
200 * elfxx-riscv.c: Likewise.
201 * elfxx-riscv.h: Likewise.
202
203 2021-01-14 H.J. Lu <hongjiu.lu@intel.com>
204
205 PR ld/26688
206 * elf32-bfin.c (bfinfdpic_relocate_section): Skip non SEC_ALLOC
207 section for R_BFIN_FUNCDESC.
208
209 2021-01-14 Nick Clifton <nickc@redhat.com>
210
211 * elf.c (elfcore_grok_win32pstatus): Check for a note type of 0.
212
213 2021-01-13 Alan Modra <amodra@gmail.com>
214
215 * Makefile.in: Regenerate.
216 * doc/Makefile.in: Regenerate.
217
218 2021-01-13 Alan Modra <amodra@gmail.com>
219
220 PR 27160
221 * section.c (struct bfd_section): Remove pattern field.
222 (BFD_FAKE_SECTION): Adjust to suit.
223 * bfd-in2.h: Regenerate.
224 * elflink.c (compare_link_order, elf_fixup_link_order): Delete.
225 (bfd_elf_final_link): Don't call elf_fixup_link_order.
226
227 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
228
229 PR binutils/26792
230 * configure.ac: Use GNU_MAKE_JOBSERVER.
231 * aclocal.m4: Regenerated.
232 * configure: Likewise.
233
234 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
235
236 PR ld/27171
237 * reloc.c (bfd_perform_relocation): Adjust R_AMD64_DIR64 and
238 R_AMD64_DIR32 relocations for PE/x86-64 inputs.
239
240 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
241
242 PR ld/27173
243 * configure: Regenerated.
244
245 2021-01-11 Nick Clifton <nickc@redhat.com>
246
247 * po/fr.po: Updated French translation.
248 * po/pt.po: Updated Portuguese translation.
249 * po/sr.po: Updated Serbian translation.
250 * po/uk.po: Updated Ukranian translation.
251
252 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
253
254 * configure: Regenerated.
255
256 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
257
258 PR ld/27166
259 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Handle
260 -z lam-u48 and -z lam-u57.
261
262 2021-01-09 Nick Clifton <nickc@redhat.com>
263
264 * version.m4: Change to 2.36.50.
265 * configure: Regenerate.
266 * po/bfd.pot: Regenerate.
267
268 2021-01-09 Nick Clifton <nickc@redhat.com>
269
270 * 2.36 release branch crated.
271
272 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
273
274 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Also set
275 LAM_U57 when setting LAM_U48.
276
277 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
278
279 PR ld/26256
280 PR ld/27160
281 * elflink.c (elf_fixup_link_order): Verify that fixing up
282 SHF_LINK_ORDER doesn't increase the output section size.
283
284 2021-01-09 Alan Modra <amodra@gmail.com>
285
286 * configure: Regenerate.
287
288 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
289
290 * configure: Regenerate.
291
292 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
293
294 PR 27109
295 * aix386-core.c (core_aix386_vec): Initialize
296 keep_unused_section_symbol to TARGET_KEEP_UNUSED_SECTION_SYMBOLS.
297 * aout-target.h (MY (vec)): Likewise.
298 * binary.c (binary_vec): Likewise.
299 * cisco-core.c (core_cisco_be_vec): Likewise.
300 (core_cisco_le_vec): Likewise.
301 * coff-alpha.c (alpha_ecoff_le_vec): Likewise.
302 * coff-i386.c (TARGET_SYM): Likewise.
303 (TARGET_SYM_BIG): Likewise.
304 * coff-ia64.c (TARGET_SYM): Likewise.
305 * coff-mips.c (mips_ecoff_le_vec): Likewise.
306 (mips_ecoff_be_vec): Likewise.
307 (mips_ecoff_bele_vec): Likewise.
308 * coff-rs6000.c (rs6000_xcoff_vec): Likewise.
309 (powerpc_xcoff_vec): Likewise.
310 * coff-sh.c (sh_coff_small_vec): Likewise.
311 (sh_coff_small_le_vec): Likewise.
312 * coff-tic30.c (tic30_coff_vec): Likewise.
313 * coff-tic54x.c (tic54x_coff0_vec): Likewise.
314 (tic54x_coff0_beh_vec): Likewise.
315 (tic54x_coff1_vec): Likewise.
316 (tic54x_coff1_beh_vec): Likewise.
317 (tic54x_coff2_vec): Likewise.
318 (tic54x_coff2_beh_vec): Likewise.
319 * coff-x86_64.c (TARGET_SYM): Likewise.
320 (TARGET_SYM_BIG): Likewise.
321 * coff64-rs6000.c (rs6000_xcoff64_vec): Likewise.
322 (rs6000_xcoff64_aix_vec): Likewise.
323 * coffcode.h (CREATE_BIG_COFF_TARGET_VEC): Likewise.
324 (CREATE_BIGHDR_COFF_TARGET_VEC): Likewise.
325 (CREATE_LITTLE_COFF_TARGET_VEC): Likewise.
326 * elfxx-target.h (TARGET_BIG_SYM): Likewise.
327 (TARGET_LITTLE_SYM): Likewise.
328 * hppabsd-core.c (core_hppabsd_vec): Likewise.
329 * hpux-core.c (core_hpux_vec): Likewise.
330 * i386msdos.c (i386_msdos_vec): Likewise.
331 * ihex.c (ihex_vec): Likewise.
332 * irix-core.c (core_irix_vec): Likewise.
333 * mach-o-target.c (TARGET_NAME): Likewise.
334 * mmo.c (mmix_mmo_vec): Likewise.
335 * netbsd-core.c (core_netbsd_vec): Likewise.
336 * osf-core.c (core_osf_vec): Likewise.
337 * pdp11.c (MY (vec)): Likewise.
338 * pef.c (pef_vec): Likewise.
339 (pef_xlib_vec): Likewise.
340 * plugin.c (plugin_vec): Likewise.
341 * ppcboot.c (powerpc_boot_vec): Likewise.
342 * ptrace-core.c (core_ptrace_vec): Likewise.
343 * sco5-core.c (core_sco5_vec): Likewise.
344 * som.c (hppa_som_vec): Likewise.
345 * srec.c (srec_vec): Likewise.
346 (symbolsrec_vec): Likewise.
347 * tekhex.c (tekhex_vec): Likewise.
348 * trad-core.c (core_trad_vec): Likewise.
349 * verilog.c (verilog_vec): Likewise.
350 * vms-alpha.c (alpha_vms_vec): Likewise.
351 * vms-lib.c (alpha_vms_lib_txt_vec): Likewise.
352 * wasm-module.c (wasm_vec): Likewise.
353 * xsym.c (sym_vec): Likewise.
354 * elf.c (ignore_section_sym): Return TRUE if BSF_SECTION_SYM_USED
355 isn't set.
356 (elf_map_symbols): Don't include ignored section symbols.
357 * elfcode.h (elf_slurp_symbol_table): Also set
358 BSF_SECTION_SYM_USED on STT_SECTION symbols.
359 * elflink.c (bfd_elf_final_link): Generated section symbols only
360 when emitting relocations or reqired.
361 * elfxx-x86.h (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
362 * syms.c (BSF_SECTION_SYM_USED): New.
363 * targets.c (TARGET_KEEP_UNUSED_SECTION_SYMBOLS): New.
364 (bfd_target): Add keep_unused_section_symbols.
365 (bfd_keep_unused_section_symbols): New.
366 * bfd-in2.h: Regenerated.
367
368 2021-01-07 Nick Clifton <nickc@redhat.com>
369
370 PR 25713
371 * bfdio.c (_bfd_real_fopen): For Win32 convert relative paths to
372 absolute paths and check to see if they are longer than MAX_PATH.
373
374 2021-01-07 Philipp Tomsich <prt@gnu.org>
375
376 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zihintpause.
377
378 2021-01-07 Claire Xenia Wolf <claire@symbioticeda.com>
379 Jim Wilson <jimw@sifive.com>
380 Andrew Waterman <andrew@sifive.com>
381 Maxim Blinov <maxim.blinov@embecosm.com>
382 Kito Cheng <kito.cheng@sifive.com>
383 Nelson Chu <nelson.chu@sifive.com>
384
385 * elfxx-riscv.c (riscv_std_z_ext_strtab): Added zba, zbb and zbc.
386
387 2021-01-06 H.J. Lu <hongjiu.lu@intel.com>
388
389 * elf32-bfin.c (bfin_check_relocs): Check bfd_link_hash_indirect.
390 (bfinfdpic_check_relocs): Likewise.
391
392 2021-01-06 Alan Modra <amodra@gmail.com>
393
394 * elf32-score.c (s3_bfd_score_info_to_howto): Report an error
395 on unknown r_type.
396 * elf32-score7.c (s7_bfd_score_info_to_howto): Likewise.
397
398 2021-01-06 Alan Modra <amodra@gmail.com>
399
400 * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
401 (sparc64-*-solaris2*): Add sparc_elf64_vec and
402 sparc_elf32_vec.
403
404 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
405
406 * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and
407 riscvbe*-*-*. Also added riscv_elf[32|64]_be_vec.
408 * configure.ac: Handle riscv_elf[32|64]_be_vec.
409 * configure: Regenerate.
410 * elfnn-riscv.c: Include <limits.h> and define CHAR_BIT for
411 riscv_is_insn_reloc.
412 (riscv_get_insn): RISC-V instructions are always little endian, but
413 bfd_get may be used for big-endian, so add new riscv_get_insn to handle
414 the insturctions.
415 (riscv_put_insn): Likewsie.
416 (riscv_is_insn_reloc): Check if we are relocaing an instruction.
417 (perform_relocation): Call riscv_is_insn_reloc to decide if we should
418 use riscv_[get|put]_insn or bfd_[get|put].
419 (riscv_zero_pcrel_hi_reloc): Use riscv_[get|put]_insn, bfd_[get|put]l32
420 or bfd_[get|put]l16 for code.
421 (riscv_elf_relocate_section): Likewise.
422 (riscv_elf_finish_dynamic_symbol): Likewise.
423 (riscv_elf_finish_dynamic_sections): Likewise.
424 (_bfd_riscv_relax_call): Likewise.
425 (_bfd_riscv_relax_lui): Likewise.
426 (_bfd_riscv_relax_align): Likewise.
427 (_bfd_riscv_relax_pc): Likewise.
428 (riscv_elf_object_p): Handled for big endian.
429 (TARGET_BIG_SYM, TARGET_BIG_NAME): Defined.
430 * targets.c: Add riscv_elf[32|64]_be_vec.
431 (_bfd_target_vector): Likewise.
432
433 2021-01-05 Alan Modra <amodra@gmail.com>
434
435 * elflink.c (bfd_elf_link_record_dynamic_symbol): Handle no_export
436 for relocatable executable.
437
438 2021-01-05 Alan Modra <amodra@gmail.com>
439
440 * vms-alpha.c (_bfd_vms_slurp_egsd): Read flags after size check.
441
442 2021-01-05 Nelson Chu <nelson.chu@sifive.com>
443
444 * elfnn-riscv.c (allocate_dynrelocs): When we are generating pde,
445 make sure gp symbol is output as a dynamic symbol.
446
447 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
448
449 PR ld/26256
450 * elflink.c (compare_link_order): Place unordered sections before
451 ordered sections.
452 (elf_fixup_link_order): Add a link info argument. Allow mixed
453 ordered and unordered input sections for non-relocatable link.
454 Sort the consecutive bfd_indirect_link_order sections with the
455 same pattern. Change the offsets of the bfd_indirect_link_order
456 sections only.
457 (bfd_elf_final_link): Pass info to elf_fixup_link_order.
458 * section.c (bfd_section): Add pattern.
459 (BFD_FAKE_SECTION): Initialize pattern to NULL.
460 * bfd-in2.h: Regenerated.
461
462 2021-01-04 Alexander Fedotov <alfedotov@gmail.com>
463
464 * elf32-arm.c (elf32_arm_print_private_bfd_data): Prefix hex value
465 of private flags with 0x.
466 * elfnn-aarch64.c (elfNN_aarch64_print_private_bfd_data): Likewise.
467
468 2021-01-04 Alan Modra <amodra@gmail.com>
469
470 PR 26822
471 * elflink.c (elf_link_input_bfd): Use the file base name in
472 linker generated STT_FILE symbols.
473
474 2021-01-04 Nelson Chu <nelson.chu@sifive.com>
475
476 * elfxx-riscv.c (riscv_compare_subsets): Removed static.
477 * elfxx-riscv.h: Add declaration.
478 * elfnn-riscv.c (riscv_merge_multi_letter_ext): Use
479 riscv_compare_subsets to check the orders.
480 (riscv_skip_prefix): Removed.
481 (riscv_prefix_cmp): Removed.
482
483 2021-01-04 Alan Modra <amodra@gmail.com>
484
485 PR 26741
486 * elfxx-riscv.c (riscv_parse_prefixed_ext): Free subset after
487 calculating subset version length.
488
489 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
490
491 * xcofflink.c: Correct spelling in comments.
492
493 2021-01-01 Alan Modra <amodra@gmail.com>
494
495 Update year range in copyright notice of all files.
496
497 For older changes see ChangeLog-2020
498 \f
499 Copyright (C) 2021 Free Software Foundation, Inc.
500
501 Copying and distribution of this file, with or without modification,
502 are permitted in any medium without royalty provided the copyright
503 notice and this notice are preserved.
504
505 Local Variables:
506 mode: change-log
507 left-margin: 8
508 fill-column: 74
509 version-control: never
510 End:
This page took 0.038659 seconds and 5 git commands to generate.