1 2019-02-21 Nick Clifton <nickc@redhat.com>
4 * unwind-ia64.c: Include sysdep.h.
5 (unw_decode_x1): Check current pointer against end pointer before
7 (unw_decode_x2): Likewise.
8 (unw_decode_x3): Likewise.
9 (unw_decode_x4): Likewise.
10 (unw_decode_r2): Likewise.
11 (unw_decode_p2_p5): Likewise.
12 (unw_decode_p7_p10): Likewise.
13 (unw_decode): Likewise.
15 2019-02-20 Nick Clifton <nickc@redhat.com>
18 * readelf.c (print_stapsdt_note): Harden against corrupt notes.
21 * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to
22 prevent walking off the end of the buffer.
23 (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128.
24 (unw_decode_x2): Likewise.
25 (unw_decode_x3): Likewise.
26 (unw_decode_x4): Likewise.
27 (unw_decode_r2): Pass the end parameter to unw_decode_uleb128.
28 (unw_decode_r3): Likewise.
29 (unw_decode_p7_p10): Likewise.
30 (unw_decode_b2): Likewise.
31 (unw_decode_b3_x4): Likewise.
34 * readelf.c (process_mips_specific): Check for an options section
35 that is too small to even contain a single option.
38 * readelf.c (print_ia64_vms_note): Harden against corrupt notes.
40 2019-02-20 Alan Modra <amodra@gmail.com>
44 * readelf.c (get_data): Avoid possibility of overflow when
45 checking for a read that may extend past end of file.
46 (process_program_headers): Likewise.
48 2019-02-20 Alan Modra <amodra@gmail.com>
51 * objdump.c (dump_bfd_private_header): Print warning if
52 bfd_print_private_bfd_data returns false.
54 2019-02-12 Nick Clifton <nickc@redhat.com>
57 * README-how-to-make-a-release: Use git clean to delete spurious
58 files from the local source repository.
60 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
62 * size.c (berkeley_format): Delete.
63 (enum output_format): New enum.
64 (selected_output_format): New variable.
65 (usage): Update to mention GNU format.
66 (main): Update to extract options, and select format as needed.
67 Handle GNU format where needed.
68 (berkeley_sum): Renamed to...
69 (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
70 (berkeley_format): Renamed to...
71 (berkeley_or_gnu_format): ...this, and updated to handle both
73 (print_sizes): Handle GNU format.
74 * doc/binutils.texi (size): Document new GNU format.
75 * testsuite/binutils-all/size.exp: Add test of extended
77 * NEWS: Mention new functionality.
79 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
81 * doc/binutils.texi (size): Update example output for Berkeley
84 2019-02-07 Nick Clifton <nickc@redhat.com>
86 * README-how-to-make-a-release: Add a note about updating the
87 obsolete targets in the bfd/config.bfd file.
89 2019-02-04 Nick Clifton <nickc@redhat.com>
91 * README-how-to-make-a-release: Add more notes on making a release.
93 2019-01-25 Nick Clifton <nickc@redhat.com>
96 * readelf.c (process_notes_at): Prevent an illegal memory access
97 when the note's namesize is zero.
98 (decode_tic6x_unwind_bytecode): Add code to handle the case where
99 no registers are specified in a frame pop instruction.
101 2019-01-25 Nick Clifton <nickc@redhat.com>
103 * po/bg.po: Updated Bulgarian translation.
105 2019-01-23 Nick Clifton <nickc@redhat.com>
107 * po/fr.po: Updated French translation.
108 * po/pt.po: Updated Portuguese translation.
110 2019-01-21 Nick Clifton <nickc@redhat.com>
112 * po/uk.po: Updated Ukranian translation.
114 2019-01-19 Nick Clifton <nickc@redhat.com>
116 * configure: Regenerate.
117 * binutils/po/binutils.pot.
119 * README-how-to-make-a-release: Update description on how to make
122 2018-06-24 Nick Clifton <nickc@redhat.com>
126 2019-01-17 Nick Clifton <nickc@redhat.com>
128 * objdump.c (disassemble_section): When disassembling from a
129 symbol only stop at the next symbol if the original symbol was not
130 a function symbol. Otherwise continue disassembling until a new
132 * testsuite/binutils-all/objdump.exp: Add tests of extended
134 * testsuite/binutils-all/disasm.s: New test source file.
136 2019-01-16 Kito Cheng <kito@andestech.com>
137 Nelson Chu <nelson@andestech.com>
139 * readelf.c (get_riscv_section_type_name): New function.
140 (get_section_type_name): Add handler for RISC-V.
141 (riscv_attr_tag_t): Declare.
142 (riscv_attr_tag): New.
143 (display_riscv_attribute): New function.
144 (process_attributes): Add handler for RISC-V.
145 * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute
148 2019-01-10 Nick Clifton <nickc@redhat.com>
151 * objdump.c (sanitize_string): New function. Removes control
152 characters from symbol names.
153 (dump_section_header): Use new function.
154 (objdump_print_symname): Likewise.
155 (objdump_print_addr_with_sym): Likewise.
156 (show_line): Likewise.
157 (disassemble_bytes): Likewise.
158 (disassemble_section): Likewise.
159 (load_specific_debug_section): Likewise.
160 (read_section_stabs): Likewise.
161 (print_section_stabs): Likewise.
162 (dump_section): Likewise.
163 (dump_reloc_set): Likewise.
164 (dump_relocs_in_section): Likewise.
165 (dump_bfd): Likewise.
166 (display_any_bfd): Likewise.
168 2019-01-09 Nick Clifton <nickc@redhat.com>
171 * readelf.c (process_archive): Use arch.file_name in error
172 messages until the qualified name is available.
174 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
176 * configure: Regenerate.
178 2019-01-09 Alan Modra <amodra@gmail.com>
180 * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores
181 unconditionally to tests needing the option rather than via a
184 2019-01-08 Nick Clifton <nickc@redhat.com>
187 * cxxfilt.c (hp_symbol_characters): Delete.
188 (main): Remove depcreated demangling styles.
189 * stabs.c (parse_stab_argtypes): Remove support for old gnu v2
191 * testsuite/binutils-all/cxxfilt.exp: Use the
192 --no-strip-underscore option for targets that do prefix their
193 symbols with underscores.
194 Update tests to eliminate those that use gnu v2 encoding.
196 2019-01-08 Tamar Christina <tamar.christina@arm.com>
199 * testsuite/binutils-all/copy-6.d: New test.
200 * testsuite/binutils-all/objcopy.exp: Use it.
202 2019-01-08 Alan Modra <amodra@gmail.com>
204 * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend
205 $srcdir/$subdir to source file name if it starts with "./".
207 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
209 * readelf.c (get_machine_flags): Add RXv3 output.
211 2019-01-04 Nick Clifton <nickc@redhat.com>
214 * objdump.c (load_specific_debug_section): Check for integer
215 overflow before attempting to allocate contents.
217 2019-01-04 Nick Clifton <nickc@redhat.com>
220 * objcopy.c (copy_object): Free dhandle after writing out the
222 * objdump.c (dump_bfd): Free dhandle after printing out the debug
226 2019-01-01 Alan Modra <amodra@gmail.com>
228 Update year range in copyright notice of all files.
230 For older changes see ChangeLog-2018
232 Copyright (C) 2019 Free Software Foundation, Inc.
234 Copying and distribution of this file, with or without modification,
235 are permitted in any medium without royalty provided the copyright
236 notice and this notice are preserved.
242 version-control: never