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