1 2019-04-16 Alan Modra <amodra@gmail.com>
3 * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*.
4 * testsuite/binutils-all/copy-3.d: Likewise.
6 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
8 * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline.
10 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
12 * readelf.c (decode_x86_isa): Handle
13 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
14 * testsuite/binutils-all/i386/pr21231b.d: Updated.
15 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
17 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
19 * testsuite/binutils-all/nm.exp: Count i386-moss as ELF.
21 2019-03-26 Tamar Christina <tamar.christina@arm.com>
23 * testsuite/binutils-all/aarch64/in-order-all.d: Update.
24 * testsuite/binutils-all/aarch64/in-order.d: Likewise.
25 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
26 * testsuite/binutils-all/aarch64/out-of-order.d: Likewise.
27 * testsuite/binutils-all/aarch64/out-of-order.s: Likewise.
28 * testsuite/binutils-all/arm/in-order-all.d: Likewise.
29 * testsuite/binutils-all/arm/in-order.d: Likewise.
30 * testsuite/binutils-all/arm/out-of-order-all.d: Likewise.
31 * testsuite/binutils-all/arm/out-of-order.d: Likewise.
32 * testsuite/binutils-all/arm/out-of-order.s: Likewise.
34 2019-03-26 Nick Clifton <nickc@redhat.com>
36 * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30,
39 2019-03-26 Alan Modra <amodra@gmail.com>
41 * objdump.c (dump_relocs_in_section): Warning fix.
43 2019-03-25 Tamar Christina <tamar.christina@arm.com>
45 * testsuite/binutils-all/arm/in-order-all.d: New test.
46 * testsuite/binutils-all/arm/in-order.d: New test.
47 * testsuite/binutils-all/arm/objdump.exp: Support .d tests.
48 * testsuite/binutils-all/arm/out-of-order-all.d: New test.
49 * testsuite/binutils-all/arm/out-of-order.T: New test.
50 * testsuite/binutils-all/arm/out-of-order.d: New test.
51 * testsuite/binutils-all/arm/out-of-order.s: New test.
54 2019-03-25 Tamar Christina <tamar.christina@arm.com>
56 * testsuite/binutils-all/aarch64/in-order-all.d: New test.
57 * testsuite/binutils-all/aarch64/out-of-order-all.d: New test.
58 * testsuite/binutils-all/aarch64/out-of-order.d:
60 2019-03-25 Tamar Christina <tamar.christina@arm.com>
62 * testsuite/binutils-all/aarch64/in-order.d: New test.
63 * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as
66 2019-03-25 Tamar Christina <tamar.christina@arm.com>
68 * objdump.c (disassemble_bytes): Pass stop_offset.
69 * testsuite/binutils-all/aarch64/out-of-order.T: New test.
70 * testsuite/binutils-all/aarch64/out-of-order.d: New test.
71 * testsuite/binutils-all/aarch64/out-of-order.s: New test.
73 2019-03-19 Nick Clifton <nickc@redhat.com>
76 * objdump.c (load_specific_debug_section): Check that the amount
77 of memory to be allocated matches the size of the section.
79 2019-03-13 Sudakshina Das <sudi.das@arm.com>
81 * readelf.c (get_aarch64_dynamic_type): Add case for
83 (dynamic_section_aarch64_val): Likewise.
85 2019-03-13 Sudakshina Das <sudi.das@arm.com>
86 Szabolcs Nagy <szabolcs.nagy@arm.com>
88 * readelf.c (get_aarch64_dynamic_type): New.
89 (get_dynamic_type): Use above for EM_AARCH64.
90 (dynamic_section_aarch64_val): New.
91 (process_dynamic_section): Use above for EM_AARCH64.
93 2019-03-13 Sudakshina Das <sudi.das@arm.com>
95 * readelf.c (decode_aarch64_feature_1_and): New.
96 (print_gnu_property_note): Add case for AArch64 gnu notes.
98 2019-03-12 Alan Modra <amodra@gmail.com>
100 * objdump.c (load_specific_debug_section): Don't compare section
101 size against file size.
102 (dump_relocs_in_section): Don't compare reloc size against file size.
103 Print "failed to read relocs" on bfd_get_reloc_upper_bound error.
105 2019-03-05 Nick Clifton <nickc@redhat.com>
108 * doc/binutils.texi (ar cmdline): Fix spelling mistake.
110 2019-03-05 Nick Clifton <nickc@redhat.com>
112 * po/sv.po: Updated Swedish translation.
114 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
117 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
118 of "lmap" with a "foreach" loop.
120 2019-03-04 Nick Clifton <nickc@redhat.com>
123 * objcopy.c (copy_archive): Do not copy thin archives.
125 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
127 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
129 2019-02-25 Nick Clifton <nickc@redhat.com>
131 * objdump.c (sym_ok): New function.
132 (find_symbol_for_address): Use new function.
133 (disassemble_section): Compare sections by name, not pointer.
134 (dump_dwarf): Move code to initialise byte_get pointer and iterate
135 over separate debug files from here to ...
136 (dump_bfd): ... here. Add parameter indicating that a separate
137 debug info file is being dumped. For main file, pull in the
138 symbol tables from all separate debug info files.
139 (display_object): Update call to dump_bfd.
140 * doc/binutils.texi: Document extened behaviour of the
141 --dwarf=follow-links option.
142 * NEWS: Mention this new feature.
143 * testsuite/binutils-all/objdump.WK2: Update expected output.
144 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
145 options and dump file parameters.
147 * testsuite/binutils-all/objdump.WK3: New file.
148 * testsuite/binutils-all/readelf.exp: Change expected output for
150 * testsuite/binutils-all/readelf.wKis: New file.
152 2019-02-22 Nick Clifton <nickc@redhat.com>
155 * dwarf.h (struct separate_info): New structure for containing
156 information on separate debug info files.
157 * dwarf.c (struct dwo_info): New structure for containing dwo
159 (first_dwo_info): Chain of dwo_info structures.
160 (first_separate_file): Chain of separate_info structures.
161 (separate_debug_file, separate_debug_filename): Delete.
162 (fetch_alt_indirect_string): Scan all separate debug info files
163 for the requested string.
164 (add_dwo_info): New function.
165 (add_dwo_name): New function.
166 (add_dwo_dir): New function.
167 (add_dwo_id: New function.
168 (free_dwo_info): New function.
169 (read_and_display_attr_value): Store DWO data using the new
171 (load_debug_section_with_follow): If necessary, scan the list of
172 separate debug info files for the requested section.
173 (add_separate_debug_file): New function.
174 (load_separate_debug_info): Call add_separate_debug_file to store
175 the information on the newly loaded file.
176 (load_dwo_file): Likewise.
177 (load_separate_debif_file): Rename to load_separate_debug_files.
178 Change return type to boolean. If following links then attempt to
179 load all separate debug info files, not just the first one.
180 (free_debug_memory): Release memory in dwo_info and separate_info
182 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
183 * readelf.c (process_object): Likewise.
184 * doc/debug.options.texi: Update descriptions of links and
185 follow-links options.
186 * testsuite/binutils-all/objdump.WK2: Update expected output.
187 * testsuite/binutils-all/readelf.k2: Likewise.
188 * NEWS: Announce the new feature.
190 2019-02-21 Nick Clifton <nickc@redhat.com>
193 * unwind-ia64.c: Include sysdep.h.
194 (unw_decode_x1): Check current pointer against end pointer before
196 (unw_decode_x2): Likewise.
197 (unw_decode_x3): Likewise.
198 (unw_decode_x4): Likewise.
199 (unw_decode_r2): Likewise.
200 (unw_decode_p2_p5): Likewise.
201 (unw_decode_p7_p10): Likewise.
202 (unw_decode): Likewise.
204 2019-02-20 Nick Clifton <nickc@redhat.com>
207 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
210 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
211 prevent walking off the end of the buffer.
212 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
213 (unw_decode_x2): Likewise.
214 (unw_decode_x3): Likewise.
215 (unw_decode_x4): Likewise.
216 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
217 (unw_decode_r3): Likewise.
218 (unw_decode_p7_p10): Likewise.
219 (unw_decode_b2): Likewise.
220 (unw_decode_b3_x4): Likewise.
223 * readelf.c (process_mips_specific): Check for an options section
224 that is too small to even contain a single option.
227 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
229 2019-02-20 Alan Modra <amodra@gmail.com>
233 * readelf.c (get_data): Avoid possibility of overflow when
234 checking for a read that may extend past end of file.
235 (process_program_headers): Likewise.
237 2019-02-20 Alan Modra <amodra@gmail.com>
240 * objdump.c (dump_bfd_private_header): Print warning if
241 bfd_print_private_bfd_data returns false.
243 2019-02-12 Nick Clifton <nickc@redhat.com>
246 * README-how-to-make-a-release: Use git clean to delete spurious
247 files from the local source repository.
249 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
251 * size.c (berkeley_format): Delete.
252 (enum output_format): New enum.
253 (selected_output_format): New variable.
254 (usage): Update to mention GNU format.
255 (main): Update to extract options, and select format as needed.
256 Handle GNU format where needed.
257 (berkeley_sum): Renamed to...
258 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
259 (berkeley_format): Renamed to...
260 (berkeley_or_gnu_format): ...this, and updated to handle both
262 (print_sizes): Handle GNU format.
263 * doc/binutils.texi (size): Document new GNU format.
264 * testsuite/binutils-all/size.exp: Add test of extended
266 * NEWS: Mention new functionality.
268 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
270 * doc/binutils.texi (size): Update example output for Berkeley
273 2019-02-07 Nick Clifton <nickc@redhat.com>
275 * README-how-to-make-a-release: Add a note about updating the
276 obsolete targets in the bfd/config.bfd file.
278 2019-02-04 Nick Clifton <nickc@redhat.com>
280 * README-how-to-make-a-release: Add more notes on making a release.
282 2019-01-25 Nick Clifton <nickc@redhat.com>
285 * readelf.c (process_notes_at): Prevent an illegal memory access
286 when the note's namesize is zero.
287 (decode_tic6x_unwind_bytecode): Add code to handle the case where
288 no registers are specified in a frame pop instruction.
290 2019-01-25 Nick Clifton <nickc@redhat.com>
292 * po/bg.po: Updated Bulgarian translation.
294 2019-01-23 Nick Clifton <nickc@redhat.com>
296 * po/fr.po: Updated French translation.
297 * po/pt.po: Updated Portuguese translation.
299 2019-01-21 Nick Clifton <nickc@redhat.com>
301 * po/uk.po: Updated Ukranian translation.
303 2019-01-19 Nick Clifton <nickc@redhat.com>
305 * configure: Regenerate.
306 * binutils/po/binutils.pot.
308 * README-how-to-make-a-release: Update description on how to make
311 2018-06-24 Nick Clifton <nickc@redhat.com>
315 2019-01-17 Nick Clifton <nickc@redhat.com>
317 * objdump.c (disassemble_section): When disassembling from a
318 symbol only stop at the next symbol if the original symbol was not
319 a function symbol. Otherwise continue disassembling until a new
321 * testsuite/binutils-all/objdump.exp: Add tests of extended
323 * testsuite/binutils-all/disasm.s: New test source file.
325 2019-01-16 Kito Cheng <kito@andestech.com>
326 Nelson Chu <nelson@andestech.com>
328 * readelf.c (get_riscv_section_type_name): New function.
329 (get_section_type_name): Add handler for RISC-V.
330 (riscv_attr_tag_t): Declare.
331 (riscv_attr_tag): New.
332 (display_riscv_attribute): New function.
333 (process_attributes): Add handler for RISC-V.
334 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
337 2019-01-10 Nick Clifton <nickc@redhat.com>
340 * objdump.c (sanitize_string): New function. Removes control
341 characters from symbol names.
342 (dump_section_header): Use new function.
343 (objdump_print_symname): Likewise.
344 (objdump_print_addr_with_sym): Likewise.
345 (show_line): Likewise.
346 (disassemble_bytes): Likewise.
347 (disassemble_section): Likewise.
348 (load_specific_debug_section): Likewise.
349 (read_section_stabs): Likewise.
350 (print_section_stabs): Likewise.
351 (dump_section): Likewise.
352 (dump_reloc_set): Likewise.
353 (dump_relocs_in_section): Likewise.
354 (dump_bfd): Likewise.
355 (display_any_bfd): Likewise.
357 2019-01-09 Nick Clifton <nickc@redhat.com>
360 * readelf.c (process_archive): Use arch.file_name in error
361 messages until the qualified name is available.
363 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
365 * configure: Regenerate.
367 2019-01-09 Alan Modra <amodra@gmail.com>
369 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
370 unconditionally to tests needing the option rather than via a
373 2019-01-08 Nick Clifton <nickc@redhat.com>
376 * cxxfilt.c (hp_symbol_characters): Delete.
377 (main): Remove depcreated demangling styles.
378 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
380 * testsuite/binutils-all/cxxfilt.exp: Use the
381 --no-strip-underscore option for targets that do prefix their
382 symbols with underscores.
383 Update tests to eliminate those that use gnu v2 encoding.
385 2019-01-08 Tamar Christina <tamar.christina@arm.com>
388 * testsuite/binutils-all/copy-6.d: New test.
389 * testsuite/binutils-all/objcopy.exp: Use it.
391 2019-01-08 Alan Modra <amodra@gmail.com>
393 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
394 $srcdir/$subdir to source file name if it starts with "./".
396 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
398 * readelf.c (get_machine_flags): Add RXv3 output.
400 2019-01-04 Nick Clifton <nickc@redhat.com>
403 * objdump.c (load_specific_debug_section): Check for integer
404 overflow before attempting to allocate contents.
406 2019-01-04 Nick Clifton <nickc@redhat.com>
409 * objcopy.c (copy_object): Free dhandle after writing out the
411 * objdump.c (dump_bfd): Free dhandle after printing out the debug
415 2019-01-01 Alan Modra <amodra@gmail.com>
417 Update year range in copyright notice of all files.
419 For older changes see ChangeLog-2018
421 Copyright (C) 2019 Free Software Foundation, Inc.
423 Copying and distribution of this file, with or without modification,
424 are permitted in any medium without royalty provided the copyright
425 notice and this notice are preserved.
431 version-control: never