Remove excess calls to gdb_flush
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
093f70cc
MM
12019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
2
3 PR 24287
4 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
5 of "lmap" with a "foreach" loop.
6
f5f20315
NC
72019-03-04 Nick Clifton <nickc@redhat.com>
8
9 PR 24281
10 * objcopy.c (copy_archive): Do not copy thin archives.
11
52d6f3ee
MM
122019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
13
14 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
15
39f0547e
NC
162019-02-25 Nick Clifton <nickc@redhat.com>
17
18 * objdump.c (sym_ok): New function.
19 (find_symbol_for_address): Use new function.
20 (disassemble_section): Compare sections by name, not pointer.
21 (dump_dwarf): Move code to initialise byte_get pointer and iterate
22 over separate debug files from here to ...
23 (dump_bfd): ... here. Add parameter indicating that a separate
24 debug info file is being dumped. For main file, pull in the
25 symbol tables from all separate debug info files.
26 (display_object): Update call to dump_bfd.
27 * doc/binutils.texi: Document extened behaviour of the
28 --dwarf=follow-links option.
29 * NEWS: Mention this new feature.
30 * testsuite/binutils-all/objdump.WK2: Update expected output.
31 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
32 options and dump file parameters.
33 Add extra test.
34 * testsuite/binutils-all/objdump.WK3: New file.
35 * testsuite/binutils-all/readelf.exp: Change expected output for
36 readelf -wKis test.
37 * testsuite/binutils-all/readelf.wKis: New file.
38
24841daa
NC
392019-02-22 Nick Clifton <nickc@redhat.com>
40
41 PR 23843
42 * dwarf.h (struct separate_info): New structure for containing
43 information on separate debug info files.
44 * dwarf.c (struct dwo_info): New structure for containing dwo
45 links.
46 (first_dwo_info): Chain of dwo_info structures.
47 (first_separate_file): Chain of separate_info structures.
48 (separate_debug_file, separate_debug_filename): Delete.
49 (fetch_alt_indirect_string): Scan all separate debug info files
50 for the requested string.
51 (add_dwo_info): New function.
52 (add_dwo_name): New function.
53 (add_dwo_dir): New function.
54 (add_dwo_id: New function.
55 (free_dwo_info): New function.
56 (read_and_display_attr_value): Store DWO data using the new
57 functions.
58 (load_debug_section_with_follow): If necessary, scan the list of
59 separate debug info files for the requested section.
60 (add_separate_debug_file): New function.
61 (load_separate_debug_info): Call add_separate_debug_file to store
62 the information on the newly loaded file.
63 (load_dwo_file): Likewise.
64 (load_separate_debif_file): Rename to load_separate_debug_files.
65 Change return type to boolean. If following links then attempt to
66 load all separate debug info files, not just the first one.
67 (free_debug_memory): Release memory in dwo_info and separate_info
68 chains.
69 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
70 * readelf.c (process_object): Likewise.
71 * doc/debug.options.texi: Update descriptions of links and
72 follow-links options.
73 * testsuite/binutils-all/objdump.WK2: Update expected output.
74 * testsuite/binutils-all/readelf.k2: Likewise.
75 * NEWS: Announce the new feature.
76
5cacf1c8
NC
772019-02-21 Nick Clifton <nickc@redhat.com>
78
79 PR 24247
80 * unwind-ia64.c: Include sysdep.h.
81 (unw_decode_x1): Check current pointer against end pointer before
82 accessing memory.
83 (unw_decode_x2): Likewise.
84 (unw_decode_x3): Likewise.
85 (unw_decode_x4): Likewise.
86 (unw_decode_r2): Likewise.
87 (unw_decode_p2_p5): Likewise.
88 (unw_decode_p7_p10): Likewise.
89 (unw_decode): Likewise.
90
8d18bf79
NC
912019-02-20 Nick Clifton <nickc@redhat.com>
92
3ca60c57
NC
93 PR 24246
94 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
95
171375c6
NC
96 PR 24244
97 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
98 prevent walking off the end of the buffer.
99 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
100 (unw_decode_x2): Likewise.
101 (unw_decode_x3): Likewise.
102 (unw_decode_x4): Likewise.
103 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
104 (unw_decode_r3): Likewise.
105 (unw_decode_p7_p10): Likewise.
106 (unw_decode_b2): Likewise.
107 (unw_decode_b3_x4): Likewise.
108
7fc0c668
NC
109 PR 24243
110 * readelf.c (process_mips_specific): Check for an options section
111 that is too small to even contain a single option.
8d18bf79 112
171375c6
NC
113 PR 24242
114 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
115
c22b42ce
AM
1162019-02-20 Alan Modra <amodra@gmail.com>
117
118 PR 24132
119 PR 24138
120 * readelf.c (get_data): Avoid possibility of overflow when
121 checking for a read that may extend past end of file.
122 (process_program_headers): Likewise.
123
7d272a55
AM
1242019-02-20 Alan Modra <amodra@gmail.com>
125
126 PR 24233
127 * objdump.c (dump_bfd_private_header): Print warning if
128 bfd_print_private_bfd_data returns false.
129
04d7fa21
NC
1302019-02-12 Nick Clifton <nickc@redhat.com>
131
132 PR 23440
133 * README-how-to-make-a-release: Use git clean to delete spurious
134 files from the local source repository.
135
46cbf38d
AB
1362019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
137
138 * size.c (berkeley_format): Delete.
139 (enum output_format): New enum.
140 (selected_output_format): New variable.
141 (usage): Update to mention GNU format.
142 (main): Update to extract options, and select format as needed.
143 Handle GNU format where needed.
144 (berkeley_sum): Renamed to...
145 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
146 (berkeley_format): Renamed to...
147 (berkeley_or_gnu_format): ...this, and updated to handle both
148 formats.
149 (print_sizes): Handle GNU format.
150 * doc/binutils.texi (size): Document new GNU format.
151 * testsuite/binutils-all/size.exp: Add test of extended
152 functionality.
153 * NEWS: Mention new functionality.
154
96fd92af
AB
1552019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
156
157 * doc/binutils.texi (size): Update example output for Berkeley
158 format output.
159
2012bf01
NC
1602019-02-07 Nick Clifton <nickc@redhat.com>
161
162 * README-how-to-make-a-release: Add a note about updating the
163 obsolete targets in the bfd/config.bfd file.
164
082cbd3b
NC
1652019-02-04 Nick Clifton <nickc@redhat.com>
166
167 * README-how-to-make-a-release: Add more notes on making a release.
168
18344509
NC
1692019-01-25 Nick Clifton <nickc@redhat.com>
170
171 PR 24131
172 * readelf.c (process_notes_at): Prevent an illegal memory access
173 when the note's namesize is zero.
174 (decode_tic6x_unwind_bytecode): Add code to handle the case where
175 no registers are specified in a frame pop instruction.
176
9ed1348c
NC
1772019-01-25 Nick Clifton <nickc@redhat.com>
178
179 * po/bg.po: Updated Bulgarian translation.
180
d9938630
NC
1812019-01-23 Nick Clifton <nickc@redhat.com>
182
183 * po/fr.po: Updated French translation.
184 * po/pt.po: Updated Portuguese translation.
185
375cd423
NC
1862019-01-21 Nick Clifton <nickc@redhat.com>
187
188 * po/uk.po: Updated Ukranian translation.
189
f48dfe41
NC
1902019-01-19 Nick Clifton <nickc@redhat.com>
191
192 * configure: Regenerate.
193 * binutils/po/binutils.pot.
194
195 * README-how-to-make-a-release: Update description on how to make
196 a branch.
197
f974f26c
NC
1982018-06-24 Nick Clifton <nickc@redhat.com>
199
200 2.32 branch created.
201
baae986a
NC
2022019-01-17 Nick Clifton <nickc@redhat.com>
203
204 * objdump.c (disassemble_section): When disassembling from a
205 symbol only stop at the next symbol if the original symbol was not
206 a function symbol. Otherwise continue disassembling until a new
207 function is reached.
208 * testsuite/binutils-all/objdump.exp: Add tests of extended
209 functionality.
210 * testsuite/binutils-all/disasm.s: New test source file.
211
2dc8dd17
JW
2122019-01-16 Kito Cheng <kito@andestech.com>
213 Nelson Chu <nelson@andestech.com>
214
215 * readelf.c (get_riscv_section_type_name): New function.
216 (get_section_type_name): Add handler for RISC-V.
217 (riscv_attr_tag_t): Declare.
218 (riscv_attr_tag): New.
219 (display_riscv_attribute): New function.
220 (process_attributes): Add handler for RISC-V.
221 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
222 section.
223
12add40e
NC
2242019-01-10 Nick Clifton <nickc@redhat.com>
225
226 PR 23963
227 * objdump.c (sanitize_string): New function. Removes control
228 characters from symbol names.
229 (dump_section_header): Use new function.
230 (objdump_print_symname): Likewise.
231 (objdump_print_addr_with_sym): Likewise.
232 (show_line): Likewise.
233 (disassemble_bytes): Likewise.
234 (disassemble_section): Likewise.
235 (load_specific_debug_section): Likewise.
236 (read_section_stabs): Likewise.
237 (print_section_stabs): Likewise.
238 (dump_section): Likewise.
239 (dump_reloc_set): Likewise.
240 (dump_relocs_in_section): Likewise.
241 (dump_bfd): Likewise.
242 (display_any_bfd): Likewise.
243
28e817cc
NC
2442019-01-09 Nick Clifton <nickc@redhat.com>
245
c0b0b1c2 246 PR 24049
28e817cc
NC
247 * readelf.c (process_archive): Use arch.file_name in error
248 messages until the qualified name is available.
249
3107326d
AP
2502019-01-09 Andrew Paprocki <andrew@ishiboo.com>
251
252 * configure: Regenerate.
253
923c6a75
AM
2542019-01-09 Alan Modra <amodra@gmail.com>
255
256 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
257 unconditionally to tests needing the option rather than via a
258 list of targets.
259
236f4ebe
NC
2602019-01-08 Nick Clifton <nickc@redhat.com>
261
262 PR 24044
263 * cxxfilt.c (hp_symbol_characters): Delete.
264 (main): Remove depcreated demangling styles.
265 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
266 demangling opnames.
267 * testsuite/binutils-all/cxxfilt.exp: Use the
268 --no-strip-underscore option for targets that do prefix their
269 symbols with underscores.
923c6a75 270 Update tests to eliminate those that use gnu v2 encoding.
236f4ebe 271
e3ecd631
TC
2722019-01-08 Tamar Christina <tamar.christina@arm.com>
273
274 PR 24065
275 * testsuite/binutils-all/copy-6.d: New test.
276 * testsuite/binutils-all/objcopy.exp: Use it.
277
171b8e19
AM
2782019-01-08 Alan Modra <amodra@gmail.com>
279
280 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
281 $srcdir/$subdir to source file name if it starts with "./".
282
2832019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
284
f87673e0
YS
285 * readelf.c (get_machine_flags): Add RXv3 output.
286
11fa9f13
NC
2872019-01-04 Nick Clifton <nickc@redhat.com>
288
289 PR 24005
290 * objdump.c (load_specific_debug_section): Check for integer
291 overflow before attempting to allocate contents.
292
cf0ad5bb
NC
2932019-01-04 Nick Clifton <nickc@redhat.com>
294
295 PR 24001
296 * objcopy.c (copy_object): Free dhandle after writing out the
297 debug information.
298 * objdump.c (dump_bfd): Free dhandle after printing out the debug
299 information.
300
11fa9f13 301
82704155
AM
3022019-01-01 Alan Modra <amodra@gmail.com>
303
304 Update year range in copyright notice of all files.
305
d5c04e1b 306For older changes see ChangeLog-2018
3499769a 307\f
d5c04e1b 308Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
309
310Copying and distribution of this file, with or without modification,
311are permitted in any medium without royalty provided the copyright
312notice and this notice are preserved.
313
314Local Variables:
315mode: change-log
316left-margin: 8
317fill-column: 74
318version-control: never
319End:
This page took 0.178697 seconds and 4 git commands to generate.