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