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