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