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