1 2019-02-22 Nick Clifton <nickc@redhat.com>
4 * dwarf.h (struct separate_info): New structure for containing
5 information on separate debug info files.
6 * dwarf.c (struct dwo_info): New structure for containing dwo
8 (first_dwo_info): Chain of dwo_info structures.
9 (first_separate_file): Chain of separate_info structures.
10 (separate_debug_file, separate_debug_filename): Delete.
11 (fetch_alt_indirect_string): Scan all separate debug info files
12 for the requested string.
13 (add_dwo_info): New function.
14 (add_dwo_name): New function.
15 (add_dwo_dir): New function.
16 (add_dwo_id: New function.
17 (free_dwo_info): New function.
18 (read_and_display_attr_value): Store DWO data using the new
20 (load_debug_section_with_follow): If necessary, scan the list of
21 separate debug info files for the requested section.
22 (add_separate_debug_file): New function.
23 (load_separate_debug_info): Call add_separate_debug_file to store
24 the information on the newly loaded file.
25 (load_dwo_file): Likewise.
26 (load_separate_debif_file): Rename to load_separate_debug_files.
27 Change return type to boolean. If following links then attempt to
28 load all separate debug info files, not just the first one.
29 (free_debug_memory): Release memory in dwo_info and separate_info
31 * objdump.c (dump_dwarf): Iterate over all loaded debg info files.
32 * readelf.c (process_object): Likewise.
33 * doc/debug.options.texi: Update descriptions of links and
35 * testsuite/binutils-all/objdump.WK2: Update expected output.
36 * testsuite/binutils-all/readelf.k2: Likewise.
37 * NEWS: Announce the new feature.
39 2019-02-21 Nick Clifton <nickc@redhat.com>
42 * unwind-ia64.c: Include sysdep.h.
43 (unw_decode_x1): Check current pointer against end pointer before
45 (unw_decode_x2): Likewise.
46 (unw_decode_x3): Likewise.
47 (unw_decode_x4): Likewise.
48 (unw_decode_r2): Likewise.
49 (unw_decode_p2_p5): Likewise.
50 (unw_decode_p7_p10): Likewise.
51 (unw_decode): Likewise.
53 2019-02-20 Nick Clifton <nickc@redhat.com>
56 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
59 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
60 prevent walking off the end of the buffer.
61 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
62 (unw_decode_x2): Likewise.
63 (unw_decode_x3): Likewise.
64 (unw_decode_x4): Likewise.
65 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
66 (unw_decode_r3): Likewise.
67 (unw_decode_p7_p10): Likewise.
68 (unw_decode_b2): Likewise.
69 (unw_decode_b3_x4): Likewise.
72 * readelf.c (process_mips_specific): Check for an options section
73 that is too small to even contain a single option.
76 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
78 2019-02-20 Alan Modra <amodra@gmail.com>
82 * readelf.c (get_data): Avoid possibility of overflow when
83 checking for a read that may extend past end of file.
84 (process_program_headers): Likewise.
86 2019-02-20 Alan Modra <amodra@gmail.com>
89 * objdump.c (dump_bfd_private_header): Print warning if
90 bfd_print_private_bfd_data returns false.
92 2019-02-12 Nick Clifton <nickc@redhat.com>
95 * README-how-to-make-a-release: Use git clean to delete spurious
96 files from the local source repository.
98 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
100 * size.c (berkeley_format): Delete.
101 (enum output_format): New enum.
102 (selected_output_format): New variable.
103 (usage): Update to mention GNU format.
104 (main): Update to extract options, and select format as needed.
105 Handle GNU format where needed.
106 (berkeley_sum): Renamed to...
107 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
108 (berkeley_format): Renamed to...
109 (berkeley_or_gnu_format): ...this, and updated to handle both
111 (print_sizes): Handle GNU format.
112 * doc/binutils.texi (size): Document new GNU format.
113 * testsuite/binutils-all/size.exp: Add test of extended
115 * NEWS: Mention new functionality.
117 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
119 * doc/binutils.texi (size): Update example output for Berkeley
122 2019-02-07 Nick Clifton <nickc@redhat.com>
124 * README-how-to-make-a-release: Add a note about updating the
125 obsolete targets in the bfd/config.bfd file.
127 2019-02-04 Nick Clifton <nickc@redhat.com>
129 * README-how-to-make-a-release: Add more notes on making a release.
131 2019-01-25 Nick Clifton <nickc@redhat.com>
134 * readelf.c (process_notes_at): Prevent an illegal memory access
135 when the note's namesize is zero.
136 (decode_tic6x_unwind_bytecode): Add code to handle the case where
137 no registers are specified in a frame pop instruction.
139 2019-01-25 Nick Clifton <nickc@redhat.com>
141 * po/bg.po: Updated Bulgarian translation.
143 2019-01-23 Nick Clifton <nickc@redhat.com>
145 * po/fr.po: Updated French translation.
146 * po/pt.po: Updated Portuguese translation.
148 2019-01-21 Nick Clifton <nickc@redhat.com>
150 * po/uk.po: Updated Ukranian translation.
152 2019-01-19 Nick Clifton <nickc@redhat.com>
154 * configure: Regenerate.
155 * binutils/po/binutils.pot.
157 * README-how-to-make-a-release: Update description on how to make
160 2018-06-24 Nick Clifton <nickc@redhat.com>
164 2019-01-17 Nick Clifton <nickc@redhat.com>
166 * objdump.c (disassemble_section): When disassembling from a
167 symbol only stop at the next symbol if the original symbol was not
168 a function symbol. Otherwise continue disassembling until a new
170 * testsuite/binutils-all/objdump.exp: Add tests of extended
172 * testsuite/binutils-all/disasm.s: New test source file.
174 2019-01-16 Kito Cheng <kito@andestech.com>
175 Nelson Chu <nelson@andestech.com>
177 * readelf.c (get_riscv_section_type_name): New function.
178 (get_section_type_name): Add handler for RISC-V.
179 (riscv_attr_tag_t): Declare.
180 (riscv_attr_tag): New.
181 (display_riscv_attribute): New function.
182 (process_attributes): Add handler for RISC-V.
183 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
186 2019-01-10 Nick Clifton <nickc@redhat.com>
189 * objdump.c (sanitize_string): New function. Removes control
190 characters from symbol names.
191 (dump_section_header): Use new function.
192 (objdump_print_symname): Likewise.
193 (objdump_print_addr_with_sym): Likewise.
194 (show_line): Likewise.
195 (disassemble_bytes): Likewise.
196 (disassemble_section): Likewise.
197 (load_specific_debug_section): Likewise.
198 (read_section_stabs): Likewise.
199 (print_section_stabs): Likewise.
200 (dump_section): Likewise.
201 (dump_reloc_set): Likewise.
202 (dump_relocs_in_section): Likewise.
203 (dump_bfd): Likewise.
204 (display_any_bfd): Likewise.
206 2019-01-09 Nick Clifton <nickc@redhat.com>
209 * readelf.c (process_archive): Use arch.file_name in error
210 messages until the qualified name is available.
212 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
214 * configure: Regenerate.
216 2019-01-09 Alan Modra <amodra@gmail.com>
218 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
219 unconditionally to tests needing the option rather than via a
222 2019-01-08 Nick Clifton <nickc@redhat.com>
225 * cxxfilt.c (hp_symbol_characters): Delete.
226 (main): Remove depcreated demangling styles.
227 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
229 * testsuite/binutils-all/cxxfilt.exp: Use the
230 --no-strip-underscore option for targets that do prefix their
231 symbols with underscores.
232 Update tests to eliminate those that use gnu v2 encoding.
234 2019-01-08 Tamar Christina <tamar.christina@arm.com>
237 * testsuite/binutils-all/copy-6.d: New test.
238 * testsuite/binutils-all/objcopy.exp: Use it.
240 2019-01-08 Alan Modra <amodra@gmail.com>
242 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
243 $srcdir/$subdir to source file name if it starts with "./".
245 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
247 * readelf.c (get_machine_flags): Add RXv3 output.
249 2019-01-04 Nick Clifton <nickc@redhat.com>
252 * objdump.c (load_specific_debug_section): Check for integer
253 overflow before attempting to allocate contents.
255 2019-01-04 Nick Clifton <nickc@redhat.com>
258 * objcopy.c (copy_object): Free dhandle after writing out the
260 * objdump.c (dump_bfd): Free dhandle after printing out the debug
264 2019-01-01 Alan Modra <amodra@gmail.com>
266 Update year range in copyright notice of all files.
268 For older changes see ChangeLog-2018
270 Copyright (C) 2019 Free Software Foundation, Inc.
272 Copying and distribution of this file, with or without modification,
273 are permitted in any medium without royalty provided the copyright
274 notice and this notice are preserved.
280 version-control: never