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