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