Harden readelf's IA64 note display function so that it can handle corrupt notes.
[external/binutils.git] / binutils / ChangeLog
1 2019-02-20  Nick Clifton  <nickc@redhat.com>
2
3         PR 24242
4         * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
5
6 2019-02-20  Alan Modra  <amodra@gmail.com>
7
8         PR 24132
9         PR 24138
10         * readelf.c (get_data): Avoid possibility of overflow when
11         checking for a read that may extend past end of file.
12         (process_program_headers): Likewise.
13
14 2019-02-20  Alan Modra  <amodra@gmail.com>
15
16         PR 24233
17         * objdump.c (dump_bfd_private_header): Print warning if
18         bfd_print_private_bfd_data returns false.
19
20 2019-02-12  Nick Clifton  <nickc@redhat.com>
21
22         PR 23440
23         * README-how-to-make-a-release: Use git clean to delete spurious
24         files from the local source repository.
25
26 2019-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
27
28         * size.c (berkeley_format): Delete.
29         (enum output_format): New enum.
30         (selected_output_format): New variable.
31         (usage): Update to mention GNU format.
32         (main): Update to extract options, and select format as needed.
33         Handle GNU format where needed.
34         (berkeley_sum): Renamed to...
35         (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
36         (berkeley_format): Renamed to...
37         (berkeley_or_gnu_format): ...this, and updated to handle both
38         formats.
39         (print_sizes): Handle GNU format.
40         * doc/binutils.texi (size): Document new GNU format.
41         * testsuite/binutils-all/size.exp: Add test of extended
42         functionality.
43         * NEWS: Mention new functionality.
44
45 2019-02-08  Andrew Burgess  <andrew.burgess@embecosm.com>
46
47         * doc/binutils.texi (size): Update example output for Berkeley
48         format output.
49
50 2019-02-07  Nick Clifton  <nickc@redhat.com>
51
52         * README-how-to-make-a-release: Add a note about updating the
53         obsolete targets in the bfd/config.bfd file.
54
55 2019-02-04  Nick Clifton  <nickc@redhat.com>
56
57         * README-how-to-make-a-release: Add more notes on making a release.
58
59 2019-01-25  Nick Clifton  <nickc@redhat.com>
60
61         PR 24131
62         * readelf.c (process_notes_at): Prevent an illegal memory access
63         when the note's namesize is zero.
64         (decode_tic6x_unwind_bytecode): Add code to handle the case where
65         no registers are specified in a frame pop instruction.
66
67 2019-01-25  Nick Clifton  <nickc@redhat.com>
68
69         * po/bg.po: Updated Bulgarian translation.
70
71 2019-01-23  Nick Clifton  <nickc@redhat.com>
72
73         * po/fr.po: Updated French translation.
74         * po/pt.po: Updated Portuguese translation.
75
76 2019-01-21  Nick Clifton  <nickc@redhat.com>
77
78         * po/uk.po: Updated Ukranian translation.
79
80 2019-01-19  Nick Clifton  <nickc@redhat.com>
81
82         * configure: Regenerate.
83         * binutils/po/binutils.pot.
84
85         * README-how-to-make-a-release: Update description on how to make
86         a branch.
87
88 2018-06-24  Nick Clifton  <nickc@redhat.com>
89
90         2.32 branch created.
91
92 2019-01-17  Nick Clifton  <nickc@redhat.com>
93
94         * objdump.c (disassemble_section): When disassembling from a
95         symbol only stop at the next symbol if the original symbol was not
96         a function symbol.  Otherwise continue disassembling until a new
97         function is reached.
98         * testsuite/binutils-all/objdump.exp: Add tests of extended
99         functionality.
100         * testsuite/binutils-all/disasm.s: New test source file.
101
102 2019-01-16  Kito Cheng  <kito@andestech.com>
103             Nelson Chu  <nelson@andestech.com>
104
105         * readelf.c (get_riscv_section_type_name): New function.
106         (get_section_type_name): Add handler for RISC-V.
107         (riscv_attr_tag_t): Declare.
108         (riscv_attr_tag): New.
109         (display_riscv_attribute): New function.
110         (process_attributes): Add handler for RISC-V.
111         * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
112         section.
113
114 2019-01-10  Nick Clifton  <nickc@redhat.com>
115
116         PR 23963
117         * objdump.c (sanitize_string): New function.  Removes control
118         characters from symbol names.
119         (dump_section_header): Use new function.
120         (objdump_print_symname): Likewise.
121         (objdump_print_addr_with_sym): Likewise.
122         (show_line): Likewise.
123         (disassemble_bytes): Likewise.
124         (disassemble_section): Likewise.
125         (load_specific_debug_section): Likewise.
126         (read_section_stabs): Likewise.
127         (print_section_stabs): Likewise.
128         (dump_section): Likewise.
129         (dump_reloc_set): Likewise.
130         (dump_relocs_in_section): Likewise.
131         (dump_bfd): Likewise.
132         (display_any_bfd): Likewise.
133
134 2019-01-09  Nick Clifton  <nickc@redhat.com>
135
136         PR 24049
137         * readelf.c (process_archive): Use arch.file_name in error
138         messages until the qualified name is available.
139
140 2019-01-09  Andrew Paprocki  <andrew@ishiboo.com>
141
142         * configure: Regenerate.
143
144 2019-01-09  Alan Modra  <amodra@gmail.com>
145
146         * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
147         unconditionally to tests needing the option rather than via a
148         list of targets.
149
150 2019-01-08  Nick Clifton  <nickc@redhat.com>
151
152         PR 24044
153         * cxxfilt.c (hp_symbol_characters): Delete.
154         (main): Remove depcreated demangling styles.
155         * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
156         demangling opnames.
157         * testsuite/binutils-all/cxxfilt.exp: Use the
158         --no-strip-underscore option for targets that do prefix their
159         symbols with underscores.
160         Update tests to eliminate those that use gnu v2 encoding.
161
162 2019-01-08  Tamar Christina  <tamar.christina@arm.com>
163
164         PR 24065
165         * testsuite/binutils-all/copy-6.d: New test.
166         * testsuite/binutils-all/objcopy.exp: Use it.
167
168 2019-01-08  Alan Modra  <amodra@gmail.com>
169
170         * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
171         $srcdir/$subdir to source file name if it starts with "./".
172
173 2019-01-05  Yoshinori Sato <ysato@users.sourceforge.jp>
174
175         * readelf.c (get_machine_flags): Add RXv3 output.
176
177 2019-01-04  Nick Clifton  <nickc@redhat.com>
178
179         PR 24005
180         * objdump.c (load_specific_debug_section): Check for integer
181         overflow before attempting to allocate contents.
182
183 2019-01-04  Nick Clifton  <nickc@redhat.com>
184
185         PR 24001
186         * objcopy.c (copy_object): Free dhandle after writing out the
187         debug information.
188         * objdump.c (dump_bfd): Free dhandle after printing out the debug
189         information.
190
191
192 2019-01-01  Alan Modra  <amodra@gmail.com>
193
194         Update year range in copyright notice of all files.
195
196 For older changes see ChangeLog-2018
197 \f
198 Copyright (C) 2019 Free Software Foundation, Inc.
199
200 Copying and distribution of this file, with or without modification,
201 are permitted in any medium without royalty provided the copyright
202 notice and this notice are preserved.
203
204 Local Variables:
205 mode: change-log
206 left-margin: 8
207 fill-column: 74
208 version-control: never
209 End: