]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
"backtrace full/no-filters/hide" completer
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2019-06-12 Christos Zoulas <christos@zoulas.com>
2
3 PR 24663
4 * readelf.c (process_netbsd_elf_note): Add support for
5 NT_NETBSD_PAX.
6 (process_note): Add support for PaX notes.
7
8 2019-06-12 Christos Zoulas <christos@zoulas.com>
9
10 PR 24665
11 * readelf.c (get_netbsd_elfcore_note_type): Add support for SH
12 core notes.
13
14 2019-06-12 Christos Zoulas <christos@zoulas.com>
15
16 PR 24664
17 * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD
18 auxv notes.
19
20 2019-06-11 Christos Zoulas <christos@zoulas.com>
21
22 PR 24662
23 * readelf.c (get_alpha_symbol_other): New function.
24 (get_symbol_other): Use for Alpha symbols.
25 (is_32bit_pcrel_reloc): Add R_VAX_PCREL32.
26
27 2019-06-11 Christos Zoulas <christos@zoulas.com>
28
29 PR 24661
30 * readelf.c (decode_arm_unwind): Ensure that the local variable
31 'addr' is always initialised.
32
33 2019-06-10 Christos Zoulas <christos@zoulas.com>
34
35 PR 24651
36 * strings.c (print_strings): Use %u to print unsigned values in
37 decimal.
38
39 2019-06-10 Christos Zoulas <christos@zoulas.com>
40
41 PR 24649
42 * arsup.c (ar_open): Use asprintf in place of xmalloc and
43 sprintf.
44
45 2019-06-03 Nick Clifton <nickc@redhat.com>
46
47 Revert:
48 2019-05-29 Nick Clifton <nickc@redhat.com>
49
50 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
51 targets.
52 (HAVE_LIBCTF): Define if libctf support is available.
53 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
54 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
55 defined.
56 * readelf.c: Likewise.
57 * configure: Regenerate.
58 * Makefile.in: Regenerate.
59 * config.in: Regenerate.
60
61 2019-05-30 Nick Alcock <nick.alcock@oracle.com>
62
63 * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and
64 cts_offset.
65 * readelf.c (shdr_to_ctf_sect): Likewise.
66
67 2019-05-30 Nick Clifton <nickc@redhat.com>
68
69 PR 24627
70 * readelf.c (process_version_sections): Add 0x prefix to address
71 display. Correct indentation.
72
73 2019-05-30 Alan Modra <amodra@gmail.com>
74
75 * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add
76 s12z to targets not supporting this feature.
77
78 2019-05-30 Alan Modra <amodra@gmail.com>
79
80 * testsuite/lib/binutils-common.exp (run_dump_test): Support
81 tcl procedures for xfail args.
82
83 2019-05-29 Nick Clifton <nickc@redhat.com>
84
85 * README-how-to-make-a-release: Add libctf to list of directories
86 that need updates in their ChangeLogs.
87
88 2019-05-29 Nick Clifton <nickc@redhat.com>
89
90 * configure.ac (LIBCTF): Export. Set to empty for non-ELF based
91 targets.
92 (HAVE_LIBCTF): Define if libctf support is available.
93 * Makefile.am (LIBCTF): Set value to @LIBCTF@.
94 * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being
95 defined.
96 * readelf.c: Likewise.
97 * configure: Regenerate.
98 * Makefile.in: Regenerate.
99 * config.in: Regenerate.
100
101 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
102
103 * MAINTAINERS: Add myself as CTF maintainer.
104
105 2019-05-28 Nick Alcock <nick.alcock@oracle.com>
106
107 * objdump.c (ctf-api.h): New include.
108 (dump_ctf_section_info): New variable.
109 (dump_ctf_section_name): Likewise.
110 (usage): Describe new options.
111 (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT.
112 (main): Use them to add --ctf and --ctf-parent.
113 (read_section_stabs): Add new parameter, entsize_ptr.
114 (find_stabs_section): Adjust accordingly.
115 (make_ctfsect): New.
116 (dump_ctf_indent_lines): New.
117 (dump_ctf_archive_member): New.
118 (dump_ctf): New.
119 (dump_bfd): Call it. Free resources afterwards.
120 * readelf.c (ctf-api.h): New include.
121 (CTF_DUMP): New.
122 (static bfd_boolean do_ctf): Likewise.
123 (dump_ctf_parent_name): Likewise.
124 (dump_ctf_symtab_name): Likewise.
125 (dump_ctf_strtab_name): Likewise.
126 (OPTION_CTF_DUMP): Likewise.
127 (OPTION_CTF_PARENT): Likewise.
128 (OPTION_CTF_SYMBOLS): Likewise.
129 (OPTION_CTF_STRINGS): Likewise.
130 (options): Add them.
131 (usage): Likewise.
132 (parse_args): Handle the new options, requesting CTF_DUMP.
133 (process_section_contents): Handle CTF_DUMP.
134 (shdr_to_ctf_sect): New.
135 (dump_ctf_indent_lines): New.
136 (dump_section_as_ctf): New.
137 (main): Free resources.
138 * Makefile.am (LIBCTF): New variable.
139 (objdump_DEPENDENCIES): Use it.
140 (readelf_DEPENDENCIES): Likewise.
141 (objdump_LDADD): Likewise.
142 (readelf_LDADD): Likewise.
143 * aclocal.m4: Regenerated.
144 * Makefile.in: Likewise.
145
146 * doc/binutils.texi (objdump): Document the new options.
147 (readelf): Likewise.
148 * doc/ctf.options.texi: New.
149 * doc/Makefile.in: Regenerated.
150 * NEWS: Mention the new feature.
151
152 2019-05-27 Alan Modra <amodra@gmail.com>
153
154 * readelf.c (process_section_groups): Continue processing groups
155 when sh_entsize exceeds group size.
156
157 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
158
159 * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS.
160 (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS.
161 (get_symbol_other): Call get_aarch64_symbol_other.
162
163 2019-05-24 Alan Modra <amodra@gmail.com>
164
165 * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags.
166
167 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
168
169 * MAINTAINERS: Add myself as the maintainer for BPF.
170
171 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
172
173 * readelf.c: Include elf/bpf.h.
174 (guess_is_rela): Hanle EM_BPF.
175 (dump_relocations): Likewise.
176 (is_32bit_abs_reloc): Likewise.
177 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
178 ELF targets.
179
180 2019-05-21 Tamar Christina <tamar.christina@arm.com>
181
182 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
183 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
184 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
185
186 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
187
188 PR 14798
189 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
190 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
191
192 2019-05-20 Nick Clifton <nickc@redhat.com>
193
194 * po/ca.po: Updated Catalan translation.
195
196 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
197
198 * NEWS: Mention Armv8.1-M Mainline and MVE.
199
200 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
201
202 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
203 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
204
205 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
206
207 PR 19921
208 * objcopy.c: Add new option --verilog-data-width. Use it to set
209 the value of VerilogDataWidth.
210 * doc/binutils.texi: Document the new option.
211 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
212 * testsuite/binutils-all/verilog-1.hex: New file.
213 * testsuite/binutils-all/verilog-2.hex: New file.
214 * testsuite/binutils-all/verilog-4.hex: New file.
215 * testsuite/binutils-all/verilog-8.hex: New file.
216 * NEWS: Mention the new feature.
217
218 2019-05-10 Alan Modra <amodra@gmail.com>
219
220 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
221 (test_objdump_content_limited): Add text arg, use in place of .text.
222 (bintest_signed.o): Call get_standard_section_names for name of
223 text section.
224
225 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
226
227 * objdump.c (sign_extend_address): New function.
228 (dump_bfd): Sign-extend user-specified start/stop addresses
229 for targets that need it.
230 * testsuite/binutils-all/objdump.exp: Add tests for objdump
231 with start and stop addresses in higher address ranges.
232
233 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
234
235 * testsuite/binutils-all/objdump.exp: Correct executable
236 spelling.
237 * testsuite/binutils-all/compress.exp: Likewise.
238
239 2019-05-01 Nick Clifton <nickc@redhat.com>
240
241 PR 24507
242 * nm.c: (print_format): New variable.
243 (value_format_32bit, value_format_64bit): Delete.
244 (set_print_radix): Remove code to alter value_format strings.
245 (set_output_format): Record chosen format in print_format.
246 (get_print_format): New function - constructs a printf formatting
247 string according to the requirements of size, radix, and output
248 format.
249 (print_value): Use get_print_format.
250 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
251 and "nm -t d".
252
253 2019-04-30 Alan Modra <amodra@gmail.com>
254
255 * wrstabs.c (stab_start_class_type): Add assert to work around
256 gcc9 warning. Tidy.
257
258 2019-04-24 Nick Clifton <nickc@redhat.com>
259
260 * objcopy.c (strip_main): Do not enable note merging by default if
261 just stripping debug or dwo information.
262 * doc/binutils.texi (strip): Update documentation.
263
264 2019-04-23 Nick Clifton <nickc@redhat.com>
265
266 * README-how-to-make-a-release: Add note to update the symbolic
267 link from "docs" to "docs-2.x" on the sourceware website.
268
269 2019-04-16 Alan Modra <amodra@gmail.com>
270
271 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
272 * testsuite/binutils-all/copy-3.d: Likewise.
273
274 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
275
276 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
277
278 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
279
280 * readelf.c (decode_x86_isa): Handle
281 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
282 * testsuite/binutils-all/i386/pr21231b.d: Updated.
283 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
284
285 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
286
287 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
288
289 2019-03-26 Tamar Christina <tamar.christina@arm.com>
290
291 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
292 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
293 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
294 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
295 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
296 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
297 * testsuite/binutils-all/arm/in-order.d: Likewise.
298 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
299 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
300 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
301
302 2019-03-26 Nick Clifton <nickc@redhat.com>
303
304 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
305 FRV and MEP.
306
307 2019-03-26 Alan Modra <amodra@gmail.com>
308
309 * objdump.c (dump_relocs_in_section): Warning fix.
310
311 2019-03-25 Tamar Christina <tamar.christina@arm.com>
312
313 * testsuite/binutils-all/arm/in-order-all.d: New test.
314 * testsuite/binutils-all/arm/in-order.d: New test.
315 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
316 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
317 * testsuite/binutils-all/arm/out-of-order.T: New test.
318 * testsuite/binutils-all/arm/out-of-order.d: New test.
319 * testsuite/binutils-all/arm/out-of-order.s: New test.
320
321
322 2019-03-25 Tamar Christina <tamar.christina@arm.com>
323
324 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
325 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
326 * testsuite/binutils-all/aarch64/out-of-order.d:
327
328 2019-03-25 Tamar Christina <tamar.christina@arm.com>
329
330 * testsuite/binutils-all/aarch64/in-order.d: New test.
331 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
332 well.
333
334 2019-03-25 Tamar Christina <tamar.christina@arm.com>
335
336 * objdump.c (disassemble_bytes): Pass stop_offset.
337 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
338 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
339 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
340
341 2019-03-19 Nick Clifton <nickc@redhat.com>
342
343 PR 24360
344 * objdump.c (load_specific_debug_section): Check that the amount
345 of memory to be allocated matches the size of the section.
346
347 2019-03-13 Sudakshina Das <sudi.das@arm.com>
348
349 * readelf.c (get_aarch64_dynamic_type): Add case for
350 DT_AARCH64_PAC_PLT.
351 (dynamic_section_aarch64_val): Likewise.
352
353 2019-03-13 Sudakshina Das <sudi.das@arm.com>
354 Szabolcs Nagy <szabolcs.nagy@arm.com>
355
356 * readelf.c (get_aarch64_dynamic_type): New.
357 (get_dynamic_type): Use above for EM_AARCH64.
358 (dynamic_section_aarch64_val): New.
359 (process_dynamic_section): Use above for EM_AARCH64.
360
361 2019-03-13 Sudakshina Das <sudi.das@arm.com>
362
363 * readelf.c (decode_aarch64_feature_1_and): New.
364 (print_gnu_property_note): Add case for AArch64 gnu notes.
365
366 2019-03-12 Alan Modra <amodra@gmail.com>
367
368 * objdump.c (load_specific_debug_section): Don't compare section
369 size against file size.
370 (dump_relocs_in_section): Don't compare reloc size against file size.
371 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
372
373 2019-03-05 Nick Clifton <nickc@redhat.com>
374
375 PR 24295
376 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
377
378 2019-03-05 Nick Clifton <nickc@redhat.com>
379
380 * po/sv.po: Updated Swedish translation.
381
382 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
383
384 PR 24287
385 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
386 of "lmap" with a "foreach" loop.
387
388 2019-03-04 Nick Clifton <nickc@redhat.com>
389
390 PR 24281
391 * objcopy.c (copy_archive): Do not copy thin archives.
392
393 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
394
395 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
396
397 2019-02-25 Nick Clifton <nickc@redhat.com>
398
399 * objdump.c (sym_ok): New function.
400 (find_symbol_for_address): Use new function.
401 (disassemble_section): Compare sections by name, not pointer.
402 (dump_dwarf): Move code to initialise byte_get pointer and iterate
403 over separate debug files from here to ...
404 (dump_bfd): ... here. Add parameter indicating that a separate
405 debug info file is being dumped. For main file, pull in the
406 symbol tables from all separate debug info files.
407 (display_object): Update call to dump_bfd.
408 * doc/binutils.texi: Document extened behaviour of the
409 --dwarf=follow-links option.
410 * NEWS: Mention this new feature.
411 * testsuite/binutils-all/objdump.WK2: Update expected output.
412 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
413 options and dump file parameters.
414 Add extra test.
415 * testsuite/binutils-all/objdump.WK3: New file.
416 * testsuite/binutils-all/readelf.exp: Change expected output for
417 readelf -wKis test.
418 * testsuite/binutils-all/readelf.wKis: New file.
419
420 2019-02-22 Nick Clifton <nickc@redhat.com>
421
422 PR 23843
423 * dwarf.h (struct separate_info): New structure for containing
424 information on separate debug info files.
425 * dwarf.c (struct dwo_info): New structure for containing dwo
426 links.
427 (first_dwo_info): Chain of dwo_info structures.
428 (first_separate_file): Chain of separate_info structures.
429 (separate_debug_file, separate_debug_filename): Delete.
430 (fetch_alt_indirect_string): Scan all separate debug info files
431 for the requested string.
432 (add_dwo_info): New function.
433 (add_dwo_name): New function.
434 (add_dwo_dir): New function.
435 (add_dwo_id: New function.
436 (free_dwo_info): New function.
437 (read_and_display_attr_value): Store DWO data using the new
438 functions.
439 (load_debug_section_with_follow): If necessary, scan the list of
440 separate debug info files for the requested section.
441 (add_separate_debug_file): New function.
442 (load_separate_debug_info): Call add_separate_debug_file to store
443 the information on the newly loaded file.
444 (load_dwo_file): Likewise.
445 (load_separate_debif_file): Rename to load_separate_debug_files.
446 Change return type to boolean. If following links then attempt to
447 load all separate debug info files, not just the first one.
448 (free_debug_memory): Release memory in dwo_info and separate_info
449 chains.
450 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
451 * readelf.c (process_object): Likewise.
452 * doc/debug.options.texi: Update descriptions of links and
453 follow-links options.
454 * testsuite/binutils-all/objdump.WK2: Update expected output.
455 * testsuite/binutils-all/readelf.k2: Likewise.
456 * NEWS: Announce the new feature.
457
458 2019-02-21 Nick Clifton <nickc@redhat.com>
459
460 PR 24247
461 * unwind-ia64.c: Include sysdep.h.
462 (unw_decode_x1): Check current pointer against end pointer before
463 accessing memory.
464 (unw_decode_x2): Likewise.
465 (unw_decode_x3): Likewise.
466 (unw_decode_x4): Likewise.
467 (unw_decode_r2): Likewise.
468 (unw_decode_p2_p5): Likewise.
469 (unw_decode_p7_p10): Likewise.
470 (unw_decode): Likewise.
471
472 2019-02-20 Nick Clifton <nickc@redhat.com>
473
474 PR 24246
475 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
476
477 PR 24244
478 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
479 prevent walking off the end of the buffer.
480 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
481 (unw_decode_x2): Likewise.
482 (unw_decode_x3): Likewise.
483 (unw_decode_x4): Likewise.
484 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
485 (unw_decode_r3): Likewise.
486 (unw_decode_p7_p10): Likewise.
487 (unw_decode_b2): Likewise.
488 (unw_decode_b3_x4): Likewise.
489
490 PR 24243
491 * readelf.c (process_mips_specific): Check for an options section
492 that is too small to even contain a single option.
493
494 PR 24242
495 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
496
497 2019-02-20 Alan Modra <amodra@gmail.com>
498
499 PR 24132
500 PR 24138
501 * readelf.c (get_data): Avoid possibility of overflow when
502 checking for a read that may extend past end of file.
503 (process_program_headers): Likewise.
504
505 2019-02-20 Alan Modra <amodra@gmail.com>
506
507 PR 24233
508 * objdump.c (dump_bfd_private_header): Print warning if
509 bfd_print_private_bfd_data returns false.
510
511 2019-02-12 Nick Clifton <nickc@redhat.com>
512
513 PR 23440
514 * README-how-to-make-a-release: Use git clean to delete spurious
515 files from the local source repository.
516
517 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
518
519 * size.c (berkeley_format): Delete.
520 (enum output_format): New enum.
521 (selected_output_format): New variable.
522 (usage): Update to mention GNU format.
523 (main): Update to extract options, and select format as needed.
524 Handle GNU format where needed.
525 (berkeley_sum): Renamed to...
526 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
527 (berkeley_format): Renamed to...
528 (berkeley_or_gnu_format): ...this, and updated to handle both
529 formats.
530 (print_sizes): Handle GNU format.
531 * doc/binutils.texi (size): Document new GNU format.
532 * testsuite/binutils-all/size.exp: Add test of extended
533 functionality.
534 * NEWS: Mention new functionality.
535
536 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
537
538 * doc/binutils.texi (size): Update example output for Berkeley
539 format output.
540
541 2019-02-07 Nick Clifton <nickc@redhat.com>
542
543 * README-how-to-make-a-release: Add a note about updating the
544 obsolete targets in the bfd/config.bfd file.
545
546 2019-02-04 Nick Clifton <nickc@redhat.com>
547
548 * README-how-to-make-a-release: Add more notes on making a release.
549
550 2019-01-25 Nick Clifton <nickc@redhat.com>
551
552 PR 24131
553 * readelf.c (process_notes_at): Prevent an illegal memory access
554 when the note's namesize is zero.
555 (decode_tic6x_unwind_bytecode): Add code to handle the case where
556 no registers are specified in a frame pop instruction.
557
558 2019-01-25 Nick Clifton <nickc@redhat.com>
559
560 * po/bg.po: Updated Bulgarian translation.
561
562 2019-01-23 Nick Clifton <nickc@redhat.com>
563
564 * po/fr.po: Updated French translation.
565 * po/pt.po: Updated Portuguese translation.
566
567 2019-01-21 Nick Clifton <nickc@redhat.com>
568
569 * po/uk.po: Updated Ukranian translation.
570
571 2019-01-19 Nick Clifton <nickc@redhat.com>
572
573 * configure: Regenerate.
574 * binutils/po/binutils.pot.
575
576 * README-how-to-make-a-release: Update description on how to make
577 a branch.
578
579 2018-06-24 Nick Clifton <nickc@redhat.com>
580
581 2.32 branch created.
582
583 2019-01-17 Nick Clifton <nickc@redhat.com>
584
585 * objdump.c (disassemble_section): When disassembling from a
586 symbol only stop at the next symbol if the original symbol was not
587 a function symbol. Otherwise continue disassembling until a new
588 function is reached.
589 * testsuite/binutils-all/objdump.exp: Add tests of extended
590 functionality.
591 * testsuite/binutils-all/disasm.s: New test source file.
592
593 2019-01-16 Kito Cheng <kito@andestech.com>
594 Nelson Chu <nelson@andestech.com>
595
596 * readelf.c (get_riscv_section_type_name): New function.
597 (get_section_type_name): Add handler for RISC-V.
598 (riscv_attr_tag_t): Declare.
599 (riscv_attr_tag): New.
600 (display_riscv_attribute): New function.
601 (process_attributes): Add handler for RISC-V.
602 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
603 section.
604
605 2019-01-10 Nick Clifton <nickc@redhat.com>
606
607 PR 23963
608 * objdump.c (sanitize_string): New function. Removes control
609 characters from symbol names.
610 (dump_section_header): Use new function.
611 (objdump_print_symname): Likewise.
612 (objdump_print_addr_with_sym): Likewise.
613 (show_line): Likewise.
614 (disassemble_bytes): Likewise.
615 (disassemble_section): Likewise.
616 (load_specific_debug_section): Likewise.
617 (read_section_stabs): Likewise.
618 (print_section_stabs): Likewise.
619 (dump_section): Likewise.
620 (dump_reloc_set): Likewise.
621 (dump_relocs_in_section): Likewise.
622 (dump_bfd): Likewise.
623 (display_any_bfd): Likewise.
624
625 2019-01-09 Nick Clifton <nickc@redhat.com>
626
627 PR 24049
628 * readelf.c (process_archive): Use arch.file_name in error
629 messages until the qualified name is available.
630
631 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
632
633 * configure: Regenerate.
634
635 2019-01-09 Alan Modra <amodra@gmail.com>
636
637 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
638 unconditionally to tests needing the option rather than via a
639 list of targets.
640
641 2019-01-08 Nick Clifton <nickc@redhat.com>
642
643 PR 24044
644 * cxxfilt.c (hp_symbol_characters): Delete.
645 (main): Remove depcreated demangling styles.
646 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
647 demangling opnames.
648 * testsuite/binutils-all/cxxfilt.exp: Use the
649 --no-strip-underscore option for targets that do prefix their
650 symbols with underscores.
651 Update tests to eliminate those that use gnu v2 encoding.
652
653 2019-01-08 Tamar Christina <tamar.christina@arm.com>
654
655 PR 24065
656 * testsuite/binutils-all/copy-6.d: New test.
657 * testsuite/binutils-all/objcopy.exp: Use it.
658
659 2019-01-08 Alan Modra <amodra@gmail.com>
660
661 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
662 $srcdir/$subdir to source file name if it starts with "./".
663
664 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
665
666 * readelf.c (get_machine_flags): Add RXv3 output.
667
668 2019-01-04 Nick Clifton <nickc@redhat.com>
669
670 PR 24005
671 * objdump.c (load_specific_debug_section): Check for integer
672 overflow before attempting to allocate contents.
673
674 2019-01-04 Nick Clifton <nickc@redhat.com>
675
676 PR 24001
677 * objcopy.c (copy_object): Free dhandle after writing out the
678 debug information.
679 * objdump.c (dump_bfd): Free dhandle after printing out the debug
680 information.
681
682
683 2019-01-01 Alan Modra <amodra@gmail.com>
684
685 Update year range in copyright notice of all files.
686
687 For older changes see ChangeLog-2018
688 \f
689 Copyright (C) 2019 Free Software Foundation, Inc.
690
691 Copying and distribution of this file, with or without modification,
692 are permitted in any medium without royalty provided the copyright
693 notice and this notice are preserved.
694
695 Local Variables:
696 mode: change-log
697 left-margin: 8
698 fill-column: 74
699 version-control: never
700 End: