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