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