Fix potential illegal memory access by readelf when parsing corrupt IA64 unwind infor...
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
8d18bf79
NC
12019-02-20 Nick Clifton <nickc@redhat.com>
2
171375c6
NC
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
7fc0c668
NC
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.
8d18bf79 19
171375c6
NC
20 PR 24242
21 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
22
c22b42ce
AM
232019-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
7d272a55
AM
312019-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
04d7fa21
NC
372019-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
46cbf38d
AB
432019-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
96fd92af
AB
622019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
63
64 * doc/binutils.texi (size): Update example output for Berkeley
65 format output.
66
2012bf01
NC
672019-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
082cbd3b
NC
722019-02-04 Nick Clifton <nickc@redhat.com>
73
74 * README-how-to-make-a-release: Add more notes on making a release.
75
18344509
NC
762019-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
9ed1348c
NC
842019-01-25 Nick Clifton <nickc@redhat.com>
85
86 * po/bg.po: Updated Bulgarian translation.
87
d9938630
NC
882019-01-23 Nick Clifton <nickc@redhat.com>
89
90 * po/fr.po: Updated French translation.
91 * po/pt.po: Updated Portuguese translation.
92
375cd423
NC
932019-01-21 Nick Clifton <nickc@redhat.com>
94
95 * po/uk.po: Updated Ukranian translation.
96
f48dfe41
NC
972019-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
f974f26c
NC
1052018-06-24 Nick Clifton <nickc@redhat.com>
106
107 2.32 branch created.
108
baae986a
NC
1092019-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
2dc8dd17
JW
1192019-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
12add40e
NC
1312019-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
28e817cc
NC
1512019-01-09 Nick Clifton <nickc@redhat.com>
152
c0b0b1c2 153 PR 24049
28e817cc
NC
154 * readelf.c (process_archive): Use arch.file_name in error
155 messages until the qualified name is available.
156
3107326d
AP
1572019-01-09 Andrew Paprocki <andrew@ishiboo.com>
158
159 * configure: Regenerate.
160
923c6a75
AM
1612019-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
236f4ebe
NC
1672019-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.
923c6a75 177 Update tests to eliminate those that use gnu v2 encoding.
236f4ebe 178
e3ecd631
TC
1792019-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
171b8e19
AM
1852019-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
1902019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
191
f87673e0
YS
192 * readelf.c (get_machine_flags): Add RXv3 output.
193
11fa9f13
NC
1942019-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
cf0ad5bb
NC
2002019-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
11fa9f13 208
82704155
AM
2092019-01-01 Alan Modra <amodra@gmail.com>
210
211 Update year range in copyright notice of all files.
212
d5c04e1b 213For older changes see ChangeLog-2018
3499769a 214\f
d5c04e1b 215Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
216
217Copying and distribution of this file, with or without modification,
218are permitted in any medium without royalty provided the copyright
219notice and this notice are preserved.
220
221Local Variables:
222mode: change-log
223left-margin: 8
224fill-column: 74
225version-control: never
226End:
This page took 0.228033 seconds and 4 git commands to generate.