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