Remove some variables in favor of using gdb::optional
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
97c0a079
AM
12019-08-02 Alan Modra <amodra@gmail.com>
2
3 PR 24871
4 * readelf.c (ABSADDR): Delete.
5 (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section.
6
cc5277b1
ML
72019-07-29 Martin Liska <mliska@suse.cz>
8
9 PR 24768
10 * nm.c (filter_symbols): Set report_plugin_err if
11 error is reported.
12 (display_rel_file): Report error for a missing LTO plugin.
13
8e2e3c6c
AM
142019-07-26 Alan Modra <amodra@gmail.com>
15
16 PR 24798
17 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit
18 systems by casting ncols and nslots expressions to size_t. Display
19 number of columns and slots before giving up due to buffer overflow.
20 Use %u to display unsigned ints. Perform more pointer wrap tests.
21
d079b9c0 222019-07-25 Tom Tromey <tromey@adacore.com>
48467cb9
TV
23
24 PR 24809
25 * dwarf.c (display_debug_names): Display the contents of the
26 augmentation string, if it is printable.
27
2e6be59c
NC
282019-07-25 Nick Clifton <nickc@redhat.com>
29
30 PR 24837
31 * readelf.c (process_mips_specific): Check for buffer overflow
32 before reading reginfo information.
33
2f86d559
NC
342019-07-24 Nick Clifton <nickc@redhat.com>
35
36 PR 13256
37 * ar.c (decode_options): Restart option scanning if no operation
38 is detected and argument remain to be scanned.
39
2e8136f9
NC
402019-07-23 Nick Clifton <nickc@redhat.com>
41
42 PR 24818
43 * objdump.c (is_relocateable): Delete.
44 (load_specific_debug_section): Test the abfd for relocations
45 directly, rather than relying upon is_relocateable.
46 (dump_dwarf): Delete initlialization of is_relocateable.
47
df3a023b
AM
482019-07-23 Alan Modra <amodra@gmail.com>
49
50 * readelf.c (get_parisc_segment_type): Split off hpux entries..
51 (get_ia64_segment_type): ..and these..
52 (get_hpux_segment_type): ..to here.
53 (get_segment_type): Condition GNU_MBIND on osabi. Use
54 get_hpux_segment_type.
55 (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE.
56 (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE.
57
acea835f
AM
582019-07-23 Alan Modra <amodra@gmail.com>
59
60 * testsuite/binutils-all/objcopy.exp (elf64): Correct object
61 file used to set this variable.
62
1dd1bc4d
OM
632019-07-23 Omar Majid <omajid@redhat.com>
64
65 * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects
66 (GENTESTDLLSPROG): Define.
67 (TEST_PROGS): Add GENTESTDLLSPROG.
68 * Makefile.in: Regenerate.
69 * testsuite/binutils-all/objdump.exp
70 (test_objdump_dotnet_assemblies): New proc.
71 Run the new proc.
72 * testsuite/gentestdlls.c: New source file.
73
781152ec
NC
742019-06-28 Nick Clifton <nickc@redhat.com>
75
76 PR 24707
77 * objdump.c (slurp_symtab): Fail with a helpful error message if
7e56c51c
NC
78 the symbol table is too large. Skip this check for MMO format
79 files.
781152ec 80
a68aa5d3
NC
812019-06-26 Nick Clifton <nickc@redhat.com>
82
83 PR 24703
84 * bucomm.c (bfd_nonfatal): If no bfd error code has been set then
85 indicate this in the output.
86 (bfd_nonfatal_message): Likewise.
87
3e50a591
JB
882019-06-25 Jan Beulich <jbeulich@suse.com>
89
90 * readelf.c (dump_ctf_indent_lines): Rename local variable
91 "spaces" to "blanks".
92
63160fc9
JB
932019-06-25 Jan Beulich <jbeulich@suse.com>
94
95 * objdump.c (dump_ctf_indent_lines): Rename local variable
96 "spaces" to "blanks".
97
3a3a077c
AM
982019-06-14 Alan Modra <amodra@gmail.com>
99
100 * Makefile.in: Regenerate.
101 * aclocal.m4: Regenerate.
102 * doc/Makefile.in: Regenerate.
103
9abca702
CZ
1042019-06-12 Christos Zoulas <christos@zoulas.com>
105
106 PR 24663
107 * readelf.c (process_netbsd_elf_note): Add support for
108 NT_NETBSD_PAX.
109 (process_note): Add support for PaX notes.
110
c0d38b0e
CZ
1112019-06-12 Christos Zoulas <christos@zoulas.com>
112
113 PR 24665
114 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
115 core notes.
116
540e6170
CZ
1172019-06-12 Christos Zoulas <christos@zoulas.com>
118
119 PR 24664
120 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
121 auxv notes.
122
2057d69d
CZ
1232019-06-11 Christos Zoulas <christos@zoulas.com>
124
125 PR 24662
126 * readelf.c (get_alpha_symbol_other): New function.
127 (get_symbol_other): Use for Alpha symbols.
128 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
129
c93dbb25
CZ
1302019-06-11 Christos Zoulas <christos@zoulas.com>
131
132 PR 24661
133 * readelf.c (decode_arm_unwind): Ensure that the local variable
134 'addr' is always initialised.
135
c6a636ce
NC
1362019-06-10 Christos Zoulas <christos@zoulas.com>
137
138 PR 24651
139 * strings.c (print_strings): Use %u to print unsigned values in
140 decimal.
141
2e02f296
CZ
1422019-06-10 Christos Zoulas <christos@zoulas.com>
143
144 PR 24649
145 * arsup.c (ar_open): Use asprintf in place of xmalloc and
146 sprintf.
147
79b377b3
NC
1482019-06-03 Nick Clifton <nickc@redhat.com>
149
150 Revert:
151 2019-05-29 Nick Clifton <nickc@redhat.com>
152
153 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
154 targets.
155 (HAVE_LIBCTF): Define if libctf support is available.
156 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
157 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
158 defined.
159 * readelf.c: Likewise.
160 * configure: Regenerate.
161 * Makefile.in: Regenerate.
162 * config.in: Regenerate.
163
a0486bac
JM
1642019-05-30 Nick Alcock <nick.alcock@oracle.com>
165
166 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
167 cts_offset.
168 * readelf.c (shdr_to_ctf_sect): Likewise.
169
ae9ac79e
NC
1702019-05-30 Nick Clifton <nickc@redhat.com>
171
172 PR 24627
173 * readelf.c (process_version_sections): Add 0x prefix to address
174 display. Correct indentation.
175
6ff185b8
AM
1762019-05-30 Alan Modra <amodra@gmail.com>
177
178 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
179 s12z to targets not supporting this feature.
180
1336939d
AM
1812019-05-30 Alan Modra <amodra@gmail.com>
182
183 * testsuite/lib/binutils-common.exp (run_dump_test): Support
184 tcl procedures for xfail args.
185
e33f2313
NC
1862019-05-29 Nick Clifton <nickc@redhat.com>
187
188 * README-how-to-make-a-release: Add libctf to list of directories
189 that need updates in their ChangeLogs.
190
90bd5423
NC
1912019-05-29 Nick Clifton <nickc@redhat.com>
192
193 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
194 targets.
195 (HAVE_LIBCTF): Define if libctf support is available.
196 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
197 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
198 defined.
199 * readelf.c: Likewise.
200 * configure: Regenerate.
201 * Makefile.in: Regenerate.
202 * config.in: Regenerate.
203
88981b15
NA
2042019-05-28 Nick Alcock <nick.alcock@oracle.com>
205
206 * MAINTAINERS: Add myself as CTF maintainer.
207
7d9813f1
NA
2082019-05-28 Nick Alcock <nick.alcock@oracle.com>
209
210 * objdump.c (ctf-api.h): New include.
211 (dump_ctf_section_info): New variable.
212 (dump_ctf_section_name): Likewise.
213 (usage): Describe new options.
214 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
215 (main): Use them to add --ctf and --ctf-parent.
216 (read_section_stabs): Add new parameter, entsize_ptr.
217 (find_stabs_section): Adjust accordingly.
218 (make_ctfsect): New.
219 (dump_ctf_indent_lines): New.
220 (dump_ctf_archive_member): New.
221 (dump_ctf): New.
222 (dump_bfd): Call it. Free resources afterwards.
223 * readelf.c (ctf-api.h): New include.
224 (CTF_DUMP): New.
225 (static bfd_boolean do_ctf): Likewise.
226 (dump_ctf_parent_name): Likewise.
227 (dump_ctf_symtab_name): Likewise.
228 (dump_ctf_strtab_name): Likewise.
229 (OPTION_CTF_DUMP): Likewise.
230 (OPTION_CTF_PARENT): Likewise.
231 (OPTION_CTF_SYMBOLS): Likewise.
232 (OPTION_CTF_STRINGS): Likewise.
233 (options): Add them.
234 (usage): Likewise.
235 (parse_args): Handle the new options, requesting CTF_DUMP.
236 (process_section_contents): Handle CTF_DUMP.
237 (shdr_to_ctf_sect): New.
238 (dump_ctf_indent_lines): New.
239 (dump_section_as_ctf): New.
240 (main): Free resources.
241 * Makefile.am (LIBCTF): New variable.
242 (objdump_DEPENDENCIES): Use it.
243 (readelf_DEPENDENCIES): Likewise.
244 (objdump_LDADD): Likewise.
245 (readelf_LDADD): Likewise.
246 * aclocal.m4: Regenerated.
247 * Makefile.in: Likewise.
248
249 * doc/binutils.texi (objdump): Document the new options.
250 (readelf): Likewise.
251 * doc/ctf.options.texi: New.
252 * doc/Makefile.in: Regenerated.
253 * NEWS: Mention the new feature.
254
61dd8e19
AM
2552019-05-27 Alan Modra <amodra@gmail.com>
256
257 * readelf.c (process_section_groups): Continue processing groups
258 when sh_entsize exceeds group size.
259
2301ed1c
SN
2602019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
261
262 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
263 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
264 (get_symbol_other): Call get_aarch64_symbol_other.
265
dd7efa79
PB
2662019-05-24 Alan Modra <amodra@gmail.com>
267
268 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
269
27830e0d
JM
2702019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
271
272 * MAINTAINERS: Add myself as the maintainer for BPF.
273
aca4efc7
JM
2742019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
275
276 * readelf.c: Include elf/bpf.h.
277 (guess_is_rela): Hanle EM_BPF.
278 (dump_relocations): Likewise.
279 (is_32bit_abs_reloc): Likewise.
280 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
281 ELF targets.
282
fab7c86e
TC
2832019-05-21 Tamar Christina <tamar.christina@arm.com>
284
285 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
286 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
287 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
288
d8734380
FS
2892019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
290
291 PR 14798
292 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
293 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
294
999b073b
NC
2952019-05-20 Nick Clifton <nickc@redhat.com>
296
297 * po/ca.po: Updated Catalan translation.
298
514bbb0f
AV
2992019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
300
301 * NEWS: Mention Armv8.1-M Mainline and MVE.
302
a7ad558c
AV
3032019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
304
305 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
306 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
307
37d0d091
JH
3082019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
309
310 PR 19921
311 * objcopy.c: Add new option --verilog-data-width. Use it to set
312 the value of VerilogDataWidth.
313 * doc/binutils.texi: Document the new option.
314 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
315 * testsuite/binutils-all/verilog-1.hex: New file.
316 * testsuite/binutils-all/verilog-2.hex: New file.
317 * testsuite/binutils-all/verilog-4.hex: New file.
318 * testsuite/binutils-all/verilog-8.hex: New file.
319 * NEWS: Mention the new feature.
320
391bf891
AM
3212019-05-10 Alan Modra <amodra@gmail.com>
322
323 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
324 (test_objdump_content_limited): Add text arg, use in place of .text.
325 (bintest_signed.o): Call get_standard_section_names for name of
326 text section.
327
2379f9c4
FS
3282019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
329
330 * objdump.c (sign_extend_address): New function.
331 (dump_bfd): Sign-extend user-specified start/stop addresses
332 for targets that need it.
333 * testsuite/binutils-all/objdump.exp: Add tests for objdump
334 with start and stop addresses in higher address ranges.
335
2ecde2b6
MM
3362019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
337
338 * testsuite/binutils-all/objdump.exp: Correct executable
339 spelling.
340 * testsuite/binutils-all/compress.exp: Likewise.
341
25a02744
NC
3422019-05-01 Nick Clifton <nickc@redhat.com>
343
344 PR 24507
345 * nm.c: (print_format): New variable.
346 (value_format_32bit, value_format_64bit): Delete.
347 (set_print_radix): Remove code to alter value_format strings.
348 (set_output_format): Record chosen format in print_format.
349 (get_print_format): New function - constructs a printf formatting
350 string according to the requirements of size, radix, and output
351 format.
352 (print_value): Use get_print_format.
353 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
354 and "nm -t d".
355
8107ddce
AM
3562019-04-30 Alan Modra <amodra@gmail.com>
357
358 * wrstabs.c (stab_start_class_type): Add assert to work around
359 gcc9 warning. Tidy.
360
1b8dd643
NC
3612019-04-24 Nick Clifton <nickc@redhat.com>
362
363 * objcopy.c (strip_main): Do not enable note merging by default if
364 just stripping debug or dwo information.
365 * doc/binutils.texi (strip): Update documentation.
366
624a2451
NC
3672019-04-23 Nick Clifton <nickc@redhat.com>
368
369 * README-how-to-make-a-release: Add note to update the symbolic
370 link from "docs" to "docs-2.x" on the sourceware website.
371
a0fb9615
AM
3722019-04-16 Alan Modra <amodra@gmail.com>
373
374 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
375 * testsuite/binutils-all/copy-3.d: Likewise.
376
031254f2
AV
3772019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
378
379 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
380
462cac58
L
3812019-04-08 H.J. Lu <hongjiu.lu@intel.com>
382
383 * readelf.c (decode_x86_isa): Handle
384 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
385 * testsuite/binutils-all/i386/pr21231b.d: Updated.
386 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
387
82b53593
L
3882019-04-08 H.J. Lu <hongjiu.lu@intel.com>
389
390 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
391
05805feb
TC
3922019-03-26 Tamar Christina <tamar.christina@arm.com>
393
394 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
395 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
396 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
397 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
398 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
399 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
400 * testsuite/binutils-all/arm/in-order.d: Likewise.
401 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
402 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
403 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
404
5fb812fc
NC
4052019-03-26 Nick Clifton <nickc@redhat.com>
406
407 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
408 FRV and MEP.
409
e8fba7f6
AM
4102019-03-26 Alan Modra <amodra@gmail.com>
411
412 * objdump.c (dump_relocs_in_section): Warning fix.
413
796d6298
TC
4142019-03-25 Tamar Christina <tamar.christina@arm.com>
415
416 * testsuite/binutils-all/arm/in-order-all.d: New test.
417 * testsuite/binutils-all/arm/in-order.d: New test.
418 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
419 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
420 * testsuite/binutils-all/arm/out-of-order.T: New test.
421 * testsuite/binutils-all/arm/out-of-order.d: New test.
422 * testsuite/binutils-all/arm/out-of-order.s: New test.
423
424
60df3720
TC
4252019-03-25 Tamar Christina <tamar.christina@arm.com>
426
427 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
428 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
429 * testsuite/binutils-all/aarch64/out-of-order.d:
430
51457761
TC
4312019-03-25 Tamar Christina <tamar.christina@arm.com>
432
433 * testsuite/binutils-all/aarch64/in-order.d: New test.
434 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
435 well.
436
53b2f36b
TC
4372019-03-25 Tamar Christina <tamar.christina@arm.com>
438
439 * objdump.c (disassemble_bytes): Pass stop_offset.
440 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
441 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
442 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
443
63455780
NC
4442019-03-19 Nick Clifton <nickc@redhat.com>
445
446 PR 24360
447 * objdump.c (load_specific_debug_section): Check that the amount
448 of memory to be allocated matches the size of the section.
449
1dbade74
SD
4502019-03-13 Sudakshina Das <sudi.das@arm.com>
451
452 * readelf.c (get_aarch64_dynamic_type): Add case for
453 DT_AARCH64_PAC_PLT.
454 (dynamic_section_aarch64_val): Likewise.
455
37c18eed
SD
4562019-03-13 Sudakshina Das <sudi.das@arm.com>
457 Szabolcs Nagy <szabolcs.nagy@arm.com>
458
459 * readelf.c (get_aarch64_dynamic_type): New.
460 (get_dynamic_type): Use above for EM_AARCH64.
461 (dynamic_section_aarch64_val): New.
462 (process_dynamic_section): Use above for EM_AARCH64.
463
cd702818
SD
4642019-03-13 Sudakshina Das <sudi.das@arm.com>
465
466 * readelf.c (decode_aarch64_feature_1_and): New.
467 (print_gnu_property_note): Add case for AArch64 gnu notes.
468
7a6e0d89
AM
4692019-03-12 Alan Modra <amodra@gmail.com>
470
471 * objdump.c (load_specific_debug_section): Don't compare section
472 size against file size.
473 (dump_relocs_in_section): Don't compare reloc size against file size.
474 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
475
88c9190b
NC
4762019-03-05 Nick Clifton <nickc@redhat.com>
477
478 PR 24295
479 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
480
4933ff73
NC
4812019-03-05 Nick Clifton <nickc@redhat.com>
482
483 * po/sv.po: Updated Swedish translation.
484
093f70cc
MM
4852019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
486
487 PR 24287
488 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
489 of "lmap" with a "foreach" loop.
490
f5f20315
NC
4912019-03-04 Nick Clifton <nickc@redhat.com>
492
493 PR 24281
494 * objcopy.c (copy_archive): Do not copy thin archives.
495
52d6f3ee
MM
4962019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
497
498 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
499
39f0547e
NC
5002019-02-25 Nick Clifton <nickc@redhat.com>
501
502 * objdump.c (sym_ok): New function.
503 (find_symbol_for_address): Use new function.
504 (disassemble_section): Compare sections by name, not pointer.
505 (dump_dwarf): Move code to initialise byte_get pointer and iterate
506 over separate debug files from here to ...
507 (dump_bfd): ... here. Add parameter indicating that a separate
508 debug info file is being dumped. For main file, pull in the
509 symbol tables from all separate debug info files.
510 (display_object): Update call to dump_bfd.
511 * doc/binutils.texi: Document extened behaviour of the
512 --dwarf=follow-links option.
513 * NEWS: Mention this new feature.
514 * testsuite/binutils-all/objdump.WK2: Update expected output.
515 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
516 options and dump file parameters.
517 Add extra test.
518 * testsuite/binutils-all/objdump.WK3: New file.
519 * testsuite/binutils-all/readelf.exp: Change expected output for
520 readelf -wKis test.
521 * testsuite/binutils-all/readelf.wKis: New file.
522
24841daa
NC
5232019-02-22 Nick Clifton <nickc@redhat.com>
524
525 PR 23843
526 * dwarf.h (struct separate_info): New structure for containing
527 information on separate debug info files.
528 * dwarf.c (struct dwo_info): New structure for containing dwo
529 links.
530 (first_dwo_info): Chain of dwo_info structures.
531 (first_separate_file): Chain of separate_info structures.
532 (separate_debug_file, separate_debug_filename): Delete.
533 (fetch_alt_indirect_string): Scan all separate debug info files
534 for the requested string.
535 (add_dwo_info): New function.
536 (add_dwo_name): New function.
537 (add_dwo_dir): New function.
538 (add_dwo_id: New function.
539 (free_dwo_info): New function.
540 (read_and_display_attr_value): Store DWO data using the new
541 functions.
542 (load_debug_section_with_follow): If necessary, scan the list of
543 separate debug info files for the requested section.
544 (add_separate_debug_file): New function.
545 (load_separate_debug_info): Call add_separate_debug_file to store
546 the information on the newly loaded file.
547 (load_dwo_file): Likewise.
548 (load_separate_debif_file): Rename to load_separate_debug_files.
549 Change return type to boolean. If following links then attempt to
550 load all separate debug info files, not just the first one.
551 (free_debug_memory): Release memory in dwo_info and separate_info
552 chains.
553 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
554 * readelf.c (process_object): Likewise.
555 * doc/debug.options.texi: Update descriptions of links and
556 follow-links options.
557 * testsuite/binutils-all/objdump.WK2: Update expected output.
558 * testsuite/binutils-all/readelf.k2: Likewise.
559 * NEWS: Announce the new feature.
560
5cacf1c8
NC
5612019-02-21 Nick Clifton <nickc@redhat.com>
562
563 PR 24247
564 * unwind-ia64.c: Include sysdep.h.
565 (unw_decode_x1): Check current pointer against end pointer before
566 accessing memory.
567 (unw_decode_x2): Likewise.
568 (unw_decode_x3): Likewise.
569 (unw_decode_x4): Likewise.
570 (unw_decode_r2): Likewise.
571 (unw_decode_p2_p5): Likewise.
572 (unw_decode_p7_p10): Likewise.
573 (unw_decode): Likewise.
574
8d18bf79
NC
5752019-02-20 Nick Clifton <nickc@redhat.com>
576
3ca60c57
NC
577 PR 24246
578 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
579
171375c6
NC
580 PR 24244
581 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
582 prevent walking off the end of the buffer.
583 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
584 (unw_decode_x2): Likewise.
585 (unw_decode_x3): Likewise.
586 (unw_decode_x4): Likewise.
587 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
588 (unw_decode_r3): Likewise.
589 (unw_decode_p7_p10): Likewise.
590 (unw_decode_b2): Likewise.
591 (unw_decode_b3_x4): Likewise.
592
7fc0c668
NC
593 PR 24243
594 * readelf.c (process_mips_specific): Check for an options section
595 that is too small to even contain a single option.
8d18bf79 596
171375c6
NC
597 PR 24242
598 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
599
c22b42ce
AM
6002019-02-20 Alan Modra <amodra@gmail.com>
601
602 PR 24132
603 PR 24138
604 * readelf.c (get_data): Avoid possibility of overflow when
605 checking for a read that may extend past end of file.
606 (process_program_headers): Likewise.
607
7d272a55
AM
6082019-02-20 Alan Modra <amodra@gmail.com>
609
610 PR 24233
611 * objdump.c (dump_bfd_private_header): Print warning if
612 bfd_print_private_bfd_data returns false.
613
04d7fa21
NC
6142019-02-12 Nick Clifton <nickc@redhat.com>
615
616 PR 23440
617 * README-how-to-make-a-release: Use git clean to delete spurious
618 files from the local source repository.
619
46cbf38d
AB
6202019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
621
622 * size.c (berkeley_format): Delete.
623 (enum output_format): New enum.
624 (selected_output_format): New variable.
625 (usage): Update to mention GNU format.
626 (main): Update to extract options, and select format as needed.
627 Handle GNU format where needed.
628 (berkeley_sum): Renamed to...
629 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
630 (berkeley_format): Renamed to...
631 (berkeley_or_gnu_format): ...this, and updated to handle both
632 formats.
633 (print_sizes): Handle GNU format.
634 * doc/binutils.texi (size): Document new GNU format.
635 * testsuite/binutils-all/size.exp: Add test of extended
636 functionality.
637 * NEWS: Mention new functionality.
638
96fd92af
AB
6392019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
640
641 * doc/binutils.texi (size): Update example output for Berkeley
642 format output.
643
2012bf01
NC
6442019-02-07 Nick Clifton <nickc@redhat.com>
645
646 * README-how-to-make-a-release: Add a note about updating the
647 obsolete targets in the bfd/config.bfd file.
648
082cbd3b
NC
6492019-02-04 Nick Clifton <nickc@redhat.com>
650
651 * README-how-to-make-a-release: Add more notes on making a release.
652
18344509
NC
6532019-01-25 Nick Clifton <nickc@redhat.com>
654
655 PR 24131
656 * readelf.c (process_notes_at): Prevent an illegal memory access
657 when the note's namesize is zero.
658 (decode_tic6x_unwind_bytecode): Add code to handle the case where
659 no registers are specified in a frame pop instruction.
660
9ed1348c
NC
6612019-01-25 Nick Clifton <nickc@redhat.com>
662
663 * po/bg.po: Updated Bulgarian translation.
664
d9938630
NC
6652019-01-23 Nick Clifton <nickc@redhat.com>
666
667 * po/fr.po: Updated French translation.
668 * po/pt.po: Updated Portuguese translation.
669
375cd423
NC
6702019-01-21 Nick Clifton <nickc@redhat.com>
671
672 * po/uk.po: Updated Ukranian translation.
673
f48dfe41
NC
6742019-01-19 Nick Clifton <nickc@redhat.com>
675
676 * configure: Regenerate.
677 * binutils/po/binutils.pot.
678
679 * README-how-to-make-a-release: Update description on how to make
680 a branch.
681
f974f26c
NC
6822018-06-24 Nick Clifton <nickc@redhat.com>
683
684 2.32 branch created.
685
baae986a
NC
6862019-01-17 Nick Clifton <nickc@redhat.com>
687
688 * objdump.c (disassemble_section): When disassembling from a
689 symbol only stop at the next symbol if the original symbol was not
690 a function symbol. Otherwise continue disassembling until a new
691 function is reached.
692 * testsuite/binutils-all/objdump.exp: Add tests of extended
693 functionality.
694 * testsuite/binutils-all/disasm.s: New test source file.
695
2dc8dd17
JW
6962019-01-16 Kito Cheng <kito@andestech.com>
697 Nelson Chu <nelson@andestech.com>
698
699 * readelf.c (get_riscv_section_type_name): New function.
700 (get_section_type_name): Add handler for RISC-V.
701 (riscv_attr_tag_t): Declare.
702 (riscv_attr_tag): New.
703 (display_riscv_attribute): New function.
704 (process_attributes): Add handler for RISC-V.
705 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
706 section.
707
12add40e
NC
7082019-01-10 Nick Clifton <nickc@redhat.com>
709
710 PR 23963
711 * objdump.c (sanitize_string): New function. Removes control
712 characters from symbol names.
713 (dump_section_header): Use new function.
714 (objdump_print_symname): Likewise.
715 (objdump_print_addr_with_sym): Likewise.
716 (show_line): Likewise.
717 (disassemble_bytes): Likewise.
718 (disassemble_section): Likewise.
719 (load_specific_debug_section): Likewise.
720 (read_section_stabs): Likewise.
721 (print_section_stabs): Likewise.
722 (dump_section): Likewise.
723 (dump_reloc_set): Likewise.
724 (dump_relocs_in_section): Likewise.
725 (dump_bfd): Likewise.
726 (display_any_bfd): Likewise.
727
28e817cc
NC
7282019-01-09 Nick Clifton <nickc@redhat.com>
729
c0b0b1c2 730 PR 24049
28e817cc
NC
731 * readelf.c (process_archive): Use arch.file_name in error
732 messages until the qualified name is available.
733
3107326d
AP
7342019-01-09 Andrew Paprocki <andrew@ishiboo.com>
735
736 * configure: Regenerate.
737
923c6a75
AM
7382019-01-09 Alan Modra <amodra@gmail.com>
739
740 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
741 unconditionally to tests needing the option rather than via a
742 list of targets.
743
236f4ebe
NC
7442019-01-08 Nick Clifton <nickc@redhat.com>
745
746 PR 24044
747 * cxxfilt.c (hp_symbol_characters): Delete.
748 (main): Remove depcreated demangling styles.
749 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
750 demangling opnames.
751 * testsuite/binutils-all/cxxfilt.exp: Use the
752 --no-strip-underscore option for targets that do prefix their
753 symbols with underscores.
923c6a75 754 Update tests to eliminate those that use gnu v2 encoding.
236f4ebe 755
e3ecd631
TC
7562019-01-08 Tamar Christina <tamar.christina@arm.com>
757
758 PR 24065
759 * testsuite/binutils-all/copy-6.d: New test.
760 * testsuite/binutils-all/objcopy.exp: Use it.
761
171b8e19
AM
7622019-01-08 Alan Modra <amodra@gmail.com>
763
764 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
765 $srcdir/$subdir to source file name if it starts with "./".
766
7672019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
768
f87673e0
YS
769 * readelf.c (get_machine_flags): Add RXv3 output.
770
11fa9f13
NC
7712019-01-04 Nick Clifton <nickc@redhat.com>
772
773 PR 24005
774 * objdump.c (load_specific_debug_section): Check for integer
775 overflow before attempting to allocate contents.
776
cf0ad5bb
NC
7772019-01-04 Nick Clifton <nickc@redhat.com>
778
779 PR 24001
780 * objcopy.c (copy_object): Free dhandle after writing out the
781 debug information.
782 * objdump.c (dump_bfd): Free dhandle after printing out the debug
783 information.
784
11fa9f13 785
82704155
AM
7862019-01-01 Alan Modra <amodra@gmail.com>
787
788 Update year range in copyright notice of all files.
789
d5c04e1b 790For older changes see ChangeLog-2018
3499769a 791\f
d5c04e1b 792Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
793
794Copying and distribution of this file, with or without modification,
795are permitted in any medium without royalty provided the copyright
796notice and this notice are preserved.
797
798Local Variables:
799mode: change-log
800left-margin: 8
801fill-column: 74
802version-control: never
803End:
This page took 0.204333 seconds and 4 git commands to generate.