RISC-V: Support ELF attribute for gas and readelf.
[external/binutils.git] / binutils / ChangeLog
1 2019-01-16  Kito Cheng  <kito@andestech.com>
2             Nelson Chu  <nelson@andestech.com>
3
4         * readelf.c (get_riscv_section_type_name): New function.
5         (get_section_type_name): Add handler for RISC-V.
6         (riscv_attr_tag_t): Declare.
7         (riscv_attr_tag): New.
8         (display_riscv_attribute): New function.
9         (process_attributes): Add handler for RISC-V.
10         * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
11         section.
12
13 2019-01-10  Nick Clifton  <nickc@redhat.com>
14
15         PR 23963
16         * objdump.c (sanitize_string): New function.  Removes control
17         characters from symbol names.
18         (dump_section_header): Use new function.
19         (objdump_print_symname): Likewise.
20         (objdump_print_addr_with_sym): Likewise.
21         (show_line): Likewise.
22         (disassemble_bytes): Likewise.
23         (disassemble_section): Likewise.
24         (load_specific_debug_section): Likewise.
25         (read_section_stabs): Likewise.
26         (print_section_stabs): Likewise.
27         (dump_section): Likewise.
28         (dump_reloc_set): Likewise.
29         (dump_relocs_in_section): Likewise.
30         (dump_bfd): Likewise.
31         (display_any_bfd): Likewise.
32
33 2019-01-09  Nick Clifton  <nickc@redhat.com>
34
35         PR 24049
36         * readelf.c (process_archive): Use arch.file_name in error
37         messages until the qualified name is available.
38
39 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
40
41         * configure: Regenerate.
42
43 2019-01-09  Alan Modra  <amodra@gmail.com>
44
45         * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
46         unconditionally to tests needing the option rather than via a
47         list of targets.
48
49 2019-01-08  Nick Clifton  <nickc@redhat.com>
50
51         PR 24044
52         * cxxfilt.c (hp_symbol_characters): Delete.
53         (main): Remove depcreated demangling styles.
54         * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
55         demangling opnames.
56         * testsuite/binutils-all/cxxfilt.exp: Use the
57         --no-strip-underscore option for targets that do prefix their
58         symbols with underscores.
59         Update tests to eliminate those that use gnu v2 encoding.
60
61 2019-01-08  Tamar Christina  <tamar.christina@arm.com>
62
63         PR 24065
64         * testsuite/binutils-all/copy-6.d: New test.
65         * testsuite/binutils-all/objcopy.exp: Use it.
66
67 2019-01-08  Alan Modra  <amodra@gmail.com>
68
69         * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
70         $srcdir/$subdir to source file name if it starts with "./".
71
72 2019-01-05  Yoshinori Sato <ysato@users.sourceforge.jp>
73
74         * readelf.c (get_machine_flags): Add RXv3 output.
75
76 2019-01-04  Nick Clifton  <nickc@redhat.com>
77
78         PR 24005
79         * objdump.c (load_specific_debug_section): Check for integer
80         overflow before attempting to allocate contents.
81
82 2019-01-04  Nick Clifton  <nickc@redhat.com>
83
84         PR 24001
85         * objcopy.c (copy_object): Free dhandle after writing out the
86         debug information.
87         * objdump.c (dump_bfd): Free dhandle after printing out the debug
88         information.
89
90
91 2019-01-01  Alan Modra  <amodra@gmail.com>
92
93         Update year range in copyright notice of all files.
94
95 For older changes see ChangeLog-2018
96 \f
97 Copyright (C) 2019 Free Software Foundation, Inc.
98
99 Copying and distribution of this file, with or without modification,
100 are permitted in any medium without royalty provided the copyright
101 notice and this notice are preserved.
102
103 Local Variables:
104 mode: change-log
105 left-margin: 8
106 fill-column: 74
107 version-control: never
108 End: