1 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
3 * MAINTAINERS: Add myself as the maintainer for BPF.
5 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
7 * readelf.c: Include elf/bpf.h.
8 (guess_is_rela): Hanle EM_BPF.
9 (dump_relocations): Likewise.
10 (is_32bit_abs_reloc): Likewise.
11 * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of
14 2019-05-21 Tamar Christina <tamar.christina@arm.com>
16 * dwarf.c (dwarf_regnames_aarch64): Add SVE registers.
17 * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test.
18 * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test.
20 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
23 * testsuite/binutils-all/readelf.ss-mips: Update reference output.
24 * testsuite/binutils-all/readelf.ss-tmips: Likewise.
26 2019-05-20 Nick Clifton <nickc@redhat.com>
28 * po/ca.po: Updated Catalan translation.
30 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
32 * NEWS: Mention Armv8.1-M Mainline and MVE.
34 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
36 * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values.
37 (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch.
39 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com>
42 * objcopy.c: Add new option --verilog-data-width. Use it to set
43 the value of VerilogDataWidth.
44 * doc/binutils.texi: Document the new option.
45 * testsuite/binutils-all/objcopy.exp: Run tests of new option.
46 * testsuite/binutils-all/verilog-1.hex: New file.
47 * testsuite/binutils-all/verilog-2.hex: New file.
48 * testsuite/binutils-all/verilog-4.hex: New file.
49 * testsuite/binutils-all/verilog-8.hex: New file.
50 * NEWS: Mention the new feature.
52 2019-05-10 Alan Modra <amodra@gmail.com>
54 * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited),
55 (test_objdump_content_limited): Add text arg, use in place of .text.
56 (bintest_signed.o): Call get_standard_section_names for name of
59 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com>
61 * objdump.c (sign_extend_address): New function.
62 (dump_bfd): Sign-extend user-specified start/stop addresses
63 for targets that need it.
64 * testsuite/binutils-all/objdump.exp: Add tests for objdump
65 with start and stop addresses in higher address ranges.
67 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com>
69 * testsuite/binutils-all/objdump.exp: Correct executable
71 * testsuite/binutils-all/compress.exp: Likewise.
73 2019-05-01 Nick Clifton <nickc@redhat.com>
76 * nm.c: (print_format): New variable.
77 (value_format_32bit, value_format_64bit): Delete.
78 (set_print_radix): Remove code to alter value_format strings.
79 (set_output_format): Record chosen format in print_format.
80 (get_print_format): New function - constructs a printf formatting
81 string according to the requirements of size, radix, and output
83 (print_value): Use get_print_format.
84 * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix"
87 2019-04-30 Alan Modra <amodra@gmail.com>
89 * wrstabs.c (stab_start_class_type): Add assert to work around
92 2019-04-24 Nick Clifton <nickc@redhat.com>
94 * objcopy.c (strip_main): Do not enable note merging by default if
95 just stripping debug or dwo information.
96 * doc/binutils.texi (strip): Update documentation.
98 2019-04-23 Nick Clifton <nickc@redhat.com>
100 * README-how-to-make-a-release: Add note to update the symbolic
101 link from "docs" to "docs-2.x" on the sourceware website.
103 2019-04-16 Alan Modra <amodra@gmail.com>
105 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
106 * testsuite/binutils-all/copy-3.d: Likewise.
108 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
110 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
112 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
114 * readelf.c (decode_x86_isa): Handle
115 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
116 * testsuite/binutils-all/i386/pr21231b.d: Updated.
117 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
119 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
121 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
123 2019-03-26 Tamar Christina <tamar.christina@arm.com>
125 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
126 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
127 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
128 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
129 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
130 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
131 * testsuite/binutils-all/arm/in-order.d: Likewise.
132 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
133 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
134 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
136 2019-03-26 Nick Clifton <nickc@redhat.com>
138 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
141 2019-03-26 Alan Modra <amodra@gmail.com>
143 * objdump.c (dump_relocs_in_section): Warning fix.
145 2019-03-25 Tamar Christina <tamar.christina@arm.com>
147 * testsuite/binutils-all/arm/in-order-all.d: New test.
148 * testsuite/binutils-all/arm/in-order.d: New test.
149 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
150 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
151 * testsuite/binutils-all/arm/out-of-order.T: New test.
152 * testsuite/binutils-all/arm/out-of-order.d: New test.
153 * testsuite/binutils-all/arm/out-of-order.s: New test.
156 2019-03-25 Tamar Christina <tamar.christina@arm.com>
158 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
159 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
160 * testsuite/binutils-all/aarch64/out-of-order.d:
162 2019-03-25 Tamar Christina <tamar.christina@arm.com>
164 * testsuite/binutils-all/aarch64/in-order.d: New test.
165 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
168 2019-03-25 Tamar Christina <tamar.christina@arm.com>
170 * objdump.c (disassemble_bytes): Pass stop_offset.
171 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
172 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
173 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
175 2019-03-19 Nick Clifton <nickc@redhat.com>
178 * objdump.c (load_specific_debug_section): Check that the amount
179 of memory to be allocated matches the size of the section.
181 2019-03-13 Sudakshina Das <sudi.das@arm.com>
183 * readelf.c (get_aarch64_dynamic_type): Add case for
185 (dynamic_section_aarch64_val): Likewise.
187 2019-03-13 Sudakshina Das <sudi.das@arm.com>
188 Szabolcs Nagy <szabolcs.nagy@arm.com>
190 * readelf.c (get_aarch64_dynamic_type): New.
191 (get_dynamic_type): Use above for EM_AARCH64.
192 (dynamic_section_aarch64_val): New.
193 (process_dynamic_section): Use above for EM_AARCH64.
195 2019-03-13 Sudakshina Das <sudi.das@arm.com>
197 * readelf.c (decode_aarch64_feature_1_and): New.
198 (print_gnu_property_note): Add case for AArch64 gnu notes.
200 2019-03-12 Alan Modra <amodra@gmail.com>
202 * objdump.c (load_specific_debug_section): Don't compare section
203 size against file size.
204 (dump_relocs_in_section): Don't compare reloc size against file size.
205 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
207 2019-03-05 Nick Clifton <nickc@redhat.com>
210 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
212 2019-03-05 Nick Clifton <nickc@redhat.com>
214 * po/sv.po: Updated Swedish translation.
216 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
219 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
220 of "lmap" with a "foreach" loop.
222 2019-03-04 Nick Clifton <nickc@redhat.com>
225 * objcopy.c (copy_archive): Do not copy thin archives.
227 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
229 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
231 2019-02-25 Nick Clifton <nickc@redhat.com>
233 * objdump.c (sym_ok): New function.
234 (find_symbol_for_address): Use new function.
235 (disassemble_section): Compare sections by name, not pointer.
236 (dump_dwarf): Move code to initialise byte_get pointer and iterate
237 over separate debug files from here to ...
238 (dump_bfd): ... here. Add parameter indicating that a separate
239 debug info file is being dumped. For main file, pull in the
240 symbol tables from all separate debug info files.
241 (display_object): Update call to dump_bfd.
242 * doc/binutils.texi: Document extened behaviour of the
243 --dwarf=follow-links option.
244 * NEWS: Mention this new feature.
245 * testsuite/binutils-all/objdump.WK2: Update expected output.
246 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
247 options and dump file parameters.
249 * testsuite/binutils-all/objdump.WK3: New file.
250 * testsuite/binutils-all/readelf.exp: Change expected output for
252 * testsuite/binutils-all/readelf.wKis: New file.
254 2019-02-22 Nick Clifton <nickc@redhat.com>
257 * dwarf.h (struct separate_info): New structure for containing
258 information on separate debug info files.
259 * dwarf.c (struct dwo_info): New structure for containing dwo
261 (first_dwo_info): Chain of dwo_info structures.
262 (first_separate_file): Chain of separate_info structures.
263 (separate_debug_file, separate_debug_filename): Delete.
264 (fetch_alt_indirect_string): Scan all separate debug info files
265 for the requested string.
266 (add_dwo_info): New function.
267 (add_dwo_name): New function.
268 (add_dwo_dir): New function.
269 (add_dwo_id: New function.
270 (free_dwo_info): New function.
271 (read_and_display_attr_value): Store DWO data using the new
273 (load_debug_section_with_follow): If necessary, scan the list of
274 separate debug info files for the requested section.
275 (add_separate_debug_file): New function.
276 (load_separate_debug_info): Call add_separate_debug_file to store
277 the information on the newly loaded file.
278 (load_dwo_file): Likewise.
279 (load_separate_debif_file): Rename to load_separate_debug_files.
280 Change return type to boolean. If following links then attempt to
281 load all separate debug info files, not just the first one.
282 (free_debug_memory): Release memory in dwo_info and separate_info
284 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
285 * readelf.c (process_object): Likewise.
286 * doc/debug.options.texi: Update descriptions of links and
287 follow-links options.
288 * testsuite/binutils-all/objdump.WK2: Update expected output.
289 * testsuite/binutils-all/readelf.k2: Likewise.
290 * NEWS: Announce the new feature.
292 2019-02-21 Nick Clifton <nickc@redhat.com>
295 * unwind-ia64.c: Include sysdep.h.
296 (unw_decode_x1): Check current pointer against end pointer before
298 (unw_decode_x2): Likewise.
299 (unw_decode_x3): Likewise.
300 (unw_decode_x4): Likewise.
301 (unw_decode_r2): Likewise.
302 (unw_decode_p2_p5): Likewise.
303 (unw_decode_p7_p10): Likewise.
304 (unw_decode): Likewise.
306 2019-02-20 Nick Clifton <nickc@redhat.com>
309 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
312 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
313 prevent walking off the end of the buffer.
314 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
315 (unw_decode_x2): Likewise.
316 (unw_decode_x3): Likewise.
317 (unw_decode_x4): Likewise.
318 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
319 (unw_decode_r3): Likewise.
320 (unw_decode_p7_p10): Likewise.
321 (unw_decode_b2): Likewise.
322 (unw_decode_b3_x4): Likewise.
325 * readelf.c (process_mips_specific): Check for an options section
326 that is too small to even contain a single option.
329 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
331 2019-02-20 Alan Modra <amodra@gmail.com>
335 * readelf.c (get_data): Avoid possibility of overflow when
336 checking for a read that may extend past end of file.
337 (process_program_headers): Likewise.
339 2019-02-20 Alan Modra <amodra@gmail.com>
342 * objdump.c (dump_bfd_private_header): Print warning if
343 bfd_print_private_bfd_data returns false.
345 2019-02-12 Nick Clifton <nickc@redhat.com>
348 * README-how-to-make-a-release: Use git clean to delete spurious
349 files from the local source repository.
351 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
353 * size.c (berkeley_format): Delete.
354 (enum output_format): New enum.
355 (selected_output_format): New variable.
356 (usage): Update to mention GNU format.
357 (main): Update to extract options, and select format as needed.
358 Handle GNU format where needed.
359 (berkeley_sum): Renamed to...
360 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
361 (berkeley_format): Renamed to...
362 (berkeley_or_gnu_format): ...this, and updated to handle both
364 (print_sizes): Handle GNU format.
365 * doc/binutils.texi (size): Document new GNU format.
366 * testsuite/binutils-all/size.exp: Add test of extended
368 * NEWS: Mention new functionality.
370 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
372 * doc/binutils.texi (size): Update example output for Berkeley
375 2019-02-07 Nick Clifton <nickc@redhat.com>
377 * README-how-to-make-a-release: Add a note about updating the
378 obsolete targets in the bfd/config.bfd file.
380 2019-02-04 Nick Clifton <nickc@redhat.com>
382 * README-how-to-make-a-release: Add more notes on making a release.
384 2019-01-25 Nick Clifton <nickc@redhat.com>
387 * readelf.c (process_notes_at): Prevent an illegal memory access
388 when the note's namesize is zero.
389 (decode_tic6x_unwind_bytecode): Add code to handle the case where
390 no registers are specified in a frame pop instruction.
392 2019-01-25 Nick Clifton <nickc@redhat.com>
394 * po/bg.po: Updated Bulgarian translation.
396 2019-01-23 Nick Clifton <nickc@redhat.com>
398 * po/fr.po: Updated French translation.
399 * po/pt.po: Updated Portuguese translation.
401 2019-01-21 Nick Clifton <nickc@redhat.com>
403 * po/uk.po: Updated Ukranian translation.
405 2019-01-19 Nick Clifton <nickc@redhat.com>
407 * configure: Regenerate.
408 * binutils/po/binutils.pot.
410 * README-how-to-make-a-release: Update description on how to make
413 2018-06-24 Nick Clifton <nickc@redhat.com>
417 2019-01-17 Nick Clifton <nickc@redhat.com>
419 * objdump.c (disassemble_section): When disassembling from a
420 symbol only stop at the next symbol if the original symbol was not
421 a function symbol. Otherwise continue disassembling until a new
423 * testsuite/binutils-all/objdump.exp: Add tests of extended
425 * testsuite/binutils-all/disasm.s: New test source file.
427 2019-01-16 Kito Cheng <kito@andestech.com>
428 Nelson Chu <nelson@andestech.com>
430 * readelf.c (get_riscv_section_type_name): New function.
431 (get_section_type_name): Add handler for RISC-V.
432 (riscv_attr_tag_t): Declare.
433 (riscv_attr_tag): New.
434 (display_riscv_attribute): New function.
435 (process_attributes): Add handler for RISC-V.
436 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
439 2019-01-10 Nick Clifton <nickc@redhat.com>
442 * objdump.c (sanitize_string): New function. Removes control
443 characters from symbol names.
444 (dump_section_header): Use new function.
445 (objdump_print_symname): Likewise.
446 (objdump_print_addr_with_sym): Likewise.
447 (show_line): Likewise.
448 (disassemble_bytes): Likewise.
449 (disassemble_section): Likewise.
450 (load_specific_debug_section): Likewise.
451 (read_section_stabs): Likewise.
452 (print_section_stabs): Likewise.
453 (dump_section): Likewise.
454 (dump_reloc_set): Likewise.
455 (dump_relocs_in_section): Likewise.
456 (dump_bfd): Likewise.
457 (display_any_bfd): Likewise.
459 2019-01-09 Nick Clifton <nickc@redhat.com>
462 * readelf.c (process_archive): Use arch.file_name in error
463 messages until the qualified name is available.
465 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
467 * configure: Regenerate.
469 2019-01-09 Alan Modra <amodra@gmail.com>
471 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
472 unconditionally to tests needing the option rather than via a
475 2019-01-08 Nick Clifton <nickc@redhat.com>
478 * cxxfilt.c (hp_symbol_characters): Delete.
479 (main): Remove depcreated demangling styles.
480 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
482 * testsuite/binutils-all/cxxfilt.exp: Use the
483 --no-strip-underscore option for targets that do prefix their
484 symbols with underscores.
485 Update tests to eliminate those that use gnu v2 encoding.
487 2019-01-08 Tamar Christina <tamar.christina@arm.com>
490 * testsuite/binutils-all/copy-6.d: New test.
491 * testsuite/binutils-all/objcopy.exp: Use it.
493 2019-01-08 Alan Modra <amodra@gmail.com>
495 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
496 $srcdir/$subdir to source file name if it starts with "./".
498 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
500 * readelf.c (get_machine_flags): Add RXv3 output.
502 2019-01-04 Nick Clifton <nickc@redhat.com>
505 * objdump.c (load_specific_debug_section): Check for integer
506 overflow before attempting to allocate contents.
508 2019-01-04 Nick Clifton <nickc@redhat.com>
511 * objcopy.c (copy_object): Free dhandle after writing out the
513 * objdump.c (dump_bfd): Free dhandle after printing out the debug
517 2019-01-01 Alan Modra <amodra@gmail.com>
519 Update year range in copyright notice of all files.
521 For older changes see ChangeLog-2018
523 Copyright (C) 2019 Free Software Foundation, Inc.
525 Copying and distribution of this file, with or without modification,
526 are permitted in any medium without royalty provided the copyright
527 notice and this notice are preserved.
533 version-control: never