Commit | Line | Data |
---|---|---|
f927cc8f NC |
1 | 2019-08-07 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | PR 24777 | |
4 | * doc/binutils.texi: Ensure consistent formating of title strings | |
5 | for man pages. Extend the title of the size man page to be more | |
6 | informative. | |
7 | ||
7cd00957 OM |
8 | 2019-08-07 Omair Majid <omajid@redhat.com> |
9 | ||
10 | * testsuite/binutils-all/objdump.exp | |
11 | (test_objdump_dotnet_assemblies): Fix test to distinguish errors | |
12 | in parsing simple pei-i386 and pei-x86-64 vs parsing the newly | |
13 | introduced machine types. | |
14 | * testsuite/gentestdlls.c (write_simple_dll): New function. | |
15 | (main): Generate simple and Linux-specific variants of pei-i386 | |
16 | and pei-x86-64 files so both can be used by tests. | |
17 | ||
90679903 AM |
18 | 2019-08-07 Alan Modra <amodra@gmail.com> |
19 | ||
20 | PR 24876 | |
21 | * readelf.c (dump_ia64_unwind): Check that buffer is large | |
22 | enough for "stamp" before reading. | |
23 | ||
276cbbdf NC |
24 | 2019-08-05 Nick Clifton <nickc@redhat.com> |
25 | ||
26 | PR 24874 | |
27 | * objcopy.c (merge_gnu_build_notes): Do not insist on the first | |
28 | note being a version note. | |
29 | Remove spurious debugging fprintf. | |
30 | ||
e17869db NC |
31 | 2019-08-05 Nick Clifton <nickc@redhat.com> |
32 | ||
33 | PR 24829 | |
34 | * readelf.c (apply_relocations): Catch potential integer overflow | |
35 | whilst checking reloc location against section size. | |
36 | ||
97c0a079 AM |
37 | 2019-08-02 Alan Modra <amodra@gmail.com> |
38 | ||
39 | PR 24871 | |
40 | * readelf.c (ABSADDR): Delete. | |
41 | (dump_ia64_unwind): Expand ABSADDR. Check validity of info.section. | |
42 | ||
cc5277b1 ML |
43 | 2019-07-29 Martin Liska <mliska@suse.cz> |
44 | ||
45 | PR 24768 | |
46 | * nm.c (filter_symbols): Set report_plugin_err if | |
47 | error is reported. | |
48 | (display_rel_file): Report error for a missing LTO plugin. | |
49 | ||
8e2e3c6c AM |
50 | 2019-07-26 Alan Modra <amodra@gmail.com> |
51 | ||
52 | PR 24798 | |
53 | * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit | |
54 | systems by casting ncols and nslots expressions to size_t. Display | |
55 | number of columns and slots before giving up due to buffer overflow. | |
56 | Use %u to display unsigned ints. Perform more pointer wrap tests. | |
57 | ||
d079b9c0 | 58 | 2019-07-25 Tom Tromey <tromey@adacore.com> |
48467cb9 TV |
59 | |
60 | PR 24809 | |
61 | * dwarf.c (display_debug_names): Display the contents of the | |
62 | augmentation string, if it is printable. | |
63 | ||
2e6be59c NC |
64 | 2019-07-25 Nick Clifton <nickc@redhat.com> |
65 | ||
66 | PR 24837 | |
67 | * readelf.c (process_mips_specific): Check for buffer overflow | |
68 | before reading reginfo information. | |
69 | ||
2f86d559 NC |
70 | 2019-07-24 Nick Clifton <nickc@redhat.com> |
71 | ||
72 | PR 13256 | |
73 | * ar.c (decode_options): Restart option scanning if no operation | |
74 | is detected and argument remain to be scanned. | |
75 | ||
2e8136f9 NC |
76 | 2019-07-23 Nick Clifton <nickc@redhat.com> |
77 | ||
78 | PR 24818 | |
79 | * objdump.c (is_relocateable): Delete. | |
80 | (load_specific_debug_section): Test the abfd for relocations | |
81 | directly, rather than relying upon is_relocateable. | |
82 | (dump_dwarf): Delete initlialization of is_relocateable. | |
83 | ||
df3a023b AM |
84 | 2019-07-23 Alan Modra <amodra@gmail.com> |
85 | ||
86 | * readelf.c (get_parisc_segment_type): Split off hpux entries.. | |
87 | (get_ia64_segment_type): ..and these.. | |
88 | (get_hpux_segment_type): ..to here. | |
89 | (get_segment_type): Condition GNU_MBIND on osabi. Use | |
90 | get_hpux_segment_type. | |
91 | (get_symbol_binding): Do not print UNIQUE for ELFOSABI_NONE. | |
92 | (get_symbol_type): Do not print IFUNC for ELFOSABI_NONE. | |
93 | ||
acea835f AM |
94 | 2019-07-23 Alan Modra <amodra@gmail.com> |
95 | ||
96 | * testsuite/binutils-all/objcopy.exp (elf64): Correct object | |
97 | file used to set this variable. | |
98 | ||
1dd1bc4d OM |
99 | 2019-07-23 Omar Majid <omajid@redhat.com> |
100 | ||
101 | * Makefile.am (AUTOMAKE_OPTIONS): Add subdir-objects | |
102 | (GENTESTDLLSPROG): Define. | |
103 | (TEST_PROGS): Add GENTESTDLLSPROG. | |
104 | * Makefile.in: Regenerate. | |
105 | * testsuite/binutils-all/objdump.exp | |
106 | (test_objdump_dotnet_assemblies): New proc. | |
107 | Run the new proc. | |
108 | * testsuite/gentestdlls.c: New source file. | |
109 | ||
781152ec NC |
110 | 2019-06-28 Nick Clifton <nickc@redhat.com> |
111 | ||
112 | PR 24707 | |
113 | * objdump.c (slurp_symtab): Fail with a helpful error message if | |
7e56c51c NC |
114 | the symbol table is too large. Skip this check for MMO format |
115 | files. | |
781152ec | 116 | |
a68aa5d3 NC |
117 | 2019-06-26 Nick Clifton <nickc@redhat.com> |
118 | ||
119 | PR 24703 | |
120 | * bucomm.c (bfd_nonfatal): If no bfd error code has been set then | |
121 | indicate this in the output. | |
122 | (bfd_nonfatal_message): Likewise. | |
123 | ||
3e50a591 JB |
124 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
125 | ||
126 | * readelf.c (dump_ctf_indent_lines): Rename local variable | |
127 | "spaces" to "blanks". | |
128 | ||
63160fc9 JB |
129 | 2019-06-25 Jan Beulich <jbeulich@suse.com> |
130 | ||
131 | * objdump.c (dump_ctf_indent_lines): Rename local variable | |
132 | "spaces" to "blanks". | |
133 | ||
3a3a077c AM |
134 | 2019-06-14 Alan Modra <amodra@gmail.com> |
135 | ||
136 | * Makefile.in: Regenerate. | |
137 | * aclocal.m4: Regenerate. | |
138 | * doc/Makefile.in: Regenerate. | |
139 | ||
9abca702 CZ |
140 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
141 | ||
142 | PR 24663 | |
143 | * readelf.c (process_netbsd_elf_note): Add support for | |
144 | NT_NETBSD_PAX. | |
145 | (process_note): Add support for PaX notes. | |
146 | ||
c0d38b0e CZ |
147 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
148 | ||
149 | PR 24665 | |
150 | * readelf.c (get_netbsd_elfcore_note_type): Add support for SH | |
151 | core notes. | |
152 | ||
540e6170 CZ |
153 | 2019-06-12 Christos Zoulas <christos@zoulas.com> |
154 | ||
155 | PR 24664 | |
156 | * readelf.c (get_netbsd_elfcore_note_type): Add support for NetBSD | |
157 | auxv notes. | |
158 | ||
2057d69d CZ |
159 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
160 | ||
161 | PR 24662 | |
162 | * readelf.c (get_alpha_symbol_other): New function. | |
163 | (get_symbol_other): Use for Alpha symbols. | |
164 | (is_32bit_pcrel_reloc): Add R_VAX_PCREL32. | |
165 | ||
c93dbb25 CZ |
166 | 2019-06-11 Christos Zoulas <christos@zoulas.com> |
167 | ||
168 | PR 24661 | |
169 | * readelf.c (decode_arm_unwind): Ensure that the local variable | |
170 | 'addr' is always initialised. | |
171 | ||
c6a636ce NC |
172 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
173 | ||
174 | PR 24651 | |
175 | * strings.c (print_strings): Use %u to print unsigned values in | |
176 | decimal. | |
177 | ||
2e02f296 CZ |
178 | 2019-06-10 Christos Zoulas <christos@zoulas.com> |
179 | ||
180 | PR 24649 | |
181 | * arsup.c (ar_open): Use asprintf in place of xmalloc and | |
182 | sprintf. | |
183 | ||
79b377b3 NC |
184 | 2019-06-03 Nick Clifton <nickc@redhat.com> |
185 | ||
186 | Revert: | |
187 | 2019-05-29 Nick Clifton <nickc@redhat.com> | |
188 | ||
189 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based | |
190 | targets. | |
191 | (HAVE_LIBCTF): Define if libctf support is available. | |
192 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. | |
193 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being | |
194 | defined. | |
195 | * readelf.c: Likewise. | |
196 | * configure: Regenerate. | |
197 | * Makefile.in: Regenerate. | |
198 | * config.in: Regenerate. | |
199 | ||
a0486bac JM |
200 | 2019-05-30 Nick Alcock <nick.alcock@oracle.com> |
201 | ||
202 | * objdump.c (make_ctfsect): Drop cts_type, cts_flags, and | |
203 | cts_offset. | |
204 | * readelf.c (shdr_to_ctf_sect): Likewise. | |
205 | ||
ae9ac79e NC |
206 | 2019-05-30 Nick Clifton <nickc@redhat.com> |
207 | ||
208 | PR 24627 | |
209 | * readelf.c (process_version_sections): Add 0x prefix to address | |
210 | display. Correct indentation. | |
211 | ||
6ff185b8 AM |
212 | 2019-05-30 Alan Modra <amodra@gmail.com> |
213 | ||
214 | * testsuite/lib/binutils-common.exp (supports_gnu_unique): Add | |
215 | s12z to targets not supporting this feature. | |
216 | ||
1336939d AM |
217 | 2019-05-30 Alan Modra <amodra@gmail.com> |
218 | ||
219 | * testsuite/lib/binutils-common.exp (run_dump_test): Support | |
220 | tcl procedures for xfail args. | |
221 | ||
e33f2313 NC |
222 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
223 | ||
224 | * README-how-to-make-a-release: Add libctf to list of directories | |
225 | that need updates in their ChangeLogs. | |
226 | ||
90bd5423 NC |
227 | 2019-05-29 Nick Clifton <nickc@redhat.com> |
228 | ||
229 | * configure.ac (LIBCTF): Export. Set to empty for non-ELF based | |
230 | targets. | |
231 | (HAVE_LIBCTF): Define if libctf support is available. | |
232 | * Makefile.am (LIBCTF): Set value to @LIBCTF@. | |
233 | * objdump.c: Make CTF code conditional upon HAVE_LIBCTF being | |
234 | defined. | |
235 | * readelf.c: Likewise. | |
236 | * configure: Regenerate. | |
237 | * Makefile.in: Regenerate. | |
238 | * config.in: Regenerate. | |
239 | ||
88981b15 NA |
240 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
241 | ||
242 | * MAINTAINERS: Add myself as CTF maintainer. | |
243 | ||
7d9813f1 NA |
244 | 2019-05-28 Nick Alcock <nick.alcock@oracle.com> |
245 | ||
246 | * objdump.c (ctf-api.h): New include. | |
247 | (dump_ctf_section_info): New variable. | |
248 | (dump_ctf_section_name): Likewise. | |
249 | (usage): Describe new options. | |
250 | (enum option_values): Add OPTION_CTF and OPTION_CTF_PARENT. | |
251 | (main): Use them to add --ctf and --ctf-parent. | |
252 | (read_section_stabs): Add new parameter, entsize_ptr. | |
253 | (find_stabs_section): Adjust accordingly. | |
254 | (make_ctfsect): New. | |
255 | (dump_ctf_indent_lines): New. | |
256 | (dump_ctf_archive_member): New. | |
257 | (dump_ctf): New. | |
258 | (dump_bfd): Call it. Free resources afterwards. | |
259 | * readelf.c (ctf-api.h): New include. | |
260 | (CTF_DUMP): New. | |
261 | (static bfd_boolean do_ctf): Likewise. | |
262 | (dump_ctf_parent_name): Likewise. | |
263 | (dump_ctf_symtab_name): Likewise. | |
264 | (dump_ctf_strtab_name): Likewise. | |
265 | (OPTION_CTF_DUMP): Likewise. | |
266 | (OPTION_CTF_PARENT): Likewise. | |
267 | (OPTION_CTF_SYMBOLS): Likewise. | |
268 | (OPTION_CTF_STRINGS): Likewise. | |
269 | (options): Add them. | |
270 | (usage): Likewise. | |
271 | (parse_args): Handle the new options, requesting CTF_DUMP. | |
272 | (process_section_contents): Handle CTF_DUMP. | |
273 | (shdr_to_ctf_sect): New. | |
274 | (dump_ctf_indent_lines): New. | |
275 | (dump_section_as_ctf): New. | |
276 | (main): Free resources. | |
277 | * Makefile.am (LIBCTF): New variable. | |
278 | (objdump_DEPENDENCIES): Use it. | |
279 | (readelf_DEPENDENCIES): Likewise. | |
280 | (objdump_LDADD): Likewise. | |
281 | (readelf_LDADD): Likewise. | |
282 | * aclocal.m4: Regenerated. | |
283 | * Makefile.in: Likewise. | |
284 | ||
285 | * doc/binutils.texi (objdump): Document the new options. | |
286 | (readelf): Likewise. | |
287 | * doc/ctf.options.texi: New. | |
288 | * doc/Makefile.in: Regenerated. | |
289 | * NEWS: Mention the new feature. | |
290 | ||
61dd8e19 AM |
291 | 2019-05-27 Alan Modra <amodra@gmail.com> |
292 | ||
293 | * readelf.c (process_section_groups): Continue processing groups | |
294 | when sh_entsize exceeds group size. | |
295 | ||
2301ed1c SN |
296 | 2019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com> |
297 | ||
298 | * readelf.c (get_aarch64_dynamic_type): Handle DT_AARCH64_VARIANT_PCS. | |
299 | (get_aarch64_symbol_other): New, handles STO_AARCH64_VARIANT_PCS. | |
300 | (get_symbol_other): Call get_aarch64_symbol_other. | |
301 | ||
dd7efa79 PB |
302 | 2019-05-24 Alan Modra <amodra@gmail.com> |
303 | ||
304 | * objdump.c (disassemble_bytes): Set WIDE_OUTPUT in flags. | |
305 | ||
27830e0d JM |
306 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
307 | ||
308 | * MAINTAINERS: Add myself as the maintainer for BPF. | |
309 | ||
aca4efc7 JM |
310 | 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com> |
311 | ||
312 | * readelf.c: Include elf/bpf.h. | |
313 | (guess_is_rela): Hanle EM_BPF. | |
314 | (dump_relocations): Likewise. | |
315 | (is_32bit_abs_reloc): Likewise. | |
316 | * testsuite/binutils-all/nm.exp: Add bpf-*-* to the list of | |
317 | ELF targets. | |
318 | ||
fab7c86e TC |
319 | 2019-05-21 Tamar Christina <tamar.christina@arm.com> |
320 | ||
321 | * dwarf.c (dwarf_regnames_aarch64): Add SVE registers. | |
322 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.d: New test. | |
323 | * testsuite/binutils-all/aarch64/sve-dwarf-registers.s: New test. | |
324 | ||
d8734380 FS |
325 | 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com> |
326 | ||
327 | PR 14798 | |
328 | * testsuite/binutils-all/readelf.ss-mips: Update reference output. | |
329 | * testsuite/binutils-all/readelf.ss-tmips: Likewise. | |
330 | ||
999b073b NC |
331 | 2019-05-20 Nick Clifton <nickc@redhat.com> |
332 | ||
333 | * po/ca.po: Updated Catalan translation. | |
334 | ||
514bbb0f AV |
335 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
336 | ||
337 | * NEWS: Mention Armv8.1-M Mainline and MVE. | |
338 | ||
a7ad558c AV |
339 | 2019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com> |
340 | ||
341 | * readelf.c (arm_attr_tag_MVE_arch): New array for Tag_MVE_arch values. | |
342 | (arm_attr_public_tag arm_attr_public_tags): Add case for Tag_MVE_arch. | |
343 | ||
37d0d091 JH |
344 | 2019-05-14 Jamey Hicks <jamey.hicks@gmail.com> |
345 | ||
346 | PR 19921 | |
347 | * objcopy.c: Add new option --verilog-data-width. Use it to set | |
348 | the value of VerilogDataWidth. | |
349 | * doc/binutils.texi: Document the new option. | |
350 | * testsuite/binutils-all/objcopy.exp: Run tests of new option. | |
351 | * testsuite/binutils-all/verilog-1.hex: New file. | |
352 | * testsuite/binutils-all/verilog-2.hex: New file. | |
353 | * testsuite/binutils-all/verilog-4.hex: New file. | |
354 | * testsuite/binutils-all/verilog-8.hex: New file. | |
355 | * NEWS: Mention the new feature. | |
356 | ||
391bf891 AM |
357 | 2019-05-10 Alan Modra <amodra@gmail.com> |
358 | ||
359 | * testsuite/binutils-all/objdump.exp (test_objdump_disas_limited), | |
360 | (test_objdump_content_limited): Add text arg, use in place of .text. | |
361 | (bintest_signed.o): Call get_standard_section_names for name of | |
362 | text section. | |
363 | ||
2379f9c4 FS |
364 | 2019-05-08 Faraz Shahbazker <fshahbazker@wavecomp.com> |
365 | ||
366 | * objdump.c (sign_extend_address): New function. | |
367 | (dump_bfd): Sign-extend user-specified start/stop addresses | |
368 | for targets that need it. | |
369 | * testsuite/binutils-all/objdump.exp: Add tests for objdump | |
370 | with start and stop addresses in higher address ranges. | |
371 | ||
2ecde2b6 MM |
372 | 2019-05-01 Matthew Malcomson <matthew.malcomson@arm.com> |
373 | ||
374 | * testsuite/binutils-all/objdump.exp: Correct executable | |
375 | spelling. | |
376 | * testsuite/binutils-all/compress.exp: Likewise. | |
377 | ||
25a02744 NC |
378 | 2019-05-01 Nick Clifton <nickc@redhat.com> |
379 | ||
380 | PR 24507 | |
381 | * nm.c: (print_format): New variable. | |
382 | (value_format_32bit, value_format_64bit): Delete. | |
383 | (set_print_radix): Remove code to alter value_format strings. | |
384 | (set_output_format): Record chosen format in print_format. | |
385 | (get_print_format): New function - constructs a printf formatting | |
386 | string according to the requirements of size, radix, and output | |
387 | format. | |
388 | (print_value): Use get_print_format. | |
389 | * testsuite/binutils-all/nm.exp: Add tests of "nm --format=posix" | |
390 | and "nm -t d". | |
391 | ||
8107ddce AM |
392 | 2019-04-30 Alan Modra <amodra@gmail.com> |
393 | ||
394 | * wrstabs.c (stab_start_class_type): Add assert to work around | |
395 | gcc9 warning. Tidy. | |
396 | ||
1b8dd643 NC |
397 | 2019-04-24 Nick Clifton <nickc@redhat.com> |
398 | ||
399 | * objcopy.c (strip_main): Do not enable note merging by default if | |
400 | just stripping debug or dwo information. | |
401 | * doc/binutils.texi (strip): Update documentation. | |
402 | ||
624a2451 NC |
403 | 2019-04-23 Nick Clifton <nickc@redhat.com> |
404 | ||
405 | * README-how-to-make-a-release: Add note to update the symbolic | |
406 | link from "docs" to "docs-2.x" on the sourceware website. | |
407 | ||
a0fb9615 AM |
408 | 2019-04-16 Alan Modra <amodra@gmail.com> |
409 | ||
410 | * testsuite/binutils-all/copy-2.d: Don't run for ns32k-*-*. | |
411 | * testsuite/binutils-all/copy-3.d: Likewise. | |
412 | ||
031254f2 AV |
413 | 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com> |
414 | ||
415 | * readelf.c (arm_attr_tag_CPU_arch): Add entry for Armv8.1-M Mainline. | |
416 | ||
462cac58 L |
417 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
418 | ||
419 | * readelf.c (decode_x86_isa): Handle | |
420 | GNU_PROPERTY_X86_ISA_1_AVX512_BF16. | |
421 | * testsuite/binutils-all/i386/pr21231b.d: Updated. | |
422 | * testsuite/binutils-all/x86-64/pr21231b.d: Likewise. | |
423 | ||
82b53593 L |
424 | 2019-04-08 H.J. Lu <hongjiu.lu@intel.com> |
425 | ||
426 | * testsuite/binutils-all/nm.exp: Count i386-moss as ELF. | |
427 | ||
05805feb TC |
428 | 2019-03-26 Tamar Christina <tamar.christina@arm.com> |
429 | ||
430 | * testsuite/binutils-all/aarch64/in-order-all.d: Update. | |
431 | * testsuite/binutils-all/aarch64/in-order.d: Likewise. | |
432 | * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. | |
433 | * testsuite/binutils-all/aarch64/out-of-order.d: Likewise. | |
434 | * testsuite/binutils-all/aarch64/out-of-order.s: Likewise. | |
435 | * testsuite/binutils-all/arm/in-order-all.d: Likewise. | |
436 | * testsuite/binutils-all/arm/in-order.d: Likewise. | |
437 | * testsuite/binutils-all/arm/out-of-order-all.d: Likewise. | |
438 | * testsuite/binutils-all/arm/out-of-order.d: Likewise. | |
439 | * testsuite/binutils-all/arm/out-of-order.s: Likewise. | |
440 | ||
5fb812fc NC |
441 | 2019-03-26 Nick Clifton <nickc@redhat.com> |
442 | ||
443 | * MAINTAINERS: Take over Dave Brolley's maintainerships for FR30, | |
444 | FRV and MEP. | |
445 | ||
e8fba7f6 AM |
446 | 2019-03-26 Alan Modra <amodra@gmail.com> |
447 | ||
448 | * objdump.c (dump_relocs_in_section): Warning fix. | |
449 | ||
796d6298 TC |
450 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
451 | ||
452 | * testsuite/binutils-all/arm/in-order-all.d: New test. | |
453 | * testsuite/binutils-all/arm/in-order.d: New test. | |
454 | * testsuite/binutils-all/arm/objdump.exp: Support .d tests. | |
455 | * testsuite/binutils-all/arm/out-of-order-all.d: New test. | |
456 | * testsuite/binutils-all/arm/out-of-order.T: New test. | |
457 | * testsuite/binutils-all/arm/out-of-order.d: New test. | |
458 | * testsuite/binutils-all/arm/out-of-order.s: New test. | |
459 | ||
460 | ||
60df3720 TC |
461 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
462 | ||
463 | * testsuite/binutils-all/aarch64/in-order-all.d: New test. | |
464 | * testsuite/binutils-all/aarch64/out-of-order-all.d: New test. | |
465 | * testsuite/binutils-all/aarch64/out-of-order.d: | |
466 | ||
51457761 TC |
467 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
468 | ||
469 | * testsuite/binutils-all/aarch64/in-order.d: New test. | |
470 | * testsuite/binutils-all/aarch64/out-of-order.d: Disassemble data as | |
471 | well. | |
472 | ||
53b2f36b TC |
473 | 2019-03-25 Tamar Christina <tamar.christina@arm.com> |
474 | ||
475 | * objdump.c (disassemble_bytes): Pass stop_offset. | |
476 | * testsuite/binutils-all/aarch64/out-of-order.T: New test. | |
477 | * testsuite/binutils-all/aarch64/out-of-order.d: New test. | |
478 | * testsuite/binutils-all/aarch64/out-of-order.s: New test. | |
479 | ||
63455780 NC |
480 | 2019-03-19 Nick Clifton <nickc@redhat.com> |
481 | ||
482 | PR 24360 | |
483 | * objdump.c (load_specific_debug_section): Check that the amount | |
484 | of memory to be allocated matches the size of the section. | |
485 | ||
1dbade74 SD |
486 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
487 | ||
488 | * readelf.c (get_aarch64_dynamic_type): Add case for | |
489 | DT_AARCH64_PAC_PLT. | |
490 | (dynamic_section_aarch64_val): Likewise. | |
491 | ||
37c18eed SD |
492 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
493 | Szabolcs Nagy <szabolcs.nagy@arm.com> | |
494 | ||
495 | * readelf.c (get_aarch64_dynamic_type): New. | |
496 | (get_dynamic_type): Use above for EM_AARCH64. | |
497 | (dynamic_section_aarch64_val): New. | |
498 | (process_dynamic_section): Use above for EM_AARCH64. | |
499 | ||
cd702818 SD |
500 | 2019-03-13 Sudakshina Das <sudi.das@arm.com> |
501 | ||
502 | * readelf.c (decode_aarch64_feature_1_and): New. | |
503 | (print_gnu_property_note): Add case for AArch64 gnu notes. | |
504 | ||
7a6e0d89 AM |
505 | 2019-03-12 Alan Modra <amodra@gmail.com> |
506 | ||
507 | * objdump.c (load_specific_debug_section): Don't compare section | |
508 | size against file size. | |
509 | (dump_relocs_in_section): Don't compare reloc size against file size. | |
510 | Print "failed to read relocs" on bfd_get_reloc_upper_bound error. | |
511 | ||
88c9190b NC |
512 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
513 | ||
514 | PR 24295 | |
515 | * doc/binutils.texi (ar cmdline): Fix spelling mistake. | |
516 | ||
4933ff73 NC |
517 | 2019-03-05 Nick Clifton <nickc@redhat.com> |
518 | ||
519 | * po/sv.po: Updated Swedish translation. | |
520 | ||
093f70cc MM |
521 | 2019-03-05 Matthew Malcomson <matthew.malcomson@arm.com> |
522 | ||
523 | PR 24287 | |
524 | * testsuite/lib/binutils-common.exp (run_dump_test): Replace a use | |
525 | of "lmap" with a "foreach" loop. | |
526 | ||
f5f20315 NC |
527 | 2019-03-04 Nick Clifton <nickc@redhat.com> |
528 | ||
529 | PR 24281 | |
530 | * objcopy.c (copy_archive): Do not copy thin archives. | |
531 | ||
52d6f3ee MM |
532 | 2019-02-27 Matthew Malcomson <matthew.malcomson@arm.com> |
533 | ||
534 | * testsuite/lib/binutils-common.exp: Allow multiple "as" lines. | |
535 | ||
39f0547e NC |
536 | 2019-02-25 Nick Clifton <nickc@redhat.com> |
537 | ||
538 | * objdump.c (sym_ok): New function. | |
539 | (find_symbol_for_address): Use new function. | |
540 | (disassemble_section): Compare sections by name, not pointer. | |
541 | (dump_dwarf): Move code to initialise byte_get pointer and iterate | |
542 | over separate debug files from here to ... | |
543 | (dump_bfd): ... here. Add parameter indicating that a separate | |
544 | debug info file is being dumped. For main file, pull in the | |
545 | symbol tables from all separate debug info files. | |
546 | (display_object): Update call to dump_bfd. | |
547 | * doc/binutils.texi: Document extened behaviour of the | |
548 | --dwarf=follow-links option. | |
549 | * NEWS: Mention this new feature. | |
550 | * testsuite/binutils-all/objdump.WK2: Update expected output. | |
551 | * testsuite/binutils-all/objdump.exp (test_follow_debuglink): Add | |
552 | options and dump file parameters. | |
553 | Add extra test. | |
554 | * testsuite/binutils-all/objdump.WK3: New file. | |
555 | * testsuite/binutils-all/readelf.exp: Change expected output for | |
556 | readelf -wKis test. | |
557 | * testsuite/binutils-all/readelf.wKis: New file. | |
558 | ||
24841daa NC |
559 | 2019-02-22 Nick Clifton <nickc@redhat.com> |
560 | ||
561 | PR 23843 | |
562 | * dwarf.h (struct separate_info): New structure for containing | |
563 | information on separate debug info files. | |
564 | * dwarf.c (struct dwo_info): New structure for containing dwo | |
565 | links. | |
566 | (first_dwo_info): Chain of dwo_info structures. | |
567 | (first_separate_file): Chain of separate_info structures. | |
568 | (separate_debug_file, separate_debug_filename): Delete. | |
569 | (fetch_alt_indirect_string): Scan all separate debug info files | |
570 | for the requested string. | |
571 | (add_dwo_info): New function. | |
572 | (add_dwo_name): New function. | |
573 | (add_dwo_dir): New function. | |
574 | (add_dwo_id: New function. | |
575 | (free_dwo_info): New function. | |
576 | (read_and_display_attr_value): Store DWO data using the new | |
577 | functions. | |
578 | (load_debug_section_with_follow): If necessary, scan the list of | |
579 | separate debug info files for the requested section. | |
580 | (add_separate_debug_file): New function. | |
581 | (load_separate_debug_info): Call add_separate_debug_file to store | |
582 | the information on the newly loaded file. | |
583 | (load_dwo_file): Likewise. | |
584 | (load_separate_debif_file): Rename to load_separate_debug_files. | |
585 | Change return type to boolean. If following links then attempt to | |
586 | load all separate debug info files, not just the first one. | |
587 | (free_debug_memory): Release memory in dwo_info and separate_info | |
588 | chains. | |
589 | * objdump.c (dump_dwarf): Iterate over all loaded debg info files. | |
590 | * readelf.c (process_object): Likewise. | |
591 | * doc/debug.options.texi: Update descriptions of links and | |
592 | follow-links options. | |
593 | * testsuite/binutils-all/objdump.WK2: Update expected output. | |
594 | * testsuite/binutils-all/readelf.k2: Likewise. | |
595 | * NEWS: Announce the new feature. | |
596 | ||
5cacf1c8 NC |
597 | 2019-02-21 Nick Clifton <nickc@redhat.com> |
598 | ||
599 | PR 24247 | |
600 | * unwind-ia64.c: Include sysdep.h. | |
601 | (unw_decode_x1): Check current pointer against end pointer before | |
602 | accessing memory. | |
603 | (unw_decode_x2): Likewise. | |
604 | (unw_decode_x3): Likewise. | |
605 | (unw_decode_x4): Likewise. | |
606 | (unw_decode_r2): Likewise. | |
607 | (unw_decode_p2_p5): Likewise. | |
608 | (unw_decode_p7_p10): Likewise. | |
609 | (unw_decode): Likewise. | |
610 | ||
8d18bf79 NC |
611 | 2019-02-20 Nick Clifton <nickc@redhat.com> |
612 | ||
3ca60c57 NC |
613 | PR 24246 |
614 | * readelf.c (print_stapsdt_note): Harden against corrupt notes. | |
615 | ||
171375c6 NC |
616 | PR 24244 |
617 | * unwind-ia64.c (unw_decode_uleb128): Add end parameter, use it to | |
618 | prevent walking off the end of the buffer. | |
619 | (unw_decode_x1): Add end paramter, pass it to unw_decode_uleb128. | |
620 | (unw_decode_x2): Likewise. | |
621 | (unw_decode_x3): Likewise. | |
622 | (unw_decode_x4): Likewise. | |
623 | (unw_decode_r2): Pass the end parameter to unw_decode_uleb128. | |
624 | (unw_decode_r3): Likewise. | |
625 | (unw_decode_p7_p10): Likewise. | |
626 | (unw_decode_b2): Likewise. | |
627 | (unw_decode_b3_x4): Likewise. | |
628 | ||
7fc0c668 NC |
629 | PR 24243 |
630 | * readelf.c (process_mips_specific): Check for an options section | |
631 | that is too small to even contain a single option. | |
8d18bf79 | 632 | |
171375c6 NC |
633 | PR 24242 |
634 | * readelf.c (print_ia64_vms_note): Harden against corrupt notes. | |
635 | ||
c22b42ce AM |
636 | 2019-02-20 Alan Modra <amodra@gmail.com> |
637 | ||
638 | PR 24132 | |
639 | PR 24138 | |
640 | * readelf.c (get_data): Avoid possibility of overflow when | |
641 | checking for a read that may extend past end of file. | |
642 | (process_program_headers): Likewise. | |
643 | ||
7d272a55 AM |
644 | 2019-02-20 Alan Modra <amodra@gmail.com> |
645 | ||
646 | PR 24233 | |
647 | * objdump.c (dump_bfd_private_header): Print warning if | |
648 | bfd_print_private_bfd_data returns false. | |
649 | ||
04d7fa21 NC |
650 | 2019-02-12 Nick Clifton <nickc@redhat.com> |
651 | ||
652 | PR 23440 | |
653 | * README-how-to-make-a-release: Use git clean to delete spurious | |
654 | files from the local source repository. | |
655 | ||
46cbf38d AB |
656 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
657 | ||
658 | * size.c (berkeley_format): Delete. | |
659 | (enum output_format): New enum. | |
660 | (selected_output_format): New variable. | |
661 | (usage): Update to mention GNU format. | |
662 | (main): Update to extract options, and select format as needed. | |
663 | Handle GNU format where needed. | |
664 | (berkeley_sum): Renamed to... | |
665 | (berkeley_or_gnu_sum): ...this, and updated to handle both formats. | |
666 | (berkeley_format): Renamed to... | |
667 | (berkeley_or_gnu_format): ...this, and updated to handle both | |
668 | formats. | |
669 | (print_sizes): Handle GNU format. | |
670 | * doc/binutils.texi (size): Document new GNU format. | |
671 | * testsuite/binutils-all/size.exp: Add test of extended | |
672 | functionality. | |
673 | * NEWS: Mention new functionality. | |
674 | ||
96fd92af AB |
675 | 2019-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
676 | ||
677 | * doc/binutils.texi (size): Update example output for Berkeley | |
678 | format output. | |
679 | ||
2012bf01 NC |
680 | 2019-02-07 Nick Clifton <nickc@redhat.com> |
681 | ||
682 | * README-how-to-make-a-release: Add a note about updating the | |
683 | obsolete targets in the bfd/config.bfd file. | |
684 | ||
082cbd3b NC |
685 | 2019-02-04 Nick Clifton <nickc@redhat.com> |
686 | ||
687 | * README-how-to-make-a-release: Add more notes on making a release. | |
688 | ||
18344509 NC |
689 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
690 | ||
691 | PR 24131 | |
692 | * readelf.c (process_notes_at): Prevent an illegal memory access | |
693 | when the note's namesize is zero. | |
694 | (decode_tic6x_unwind_bytecode): Add code to handle the case where | |
695 | no registers are specified in a frame pop instruction. | |
696 | ||
9ed1348c NC |
697 | 2019-01-25 Nick Clifton <nickc@redhat.com> |
698 | ||
699 | * po/bg.po: Updated Bulgarian translation. | |
700 | ||
d9938630 NC |
701 | 2019-01-23 Nick Clifton <nickc@redhat.com> |
702 | ||
703 | * po/fr.po: Updated French translation. | |
704 | * po/pt.po: Updated Portuguese translation. | |
705 | ||
375cd423 NC |
706 | 2019-01-21 Nick Clifton <nickc@redhat.com> |
707 | ||
708 | * po/uk.po: Updated Ukranian translation. | |
709 | ||
f48dfe41 NC |
710 | 2019-01-19 Nick Clifton <nickc@redhat.com> |
711 | ||
712 | * configure: Regenerate. | |
713 | * binutils/po/binutils.pot. | |
714 | ||
715 | * README-how-to-make-a-release: Update description on how to make | |
716 | a branch. | |
717 | ||
f974f26c NC |
718 | 2018-06-24 Nick Clifton <nickc@redhat.com> |
719 | ||
720 | 2.32 branch created. | |
721 | ||
baae986a NC |
722 | 2019-01-17 Nick Clifton <nickc@redhat.com> |
723 | ||
724 | * objdump.c (disassemble_section): When disassembling from a | |
725 | symbol only stop at the next symbol if the original symbol was not | |
726 | a function symbol. Otherwise continue disassembling until a new | |
727 | function is reached. | |
728 | * testsuite/binutils-all/objdump.exp: Add tests of extended | |
729 | functionality. | |
730 | * testsuite/binutils-all/disasm.s: New test source file. | |
731 | ||
2dc8dd17 JW |
732 | 2019-01-16 Kito Cheng <kito@andestech.com> |
733 | Nelson Chu <nelson@andestech.com> | |
734 | ||
735 | * readelf.c (get_riscv_section_type_name): New function. | |
736 | (get_section_type_name): Add handler for RISC-V. | |
737 | (riscv_attr_tag_t): Declare. | |
738 | (riscv_attr_tag): New. | |
739 | (display_riscv_attribute): New function. | |
740 | (process_attributes): Add handler for RISC-V. | |
741 | * testsuite/binutils-all/strip-3.d: Remove .riscv.attribute | |
742 | section. | |
743 | ||
12add40e NC |
744 | 2019-01-10 Nick Clifton <nickc@redhat.com> |
745 | ||
746 | PR 23963 | |
747 | * objdump.c (sanitize_string): New function. Removes control | |
748 | characters from symbol names. | |
749 | (dump_section_header): Use new function. | |
750 | (objdump_print_symname): Likewise. | |
751 | (objdump_print_addr_with_sym): Likewise. | |
752 | (show_line): Likewise. | |
753 | (disassemble_bytes): Likewise. | |
754 | (disassemble_section): Likewise. | |
755 | (load_specific_debug_section): Likewise. | |
756 | (read_section_stabs): Likewise. | |
757 | (print_section_stabs): Likewise. | |
758 | (dump_section): Likewise. | |
759 | (dump_reloc_set): Likewise. | |
760 | (dump_relocs_in_section): Likewise. | |
761 | (dump_bfd): Likewise. | |
762 | (display_any_bfd): Likewise. | |
763 | ||
28e817cc NC |
764 | 2019-01-09 Nick Clifton <nickc@redhat.com> |
765 | ||
c0b0b1c2 | 766 | PR 24049 |
28e817cc NC |
767 | * readelf.c (process_archive): Use arch.file_name in error |
768 | messages until the qualified name is available. | |
769 | ||
3107326d AP |
770 | 2019-01-09 Andrew Paprocki <andrew@ishiboo.com> |
771 | ||
772 | * configure: Regenerate. | |
773 | ||
923c6a75 AM |
774 | 2019-01-09 Alan Modra <amodra@gmail.com> |
775 | ||
776 | * testsuite/binutils-all/cxxfilt.exp: Pass --no-strip-underscores | |
777 | unconditionally to tests needing the option rather than via a | |
778 | list of targets. | |
779 | ||
236f4ebe NC |
780 | 2019-01-08 Nick Clifton <nickc@redhat.com> |
781 | ||
782 | PR 24044 | |
783 | * cxxfilt.c (hp_symbol_characters): Delete. | |
784 | (main): Remove depcreated demangling styles. | |
785 | * stabs.c (parse_stab_argtypes): Remove support for old gnu v2 | |
786 | demangling opnames. | |
787 | * testsuite/binutils-all/cxxfilt.exp: Use the | |
788 | --no-strip-underscore option for targets that do prefix their | |
789 | symbols with underscores. | |
923c6a75 | 790 | Update tests to eliminate those that use gnu v2 encoding. |
236f4ebe | 791 | |
e3ecd631 TC |
792 | 2019-01-08 Tamar Christina <tamar.christina@arm.com> |
793 | ||
794 | PR 24065 | |
795 | * testsuite/binutils-all/copy-6.d: New test. | |
796 | * testsuite/binutils-all/objcopy.exp: Use it. | |
797 | ||
171b8e19 AM |
798 | 2019-01-08 Alan Modra <amodra@gmail.com> |
799 | ||
800 | * testsuite/lib/binutils-common.exp (run_dump_test): Don't prepend | |
801 | $srcdir/$subdir to source file name if it starts with "./". | |
802 | ||
803 | 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp> | |
804 | ||
f87673e0 YS |
805 | * readelf.c (get_machine_flags): Add RXv3 output. |
806 | ||
11fa9f13 NC |
807 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
808 | ||
809 | PR 24005 | |
810 | * objdump.c (load_specific_debug_section): Check for integer | |
811 | overflow before attempting to allocate contents. | |
812 | ||
cf0ad5bb NC |
813 | 2019-01-04 Nick Clifton <nickc@redhat.com> |
814 | ||
815 | PR 24001 | |
816 | * objcopy.c (copy_object): Free dhandle after writing out the | |
817 | debug information. | |
818 | * objdump.c (dump_bfd): Free dhandle after printing out the debug | |
819 | information. | |
820 | ||
11fa9f13 | 821 | |
82704155 AM |
822 | 2019-01-01 Alan Modra <amodra@gmail.com> |
823 | ||
824 | Update year range in copyright notice of all files. | |
825 | ||
d5c04e1b | 826 | For older changes see ChangeLog-2018 |
3499769a | 827 | \f |
d5c04e1b | 828 | Copyright (C) 2019 Free Software Foundation, Inc. |
3499769a AM |
829 | |
830 | Copying and distribution of this file, with or without modification, | |
831 | are permitted in any medium without royalty provided the copyright | |
832 | notice and this notice are preserved. | |
833 | ||
834 | Local Variables: | |
835 | mode: change-log | |
836 | left-margin: 8 | |
837 | fill-column: 74 | |
838 | version-control: never | |
839 | End: |