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