1 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com>
4 * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use
5 of "lmap" with a "foreach" loop.
7 2019-03-04 Nick Clifton <nickc@redhat.com>
10 * objcopy.c (copy_archive): Do not copy thin archives.
12 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
14 * testsuite/lib/binutils-common.exp: Allow multiple "as" lines.
16 2019-02-25 Nick Clifton <nickc@redhat.com>
18 * objdump.c (sym_ok): New function.
19 (find_symbol_for_address): Use new function.
20 (disassemble_section): Compare sections by name, not pointer.
21 (dump_dwarf): Move code to initialise byte_get pointer and iterate
22 over separate debug files from here to ...
23 (dump_bfd): ... here. Add parameter indicating that a separate
24 debug info file is being dumped. For main file, pull in the
25 symbol tables from all separate debug info files.
26 (display_object): Update call to dump_bfd.
27 * doc/binutils.texi: Document extened behaviour of the
28 --dwarf=follow-links option.
29 * NEWS: Mention this new feature.
30 * testsuite/binutils-all/objdump.WK2: Update expected output.
31 * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add
32 options and dump file parameters.
34 * testsuite/binutils-all/objdump.WK3: New file.
35 * testsuite/binutils-all/readelf.exp: Change expected output for
37 * testsuite/binutils-all/readelf.wKis: New file.
39 2019-02-22 Nick Clifton <nickc@redhat.com>
42 * dwarf.h (struct separate_info): New structure for containing
43 information on separate debug info files.
44 * dwarf.c (struct dwo_info): New structure for containing dwo
46 (first_dwo_info): Chain of dwo_info structures.
47 (first_separate_file): Chain of separate_info structures.
48 (separate_debug_file, separate_debug_filename): Delete.
49 (fetch_alt_indirect_string): Scan all separate debug info files
50 for the requested string.
51 (add_dwo_info): New function.
52 (add_dwo_name): New function.
53 (add_dwo_dir): New function.
54 (add_dwo_id: New function.
55 (free_dwo_info): New function.
56 (read_and_display_attr_value): Store DWO data using the new
58 (load_debug_section_with_follow): If necessary, scan the list of
59 separate debug info files for the requested section.
60 (add_separate_debug_file): New function.
61 (load_separate_debug_info): Call add_separate_debug_file to store
62 the information on the newly loaded file.
63 (load_dwo_file): Likewise.
64 (load_separate_debif_file): Rename to load_separate_debug_files.
65 Change return type to boolean. If following links then attempt to
66 load all separate debug info files, not just the first one.
67 (free_debug_memory): Release memory in dwo_info and separate_info
69 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
70 * readelf.c (process_object): Likewise.
71 * doc/debug.options.texi: Update descriptions of links and
73 * testsuite/binutils-all/objdump.WK2: Update expected output.
74 * testsuite/binutils-all/readelf.k2: Likewise.
75 * NEWS: Announce the new feature.
77 2019-02-21 Nick Clifton <nickc@redhat.com>
80 * unwind-ia64.c: Include sysdep.h.
81 (unw_decode_x1): Check current pointer against end pointer before
83 (unw_decode_x2): Likewise.
84 (unw_decode_x3): Likewise.
85 (unw_decode_x4): Likewise.
86 (unw_decode_r2): Likewise.
87 (unw_decode_p2_p5): Likewise.
88 (unw_decode_p7_p10): Likewise.
89 (unw_decode): Likewise.
91 2019-02-20 Nick Clifton <nickc@redhat.com>
94 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
97 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
98 prevent walking off the end of the buffer.
99 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
100 (unw_decode_x2): Likewise.
101 (unw_decode_x3): Likewise.
102 (unw_decode_x4): Likewise.
103 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
104 (unw_decode_r3): Likewise.
105 (unw_decode_p7_p10): Likewise.
106 (unw_decode_b2): Likewise.
107 (unw_decode_b3_x4): Likewise.
110 * readelf.c (process_mips_specific): Check for an options section
111 that is too small to even contain a single option.
114 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
116 2019-02-20 Alan Modra <amodra@gmail.com>
120 * readelf.c (get_data): Avoid possibility of overflow when
121 checking for a read that may extend past end of file.
122 (process_program_headers): Likewise.
124 2019-02-20 Alan Modra <amodra@gmail.com>
127 * objdump.c (dump_bfd_private_header): Print warning if
128 bfd_print_private_bfd_data returns false.
130 2019-02-12 Nick Clifton <nickc@redhat.com>
133 * README-how-to-make-a-release: Use git clean to delete spurious
134 files from the local source repository.
136 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
138 * size.c (berkeley_format): Delete.
139 (enum output_format): New enum.
140 (selected_output_format): New variable.
141 (usage): Update to mention GNU format.
142 (main): Update to extract options, and select format as needed.
143 Handle GNU format where needed.
144 (berkeley_sum): Renamed to...
145 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
146 (berkeley_format): Renamed to...
147 (berkeley_or_gnu_format): ...this, and updated to handle both
149 (print_sizes): Handle GNU format.
150 * doc/binutils.texi (size): Document new GNU format.
151 * testsuite/binutils-all/size.exp: Add test of extended
153 * NEWS: Mention new functionality.
155 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
157 * doc/binutils.texi (size): Update example output for Berkeley
160 2019-02-07 Nick Clifton <nickc@redhat.com>
162 * README-how-to-make-a-release: Add a note about updating the
163 obsolete targets in the bfd/config.bfd file.
165 2019-02-04 Nick Clifton <nickc@redhat.com>
167 * README-how-to-make-a-release: Add more notes on making a release.
169 2019-01-25 Nick Clifton <nickc@redhat.com>
172 * readelf.c (process_notes_at): Prevent an illegal memory access
173 when the note's namesize is zero.
174 (decode_tic6x_unwind_bytecode): Add code to handle the case where
175 no registers are specified in a frame pop instruction.
177 2019-01-25 Nick Clifton <nickc@redhat.com>
179 * po/bg.po: Updated Bulgarian translation.
181 2019-01-23 Nick Clifton <nickc@redhat.com>
183 * po/fr.po: Updated French translation.
184 * po/pt.po: Updated Portuguese translation.
186 2019-01-21 Nick Clifton <nickc@redhat.com>
188 * po/uk.po: Updated Ukranian translation.
190 2019-01-19 Nick Clifton <nickc@redhat.com>
192 * configure: Regenerate.
193 * binutils/po/binutils.pot.
195 * README-how-to-make-a-release: Update description on how to make
198 2018-06-24 Nick Clifton <nickc@redhat.com>
202 2019-01-17 Nick Clifton <nickc@redhat.com>
204 * objdump.c (disassemble_section): When disassembling from a
205 symbol only stop at the next symbol if the original symbol was not
206 a function symbol. Otherwise continue disassembling until a new
208 * testsuite/binutils-all/objdump.exp: Add tests of extended
210 * testsuite/binutils-all/disasm.s: New test source file.
212 2019-01-16 Kito Cheng <kito@andestech.com>
213 Nelson Chu <nelson@andestech.com>
215 * readelf.c (get_riscv_section_type_name): New function.
216 (get_section_type_name): Add handler for RISC-V.
217 (riscv_attr_tag_t): Declare.
218 (riscv_attr_tag): New.
219 (display_riscv_attribute): New function.
220 (process_attributes): Add handler for RISC-V.
221 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
224 2019-01-10 Nick Clifton <nickc@redhat.com>
227 * objdump.c (sanitize_string): New function. Removes control
228 characters from symbol names.
229 (dump_section_header): Use new function.
230 (objdump_print_symname): Likewise.
231 (objdump_print_addr_with_sym): Likewise.
232 (show_line): Likewise.
233 (disassemble_bytes): Likewise.
234 (disassemble_section): Likewise.
235 (load_specific_debug_section): Likewise.
236 (read_section_stabs): Likewise.
237 (print_section_stabs): Likewise.
238 (dump_section): Likewise.
239 (dump_reloc_set): Likewise.
240 (dump_relocs_in_section): Likewise.
241 (dump_bfd): Likewise.
242 (display_any_bfd): Likewise.
244 2019-01-09 Nick Clifton <nickc@redhat.com>
247 * readelf.c (process_archive): Use arch.file_name in error
248 messages until the qualified name is available.
250 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
252 * configure: Regenerate.
254 2019-01-09 Alan Modra <amodra@gmail.com>
256 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
257 unconditionally to tests needing the option rather than via a
260 2019-01-08 Nick Clifton <nickc@redhat.com>
263 * cxxfilt.c (hp_symbol_characters): Delete.
264 (main): Remove depcreated demangling styles.
265 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
267 * testsuite/binutils-all/cxxfilt.exp: Use the
268 --no-strip-underscore option for targets that do prefix their
269 symbols with underscores.
270 Update tests to eliminate those that use gnu v2 encoding.
272 2019-01-08 Tamar Christina <tamar.christina@arm.com>
275 * testsuite/binutils-all/copy-6.d: New test.
276 * testsuite/binutils-all/objcopy.exp: Use it.
278 2019-01-08 Alan Modra <amodra@gmail.com>
280 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
281 $srcdir/$subdir to source file name if it starts with "./".
283 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
285 * readelf.c (get_machine_flags): Add RXv3 output.
287 2019-01-04 Nick Clifton <nickc@redhat.com>
290 * objdump.c (load_specific_debug_section): Check for integer
291 overflow before attempting to allocate contents.
293 2019-01-04 Nick Clifton <nickc@redhat.com>
296 * objcopy.c (copy_object): Free dhandle after writing out the
298 * objdump.c (dump_bfd): Free dhandle after printing out the debug
302 2019-01-01 Alan Modra <amodra@gmail.com>
304 Update year range in copyright notice of all files.
306 For older changes see ChangeLog-2018
308 Copyright (C) 2019 Free Software Foundation, Inc.
310 Copying and distribution of this file, with or without modification,
311 are permitted in any medium without royalty provided the copyright
312 notice and this notice are preserved.
318 version-control: never