Commit | Line | Data |
---|---|---|
781152ec NC |
1 | 2019-06-28 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | PR 24707 | |
4 | * objdump.c (slurp_symtab): Fail with a helpful error message if | |
5 | the symbol table is too large. | |
6 | ||
a68aa5d3 NC |
7 | 2019-06-26 Nick Clifton <nickc@redhat.com> |
8 | ||
9 | PR 24703 | |
10 | * bucomm.c (bfd_nonfatal): If no bfd error code has been set then | |
11 | indicate this in the output. | |
12 | (bfd_nonfatal_message): Likewise. | |
13 | ||
3e50a591 JB |
14 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
15 | ||
16 | * readelf.c (dump_ctf_indent_lines): Rename local variable | |
17 | "spaces" to "blanks". | |
18 | ||
63160fc9 JB |
19 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
20 | ||
21 | * objdump.c (dump_ctf_indent_lines): Rename local variable | |
22 | "spaces" to "blanks". | |
23 | ||
3a3a077c AM |
24 | 2019-06-14 Alan Modra <amodra@gmail.com> |
25 | ||
26 | * Makefile.in: Regenerate. | |
27 | * aclocal.m4: Regenerate. | |
28 | * doc/Makefile.in: Regenerate. | |
29 | ||
9abca702 CZ |
30 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
31 | ||
32 | PR 24663 | |
33 | * readelf.c (process_netbsd_elf_note): Add support for | |
34 | NT_NETBSD_PAX. | |
35 | (process_note): Add support for PaX notes. | |
36 | ||
c0d38b0e CZ |
37 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
38 | ||
39 | PR 24665 | |
40 | * readelf.c (get_netbsd_elfcore_note_type): Add support for SH | |
41 | core notes. | |
42 | ||
540e6170 CZ |
43 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
44 | ||
45 | PR 24664 | |
46 | * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD | |
47 | auxv notes. | |
48 | ||
2057d69d CZ |
49 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
50 | ||
51 | PR 24662 | |
52 | * readelf.c (get_alpha_symbol_other): New function. | |
53 | (get_symbol_other): Use for Alpha symbols. | |
54 | (is_32bit_pcrel_reloc): Add R_VAX_PCREL32. | |
55 | ||
c93dbb25 CZ |
56 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
57 | ||
58 | PR 24661 | |
59 | * readelf.c (decode_arm_unwind): Ensure that the local variable | |
60 | 'addr' is always initialised. | |
61 | ||
c6a636ce NC |
62 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
63 | ||
64 | PR 24651 | |
65 | * strings.c (print_strings): Use %u to print unsigned values in | |
66 | decimal. | |
67 | ||
2e02f296 CZ |
68 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
69 | ||
70 | PR 24649 | |
71 | * arsup.c (ar_open): Use asprintf in place of xmalloc and | |
72 | sprintf. | |
73 | ||
79b377b3 NC |
74 | 2019-06-03 Nick Clifton <nickc@redhat.com> |
75 | ||
76 | Revert: | |
77 | 2019-05-29 Nick Clifton <nickc@redhat.com> | |
78 | ||
79 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based | |
80 | targets. | |
81 | (HAVE_LIBCTF): Define if libctf support is available. | |
82 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. | |
83 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being | |
84 | defined. | |
85 | * readelf.c: Likewise. | |
86 | * configure: Regenerate. | |
87 | * Makefile.in: Regenerate. | |
88 | * config.in: Regenerate. | |
89 | ||
a0486bac JM |
90 | 2019-05-30 Nick Alcock <nick.alcock@oracle.com> |
91 | ||
92 | * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and | |
93 | cts_offset. | |
94 | * readelf.c (shdr_to_ctf_sect): Likewise. | |
95 | ||
ae9ac79e NC |
96 | 2019-05-30 Nick Clifton <nickc@redhat.com> |
97 | ||
98 | PR 24627 | |
99 | * readelf.c (process_version_sections): Add 0x prefix to address | |
100 | display. Correct indentation. | |
101 | ||
6ff185b8 AM |
102 | 2019-05-30 Alan Modra <amodra@gmail.com> |
103 | ||
104 | * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add | |
105 | s12z to targets not supporting this feature. | |
106 | ||
1336939d AM |
107 | 2019-05-30 Alan Modra <amodra@gmail.com> |
108 | ||
109 | * testsuite/lib/binutils-common.exp (run_dump_test): Support | |
110 | tcl procedures for xfail args. | |
111 | ||
e33f2313 NC |
112 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
113 | ||
114 | * README-how-to-make-a-release: Add libctf to list of directories | |
115 | that need updates in their ChangeLogs. | |
116 | ||
90bd5423 NC |
117 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
118 | ||
119 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based | |
120 | targets. | |
121 | (HAVE_LIBCTF): Define if libctf support is available. | |
122 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. | |
123 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being | |
124 | defined. | |
125 | * readelf.c: Likewise. | |
126 | * configure: Regenerate. | |
127 | * Makefile.in: Regenerate. | |
128 | * config.in: Regenerate. | |
129 | ||
88981b15 NA |
130 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
131 | ||
132 | * MAINTAINERS: Add myself as CTF maintainer. | |
133 | ||
7d9813f1 NA |
134 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
135 | ||
136 | * objdump.c (ctf-api.h): New include. | |
137 | (dump_ctf_section_info): New variable. | |
138 | (dump_ctf_section_name): Likewise. | |
139 | (usage): Describe new options. | |
140 | (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT. | |
141 | (main): Use them to add --ctf and --ctf-parent. | |
142 | (read_section_stabs): Add new parameter, entsize_ptr. | |
143 | (find_stabs_section): Adjust accordingly. | |
144 | (make_ctfsect): New. | |
145 | (dump_ctf_indent_lines): New. | |
146 | (dump_ctf_archive_member): New. | |
147 | (dump_ctf): New. | |
148 | (dump_bfd): Call it. Free resources afterwards. | |
149 | * readelf.c (ctf-api.h): New include. | |
150 | (CTF_DUMP): New. | |
151 | (static bfd_boolean do_ctf): Likewise. | |
152 | (dump_ctf_parent_name): Likewise. | |
153 | (dump_ctf_symtab_name): Likewise. | |
154 | (dump_ctf_strtab_name): Likewise. | |
155 | (OPTION_CTF_DUMP): Likewise. | |
156 | (OPTION_CTF_PARENT): Likewise. | |
157 | (OPTION_CTF_SYMBOLS): Likewise. | |
158 | (OPTION_CTF_STRINGS): Likewise. | |
159 | (options): Add them. | |
160 | (usage): Likewise. | |
161 | (parse_args): Handle the new options, requesting CTF_DUMP. | |
162 | (process_section_contents): Handle CTF_DUMP. | |
163 | (shdr_to_ctf_sect): New. | |
164 | (dump_ctf_indent_lines): New. | |
165 | (dump_section_as_ctf): New. | |
166 | (main): Free resources. | |
167 | * Makefile.am (LIBCTF): New variable. | |
168 | (objdump_DEPENDENCIES): Use it. | |
169 | (readelf_DEPENDENCIES): Likewise. | |
170 | (objdump_LDADD): Likewise. | |
171 | (readelf_LDADD): Likewise. | |
172 | * aclocal.m4: Regenerated. | |
173 | * Makefile.in: Likewise. | |
174 | ||
175 | * doc/binutils.texi (objdump): Document the new options. | |
176 | (readelf): Likewise. | |
177 | * doc/ctf.options.texi: New. | |
178 | * doc/Makefile.in: Regenerated. | |
179 | * NEWS: Mention the new feature. | |
180 | ||
61dd8e19 AM |
181 | 2019-05-27 Alan Modra <amodra@gmail.com> |
182 | ||
183 | * readelf.c (process_section_groups): Continue processing groups | |
184 | when sh_entsize exceeds group size. | |
185 | ||
2301ed1c SN |
186 | 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com> |
187 | ||
188 | * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS. | |
189 | (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS. | |
190 | (get_symbol_other): Call get_aarch64_symbol_other. | |
191 | ||
dd7efa79 PB |
192 | 2019-05-24 Alan Modra <amodra@gmail.com> |
193 | ||
194 | * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags. | |
195 | ||
27830e0d JM |
196 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
197 | ||
198 | * MAINTAINERS: Add myself as the maintainer for BPF. | |
199 | ||
aca4efc7 JM |
200 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
201 | ||
202 | * readelf.c: Include elf/bpf.h. | |
203 | (guess_is_rela): Hanle EM_BPF. | |
204 | (dump_relocations): Likewise. | |
205 | (is_32bit_abs_reloc): Likewise. | |
206 | * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of | |
207 | ELF targets. | |
208 | ||
fab7c86e TC |
209 | 2019-05-21 Tamar Christina <tamar.christina@arm.com> |
210 | ||
211 | * dwarf.c (dwarf_regnames_aarch64): Add SVE registers. | |
212 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test. | |
213 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test. | |
214 | ||
d8734380 FS |
215 | 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com> |
216 | ||
217 | PR 14798 | |
218 | * testsuite/binutils-all/readelf.ss-mips: Update reference output. | |
219 | * testsuite/binutils-all/readelf.ss-tmips: Likewise. | |
220 | ||
999b073b NC |
221 | 2019-05-20 Nick Clifton <nickc@redhat.com> |
222 | ||
223 | * po/ca.po: Updated Catalan translation. | |
224 | ||
514bbb0f AV |
225 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
226 | ||
227 | * NEWS: Mention Armv8.1-M Mainline and MVE. | |
228 | ||
a7ad558c AV |
229 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
230 | ||
231 | * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values. | |
232 | (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch. | |
233 | ||
37d0d091 JH |
234 | 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com> |
235 | ||
236 | PR 19921 | |
237 | * objcopy.c: Add new option --verilog-data-width. Use it to set | |
238 | the value of VerilogDataWidth. | |
239 | * doc/binutils.texi: Document the new option. | |
240 | * testsuite/binutils-all/objcopy.exp: Run tests of new option. | |
241 | * testsuite/binutils-all/verilog-1.hex: New file. | |
242 | * testsuite/binutils-all/verilog-2.hex: New file. | |
243 | * testsuite/binutils-all/verilog-4.hex: New file. | |
244 | * testsuite/binutils-all/verilog-8.hex: New file. | |
245 | * NEWS: Mention the new feature. | |
246 | ||
391bf891 AM |
247 | 2019-05-10 Alan Modra <amodra@gmail.com> |
248 | ||
249 | * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited), | |
250 | (test_objdump_content_limited): Add text arg, use in place of .text. | |
251 | (bintest_signed.o): Call get_standard_section_names for name of | |
252 | text section. | |
253 | ||
2379f9c4 FS |
254 | 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com> |
255 | ||
256 | * objdump.c (sign_extend_address): New function. | |
257 | (dump_bfd): Sign-extend user-specified start/stop addresses | |
258 | for targets that need it. | |
259 | * testsuite/binutils-all/objdump.exp: Add tests for objdump | |
260 | with start and stop addresses in higher address ranges. | |
261 | ||
2ecde2b6 MM |
262 | 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com> |
263 | ||
264 | * testsuite/binutils-all/objdump.exp: Correct executable | |
265 | spelling. | |
266 | * testsuite/binutils-all/compress.exp: Likewise. | |
267 | ||
25a02744 NC |
268 | 2019-05-01 Nick Clifton <nickc@redhat.com> |
269 | ||
270 | PR 24507 | |
271 | * nm.c: (print_format): New variable. | |
272 | (value_format_32bit, value_format_64bit): Delete. | |
273 | (set_print_radix): Remove code to alter value_format strings. | |
274 | (set_output_format): Record chosen format in print_format. | |
275 | (get_print_format): New function - constructs a printf formatting | |
276 | string according to the requirements of size, radix, and output | |
277 | format. | |
278 | (print_value): Use get_print_format. | |
279 | * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix" | |
280 | and "nm -t d". | |
281 | ||
8107ddce AM |
282 | 2019-04-30 Alan Modra <amodra@gmail.com> |
283 | ||
284 | * wrstabs.c (stab_start_class_type): Add assert to work around | |
285 | gcc9 warning. Tidy. | |
286 | ||
1b8dd643 NC |
287 | 2019-04-24 Nick Clifton <nickc@redhat.com> |
288 | ||
289 | * objcopy.c (strip_main): Do not enable note merging by default if | |
290 | just stripping debug or dwo information. | |
291 | * doc/binutils.texi (strip): Update documentation. | |
292 | ||
624a2451 NC |
293 | 2019-04-23 Nick Clifton <nickc@redhat.com> |
294 | ||
295 | * README-how-to-make-a-release: Add note to update the symbolic | |
296 | link from "docs" to "docs-2.x" on the sourceware website. | |
297 | ||
a0fb9615 AM |
298 | 2019-04-16 Alan Modra <amodra@gmail.com> |
299 | ||
300 | * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*. | |
301 | * testsuite/binutils-all/copy-3.d: Likewise. | |
302 | ||
031254f2 AV |
303 | 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> |
304 | ||
305 | * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline. | |
306 | ||
462cac58 L |
307 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
308 | ||
309 | * readelf.c (decode_x86_isa): Handle | |
310 | GNU_PROPERTY_X86_ISA_1_AVX512_BF16. | |
311 | * testsuite/binutils-all/i386/pr21231b.d: Updated. | |
312 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
313 | ||
82b53593 L |
314 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
315 | ||
316 | * testsuite/binutils-all/nm.exp: Count i386-moss as ELF. | |
317 | ||
05805feb TC |
318 | 2019-03-26 Tamar Christina <tamar.christina@arm.com> |
319 | ||
320 | * testsuite/binutils-all/aarch64/in-order-all.d: Update. | |
321 | * testsuite/binutils-all/aarch64/in-order.d: Likewise. | |
322 | * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. | |
323 | * testsuite/binutils-all/aarch64/out-of-order.d: Likewise. | |
324 | * testsuite/binutils-all/aarch64/out-of-order.s: Likewise. | |
325 | * testsuite/binutils-all/arm/in-order-all.d: Likewise. | |
326 | * testsuite/binutils-all/arm/in-order.d: Likewise. | |
327 | * testsuite/binutils-all/arm/out-of-order-all.d: Likewise. | |
328 | * testsuite/binutils-all/arm/out-of-order.d: Likewise. | |
329 | * testsuite/binutils-all/arm/out-of-order.s: Likewise. | |
330 | ||
5fb812fc NC |
331 | 2019-03-26 Nick Clifton <nickc@redhat.com> |
332 | ||
333 | * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30, | |
334 | FRV and MEP. | |
335 | ||
e8fba7f6 AM |
336 | 2019-03-26 Alan Modra <amodra@gmail.com> |
337 | ||
338 | * objdump.c (dump_relocs_in_section): Warning fix. | |
339 | ||
796d6298 TC |
340 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
341 | ||
342 | * testsuite/binutils-all/arm/in-order-all.d: New test. | |
343 | * testsuite/binutils-all/arm/in-order.d: New test. | |
344 | * testsuite/binutils-all/arm/objdump.exp: Support .d tests. | |
345 | * testsuite/binutils-all/arm/out-of-order-all.d: New test. | |
346 | * testsuite/binutils-all/arm/out-of-order.T: New test. | |
347 | * testsuite/binutils-all/arm/out-of-order.d: New test. | |
348 | * testsuite/binutils-all/arm/out-of-order.s: New test. | |
349 | ||
350 | ||
60df3720 TC |
351 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
352 | ||
353 | * testsuite/binutils-all/aarch64/in-order-all.d: New test. | |
354 | * testsuite/binutils-all/aarch64/out-of-order-all.d: New test. | |
355 | * testsuite/binutils-all/aarch64/out-of-order.d: | |
356 | ||
51457761 TC |
357 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
358 | ||
359 | * testsuite/binutils-all/aarch64/in-order.d: New test. | |
360 | * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as | |
361 | well. | |
362 | ||
53b2f36b TC |
363 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
364 | ||
365 | * objdump.c (disassemble_bytes): Pass stop_offset. | |
366 | * testsuite/binutils-all/aarch64/out-of-order.T: New test. | |
367 | * testsuite/binutils-all/aarch64/out-of-order.d: New test. | |
368 | * testsuite/binutils-all/aarch64/out-of-order.s: New test. | |
369 | ||
63455780 NC |
370 | 2019-03-19 Nick Clifton <nickc@redhat.com> |
371 | ||
372 | PR 24360 | |
373 | * objdump.c (load_specific_debug_section): Check that the amount | |
374 | of memory to be allocated matches the size of the section. | |
375 | ||
1dbade74 SD |
376 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
377 | ||
378 | * readelf.c (get_aarch64_dynamic_type): Add case for | |
379 | DT_AARCH64_PAC_PLT. | |
380 | (dynamic_section_aarch64_val): Likewise. | |
381 | ||
37c18eed SD |
382 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
383 | Szabolcs Nagy <szabolcs.nagy@arm.com> | |
384 | ||
385 | * readelf.c (get_aarch64_dynamic_type): New. | |
386 | (get_dynamic_type): Use above for EM_AARCH64. | |
387 | (dynamic_section_aarch64_val): New. | |
388 | (process_dynamic_section): Use above for EM_AARCH64. | |
389 | ||
cd702818 SD |
390 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
391 | ||
392 | * readelf.c (decode_aarch64_feature_1_and): New. | |
393 | (print_gnu_property_note): Add case for AArch64 gnu notes. | |
394 | ||
7a6e0d89 AM |
395 | 2019-03-12 Alan Modra <amodra@gmail.com> |
396 | ||
397 | * objdump.c (load_specific_debug_section): Don't compare section | |
398 | size against file size. | |
399 | (dump_relocs_in_section): Don't compare reloc size against file size. | |
400 | Print "failed to read relocs" on bfd_get_reloc_upper_bound error. | |
401 | ||
88c9190b NC |
402 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
403 | ||
404 | PR 24295 | |
405 | * doc/binutils.texi (ar cmdline): Fix spelling mistake. | |
406 | ||
4933ff73 NC |
407 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
408 | ||
409 | * po/sv.po: Updated Swedish translation. | |
410 | ||
093f70cc MM |
411 | 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com> |
412 | ||
413 | PR 24287 | |
414 | * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use | |
415 | of "lmap" with a "foreach" loop. | |
416 | ||
f5f20315 NC |
417 | 2019-03-04 Nick Clifton <nickc@redhat.com> |
418 | ||
419 | PR 24281 | |
420 | * objcopy.c (copy_archive): Do not copy thin archives. | |
421 | ||
52d6f3ee MM |
422 | 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com> |
423 | ||
424 | * testsuite/lib/binutils-common.exp: Allow multiple "as" lines. | |
425 | ||
39f0547e NC |
426 | 2019-02-25 Nick Clifton <nickc@redhat.com> |
427 | ||
428 | * objdump.c (sym_ok): New function. | |
429 | (find_symbol_for_address): Use new function. | |
430 | (disassemble_section): Compare sections by name, not pointer. | |
431 | (dump_dwarf): Move code to initialise byte_get pointer and iterate | |
432 | over separate debug files from here to ... | |
433 | (dump_bfd): ... here. Add parameter indicating that a separate | |
434 | debug info file is being dumped. For main file, pull in the | |
435 | symbol tables from all separate debug info files. | |
436 | (display_object): Update call to dump_bfd. | |
437 | * doc/binutils.texi: Document extened behaviour of the | |
438 | --dwarf=follow-links option. | |
439 | * NEWS: Mention this new feature. | |
440 | * testsuite/binutils-all/objdump.WK2: Update expected output. | |
441 | * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add | |
442 | options and dump file parameters. | |
443 | Add extra test. | |
444 | * testsuite/binutils-all/objdump.WK3: New file. | |
445 | * testsuite/binutils-all/readelf.exp: Change expected output for | |
446 | readelf -wKis test. | |
447 | * testsuite/binutils-all/readelf.wKis: New file. | |
448 | ||
24841daa NC |
449 | 2019-02-22 Nick Clifton <nickc@redhat.com> |
450 | ||
451 | PR 23843 | |
452 | * dwarf.h (struct separate_info): New structure for containing | |
453 | information on separate debug info files. | |
454 | * dwarf.c (struct dwo_info): New structure for containing dwo | |
455 | links. | |
456 | (first_dwo_info): Chain of dwo_info structures. | |
457 | (first_separate_file): Chain of separate_info structures. | |
458 | (separate_debug_file, separate_debug_filename): Delete. | |
459 | (fetch_alt_indirect_string): Scan all separate debug info files | |
460 | for the requested string. | |
461 | (add_dwo_info): New function. | |
462 | (add_dwo_name): New function. | |
463 | (add_dwo_dir): New function. | |
464 | (add_dwo_id: New function. | |
465 | (free_dwo_info): New function. | |
466 | (read_and_display_attr_value): Store DWO data using the new | |
467 | functions. | |
468 | (load_debug_section_with_follow): If necessary, scan the list of | |
469 | separate debug info files for the requested section. | |
470 | (add_separate_debug_file): New function. | |
471 | (load_separate_debug_info): Call add_separate_debug_file to store | |
472 | the information on the newly loaded file. | |
473 | (load_dwo_file): Likewise. | |
474 | (load_separate_debif_file): Rename to load_separate_debug_files. | |
475 | Change return type to boolean. If following links then attempt to | |
476 | load all separate debug info files, not just the first one. | |
477 | (free_debug_memory): Release memory in dwo_info and separate_info | |
478 | chains. | |
479 | * objdump.c (dump_dwarf): Iterate over all loaded debg info files. | |
480 | * readelf.c (process_object): Likewise. | |
481 | * doc/debug.options.texi: Update descriptions of links and | |
482 | follow-links options. | |
483 | * testsuite/binutils-all/objdump.WK2: Update expected output. | |
484 | * testsuite/binutils-all/readelf.k2: Likewise. | |
485 | * NEWS: Announce the new feature. | |
486 | ||
5cacf1c8 NC |
487 | 2019-02-21 Nick Clifton <nickc@redhat.com> |
488 | ||
489 | PR 24247 | |
490 | * unwind-ia64.c: Include sysdep.h. | |
491 | (unw_decode_x1): Check current pointer against end pointer before | |
492 | accessing memory. | |
493 | (unw_decode_x2): Likewise. | |
494 | (unw_decode_x3): Likewise. | |
495 | (unw_decode_x4): Likewise. | |
496 | (unw_decode_r2): Likewise. | |
497 | (unw_decode_p2_p5): Likewise. | |
498 | (unw_decode_p7_p10): Likewise. | |
499 | (unw_decode): Likewise. | |
500 | ||
8d18bf79 NC |
501 | 2019-02-20 Nick Clifton <nickc@redhat.com> |
502 | ||
3ca60c57 NC |
503 | PR 24246 |
504 | * readelf.c (print_stapsdt_note): Harden against corrupt notes. | |
505 | ||
171375c6 NC |
506 | PR 24244 |
507 | * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to | |
508 | prevent walking off the end of the buffer. | |
509 | (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128. | |
510 | (unw_decode_x2): Likewise. | |
511 | (unw_decode_x3): Likewise. | |
512 | (unw_decode_x4): Likewise. | |
513 | (unw_decode_r2): Pass the end parameter to unw_decode_uleb128. | |
514 | (unw_decode_r3): Likewise. | |
515 | (unw_decode_p7_p10): Likewise. | |
516 | (unw_decode_b2): Likewise. | |
517 | (unw_decode_b3_x4): Likewise. | |
518 | ||
7fc0c668 NC |
519 | PR 24243 |
520 | * readelf.c (process_mips_specific): Check for an options section | |
521 | that is too small to even contain a single option. | |
8d18bf79 | 522 | |
171375c6 NC |
523 | PR 24242 |
524 | * readelf.c (print_ia64_vms_note): Harden against corrupt notes. | |
525 | ||
c22b42ce AM |
526 | 2019-02-20 Alan Modra <amodra@gmail.com> |
527 | ||
528 | PR 24132 | |
529 | PR 24138 | |
530 | * readelf.c (get_data): Avoid possibility of overflow when | |
531 | checking for a read that may extend past end of file. | |
532 | (process_program_headers): Likewise. | |
533 | ||
7d272a55 AM |
534 | 2019-02-20 Alan Modra <amodra@gmail.com> |
535 | ||
536 | PR 24233 | |
537 | * objdump.c (dump_bfd_private_header): Print warning if | |
538 | bfd_print_private_bfd_data returns false. | |
539 | ||
04d7fa21 NC |
540 | 2019-02-12 Nick Clifton <nickc@redhat.com> |
541 | ||
542 | PR 23440 | |
543 | * README-how-to-make-a-release: Use git clean to delete spurious | |
544 | files from the local source repository. | |
545 | ||
46cbf38d AB |
546 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
547 | ||
548 | * size.c (berkeley_format): Delete. | |
549 | (enum output_format): New enum. | |
550 | (selected_output_format): New variable. | |
551 | (usage): Update to mention GNU format. | |
552 | (main): Update to extract options, and select format as needed. | |
553 | Handle GNU format where needed. | |
554 | (berkeley_sum): Renamed to... | |
555 | (berkeley_or_gnu_sum): ...this, and updated to handle both formats. | |
556 | (berkeley_format): Renamed to... | |
557 | (berkeley_or_gnu_format): ...this, and updated to handle both | |
558 | formats. | |
559 | (print_sizes): Handle GNU format. | |
560 | * doc/binutils.texi (size): Document new GNU format. | |
561 | * testsuite/binutils-all/size.exp: Add test of extended | |
562 | functionality. | |
563 | * NEWS: Mention new functionality. | |
564 | ||
96fd92af AB |
565 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
566 | ||
567 | * doc/binutils.texi (size): Update example output for Berkeley | |
568 | format output. | |
569 | ||
2012bf01 NC |
570 | 2019-02-07 Nick Clifton <nickc@redhat.com> |
571 | ||
572 | * README-how-to-make-a-release: Add a note about updating the | |
573 | obsolete targets in the bfd/config.bfd file. | |
574 | ||
082cbd3b NC |
575 | 2019-02-04 Nick Clifton <nickc@redhat.com> |
576 | ||
577 | * README-how-to-make-a-release: Add more notes on making a release. | |
578 | ||
18344509 NC |
579 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
580 | ||
581 | PR 24131 | |
582 | * readelf.c (process_notes_at): Prevent an illegal memory access | |
583 | when the note's namesize is zero. | |
584 | (decode_tic6x_unwind_bytecode): Add code to handle the case where | |
585 | no registers are specified in a frame pop instruction. | |
586 | ||
9ed1348c NC |
587 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
588 | ||
589 | * po/bg.po: Updated Bulgarian translation. | |
590 | ||
d9938630 NC |
591 | 2019-01-23 Nick Clifton <nickc@redhat.com> |
592 | ||
593 | * po/fr.po: Updated French translation. | |
594 | * po/pt.po: Updated Portuguese translation. | |
595 | ||
375cd423 NC |
596 | 2019-01-21 Nick Clifton <nickc@redhat.com> |
597 | ||
598 | * po/uk.po: Updated Ukranian translation. | |
599 | ||
f48dfe41 NC |
600 | 2019-01-19 Nick Clifton <nickc@redhat.com> |
601 | ||
602 | * configure: Regenerate. | |
603 | * binutils/po/binutils.pot. | |
604 | ||
605 | * README-how-to-make-a-release: Update description on how to make | |
606 | a branch. | |
607 | ||
f974f26c NC |
608 | 2018-06-24 Nick Clifton <nickc@redhat.com> |
609 | ||
610 | 2.32 branch created. | |
611 | ||
baae986a NC |
612 | 2019-01-17 Nick Clifton <nickc@redhat.com> |
613 | ||
614 | * objdump.c (disassemble_section): When disassembling from a | |
615 | symbol only stop at the next symbol if the original symbol was not | |
616 | a function symbol. Otherwise continue disassembling until a new | |
617 | function is reached. | |
618 | * testsuite/binutils-all/objdump.exp: Add tests of extended | |
619 | functionality. | |
620 | * testsuite/binutils-all/disasm.s: New test source file. | |
621 | ||
2dc8dd17 JW |
622 | 2019-01-16 Kito Cheng <kito@andestech.com> |
623 | Nelson Chu <nelson@andestech.com> | |
624 | ||
625 | * readelf.c (get_riscv_section_type_name): New function. | |
626 | (get_section_type_name): Add handler for RISC-V. | |
627 | (riscv_attr_tag_t): Declare. | |
628 | (riscv_attr_tag): New. | |
629 | (display_riscv_attribute): New function. | |
630 | (process_attributes): Add handler for RISC-V. | |
631 | * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute | |
632 | section. | |
633 | ||
12add40e NC |
634 | 2019-01-10 Nick Clifton <nickc@redhat.com> |
635 | ||
636 | PR 23963 | |
637 | * objdump.c (sanitize_string): New function. Removes control | |
638 | characters from symbol names. | |
639 | (dump_section_header): Use new function. | |
640 | (objdump_print_symname): Likewise. | |
641 | (objdump_print_addr_with_sym): Likewise. | |
642 | (show_line): Likewise. | |
643 | (disassemble_bytes): Likewise. | |
644 | (disassemble_section): Likewise. | |
645 | (load_specific_debug_section): Likewise. | |
646 | (read_section_stabs): Likewise. | |
647 | (print_section_stabs): Likewise. | |
648 | (dump_section): Likewise. | |
649 | (dump_reloc_set): Likewise. | |
650 | (dump_relocs_in_section): Likewise. | |
651 | (dump_bfd): Likewise. | |
652 | (display_any_bfd): Likewise. | |
653 | ||
28e817cc NC |
654 | 2019-01-09 Nick Clifton <nickc@redhat.com> |
655 | ||
c0b0b1c2 | 656 | PR 24049 |
28e817cc NC |
657 | * readelf.c (process_archive): Use arch.file_name in error |
658 | messages until the qualified name is available. | |
659 | ||
3107326d AP |
660 | 2019-01-09 Andrew Paprocki <andrew@ishiboo.com> |
661 | ||
662 | * configure: Regenerate. | |
663 | ||
923c6a75 AM |
664 | 2019-01-09 Alan Modra <amodra@gmail.com> |
665 | ||
666 | * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores | |
667 | unconditionally to tests needing the option rather than via a | |
668 | list of targets. | |
669 | ||
236f4ebe NC |
670 | 2019-01-08 Nick Clifton <nickc@redhat.com> |
671 | ||
672 | PR 24044 | |
673 | * cxxfilt.c (hp_symbol_characters): Delete. | |
674 | (main): Remove depcreated demangling styles. | |
675 | * stabs.c (parse_stab_argtypes): Remove support for old gnu v2 | |
676 | demangling opnames. | |
677 | * testsuite/binutils-all/cxxfilt.exp: Use the | |
678 | --no-strip-underscore option for targets that do prefix their | |
679 | symbols with underscores. | |
923c6a75 | 680 | Update tests to eliminate those that use gnu v2 encoding. |
236f4ebe | 681 | |
e3ecd631 TC |
682 | 2019-01-08 Tamar Christina <tamar.christina@arm.com> |
683 | ||
684 | PR 24065 | |
685 | * testsuite/binutils-all/copy-6.d: New test. | |
686 | * testsuite/binutils-all/objcopy.exp: Use it. | |
687 | ||
171b8e19 AM |
688 | 2019-01-08 Alan Modra <amodra@gmail.com> |
689 | ||
690 | * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend | |
691 | $srcdir/$subdir to source file name if it starts with "./". | |
692 | ||
693 | 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp> | |
694 | ||
f87673e0 YS |
695 | * readelf.c (get_machine_flags): Add RXv3 output. |
696 | ||
11fa9f13 NC |
697 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
698 | ||
699 | PR 24005 | |
700 | * objdump.c (load_specific_debug_section): Check for integer | |
701 | overflow before attempting to allocate contents. | |
702 | ||
cf0ad5bb NC |
703 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
704 | ||
705 | PR 24001 | |
706 | * objcopy.c (copy_object): Free dhandle after writing out the | |
707 | debug information. | |
708 | * objdump.c (dump_bfd): Free dhandle after printing out the debug | |
709 | information. | |
710 | ||
11fa9f13 | 711 | |
82704155 AM |
712 | 2019-01-01 Alan Modra <amodra@gmail.com> |
713 | ||
714 | Update year range in copyright notice of all files. | |
715 | ||
d5c04e1b | 716 | For older changes see ChangeLog-2018 |
3499769a | 717 | \f |
d5c04e1b | 718 | Copyright (C) 2019 Free Software Foundation, Inc. |
3499769a AM |
719 | |
720 | Copying and distribution of this file, with or without modification, | |
721 | are permitted in any medium without royalty provided the copyright | |
722 | notice and this notice are preserved. | |
723 | ||
724 | Local Variables: | |
725 | mode: change-log | |
726 | left-margin: 8 | |
727 | fill-column: 74 | |
728 | version-control: never | |
729 | End: |