]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
0f03783c
NC
12020-10-19 Nick Clifton <nickc@redhat.com>
2
3 * readelf.c (do_lto_syms): New local.
4 (long_option_values): Add OPTION_LTO_SYMS.
5 (options): Add --lto-syms.
6 (usage): Mention the new option.
7 (parse_args): Parse the new option.
8 (get_lto_kind): New function.
9 (get_lto_visibility): New function.
10 (get_lto_sym_type): New function.
11 (display_lto_symtab): New function - displays the contents of an
12 LTo symbol table section.
13 (process_lto_symbol_tables): New functions. Calls
14 dipslay_lto_symtab on any LTO symbol table section.
15 (process_object_file): Call process_lto_symbol_tables.
16 * doc/binutils.texi: Document the new option.
17 * NEWS: Mention the new feature.
18
32930e4e
L
192020-10-09 H.J. Lu <hongjiu.lu@intel.com>
20
21 PR gas/26703
22 * readelf.c (decode_x86_compat_2_isa): New function.
23 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
24 (decode_x86_feature_1): Handle GNU_PROPERTY_X86_FEATURE_2_MASK.
25 (print_gnu_property_note): Handle X86_COMPAT_2_ISA_1_USED,
26 and X86_COMPAT_2_ISA_1_NEEDED.
27 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
28 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
29 values.
30 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
31 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
32 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
33 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
34 * testsuite/binutils-all/i386/empty.d: Updated.
35 * testsuite/binutils-all/i386/ibt.d: Likewise.
36 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
37 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
38 * testsuite/binutils-all/i386/shstk.d: Likewise.
39 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
40 * testsuite/binutils-all/x86-64/empty.d: Likewise.
41 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
42 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
43 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
44 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
45 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
46 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
47 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
48 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
49 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
50 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
51 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
52 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
53 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
54 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
55
0ec992e6
NC
562020-10-06 Nick Clifton <nickc@redhat.com>
57
58 * objcopy.c (copy_object): Compare input and output sections by
59 pointer rather than name.
60
1f1845d4
NC
612020-10-05 Nick Clifton <nickc@redhat.com>
62
63 PR 26698
64 * windmc.c (mc_unify_path): Fix typo checking character at end of
65 pathname.
66
0cc79db2
SN
672020-10-05 Samanta Navarro <ferivoz@riseup.net>
68
69 * doc/binutils.texi: Fix spelling mistakes.
70
1c9f770d
MW
712020-09-29 Mark Wielaard <mark@klomp.org>
72
73 * dwarf.c (display_loclists_list): Handle DW_LLE_start_end and
74 DW_LLE_start_length. Only add base_address for DW_LLE_offset_pair.
75
5a805384
AM
762020-09-25 Alan Modra <amodra@gmail.com>
77
78 * elfcomm.c (byte_put_little_endian, byte_put_big_endian): Support
79 more field sizes.
80 * readelf.c (target_specific_reloc_handling <MSP430>): Limit
81 allowed reloc_size. Don't read_leb128 outside of section.
82
debd1a62
MW
832020-09-23 Mark Wielaard <mark@klomp.org>
84
85 * dwarf.c (process_debug_info): Print Unit Type for DWARF5.
86 * testsuite/binutils-all/dw5.W: Adjust expected output.
87 * testsuite/binutils-all/dwarf-attributes.W: Likewise.
88
ec47b32a
MW
892020-09-23 Mark Wielaard <mark@klomp.org>
90
91 * dwarf.c (read_and_display_attr_value): Handle DW_FORM_ref_addr
92 for dwarf_version 5 just as version 3 and 4 (only 2 is
93 different).
94 (process_debug_info): Allow DW_UT_partial.
95
a2ab5831
NC
962020-09-24 Nick Clifton <nickc@redhat.com>
97
98 PR 26662
99 * doc/binutils.texi (nm): Document that 'c' is used for small
100 common symbols.
101
427234c7
LC
1022020-09-21 Ludovic Courtès <ludo@gnu.org>
103
104 * doc/binutils.texi (objcopy, strip): Say that
105 '--strip-unneeded' implies '--strip-debug'.
106
0690f591
AP
1072020-09-16 Anatoly Parshintsev <kupokupokupopo@gmail.com>
108
109 * verilog.c (verilog_write_address): Properly handle 64-bit
110 addresses to avoid truncation of the high part.
111
c1229f84
AM
1122020-09-16 Alan Modra <amodra@gmail.com>
113
114 * nm.c (print_symbol): Adjust elf_symbol_from invocation.
115 * objcopy.c (is_hidden_symbol): Likewise.
116
5b3eb5ed
NC
1172020-09-15 Nick Clifton <nickc@redhat.com>
118
119 * README-how-to-make-a-release (https): Add a reminder to create a
120 new Bugzilla tag for the point release, once it has been published.
121
8d58ed37
L
1222020-09-11 H.J. Lu <hongjiu.lu@intel.com>
123
124 * readelf.c (get_note_type): Support NT_X86_CET.
125
ce139cd5
NC
1262020-09-11 Nick Clifton <nickc@redhat.com>
127
128 PR 26595
129 * dwarf.c (load_separate_debug_info): Return NULL rather than
130 FALSE in error situations.
131 (load_separate_debug_file): Move code to load debug links to ...
132 (check_for_and_load_links): ... here. New function. Load
133 separate debug information pointed to by debuglink and
134 debugaltlink sections. Recursively scan newly loaded debug
135 information for more links and load them too.
136
dfbee680
AM
1372020-09-09 Alan Modra <amodra@gmail.com>
138
139 PR 26578
140 * dwarf.c (parse_gnu_debugaltlink): Don't alloc build_id_data.
141 (load_separate_debug_files): Use a stack var for build_id_data.
142
790147a9
L
1432020-09-08 H.J. Lu <hongjiu.lu@intel.com>
144
145 PR ld/26587
146 * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
147 to ld on PE targets for PR 25662 test.
148
7d81bc93
JL
1492020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
150 Kuan-Lin Chen <kuanlinchentw@gmail.com>
151
152 * readelf.c (target_specific_reloc_handling): Handle
153 R_MSP430{,X}_GNU_{SET,SUB}_ULEB128.
154
839f41a3
AM
1552020-09-02 Alan Modra <amodra@gmail.com>
156
157 * objdump.c (disassemble_bytes): Use an unsigned type for "addend".
158
54b8331d
AM
1592020-08-30 Alan Modra <amodra@gmail.com>
160
161 * readelf.c (print_gnu_build_attribute_name): Use unsigned long
162 long for "bytes".
163
08d7da7d
NC
1642020-08-28 Nick Clifton <nickc@redhat.com>
165
166 PR 26548
167 * dwarf.c (read_leb128): When checking for overflow of a signed
168 read, use a signed shift.
169
0861f561
CQ
1702020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
171
172 * readelf.c (get_csky_section_type_name): New.
173 (get_section_type_name): Add handler for CSKY.
174 (display_csky_attribute): New.
175 (process_arch_specific): Add handler for CSKY.
176 * testsuite/binutils-all/strip-3.d: Remove .csky.attributes
177 section.
178
b0191216
JL
1792020-08-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
180
181 * readelf.c (get_msp430x_section_type_name): Rename to ...
182 (get_msp430_section_type_name): ... this.
183 (get_section_type_name): Use get_msp430_section_type_name.
184 (display_msp430x_attribute): Rename to ...
185 (display_msp430_attribute): ... this.
186 (process_arch_specific): Use display_msp430_attribute.
187
9e7ed8b0
JDA
1882020-08-27 John David Anglin <danglin@gcc.gnu.org>
189
190 PR 26356
191 * testsuite/binutils-all/objcopy.exp (objcopy --reverse-bytes): Add
192 "-j $PRIVATE$" to command on hppa*-*-hpux*.
193 * testsuite/lib/utils-lib.exp (default_binutils_run): Remove existing
194 dollar-sign quotes before quoting. Do this prior to generating log
195 output.
196
6b5473c9
RH
1972020-08-27 Ralf Habacker <ralf.habacker@freenet.de>
198
199 PR 26088
200 * mclex.c (skip_until_eol): If eol was found, increment line
201 number.
202
5e9b84f7
NA
2032020-08-27 Nick Alcock <nick.alcock@oracle.com>
204
205 * objdump.c (dump_ctf_errs): Unquote CTF error messages.
206 * readelf.c (dump_ctf_errs): Likewise.
207
926c9e76
NA
2082020-08-27 Nick Alcock <nick.alcock@oracle.com>
209
210 * objdump.c (dump_ctf_archive_member): Move error-
211 reporting...
212 (dump_ctf_errs): ... into this separate function.
213 (dump_ctf): Call it on open errors.
214 * readelf.c (dump_ctf_archive_member): Move error-
215 reporting...
216 (dump_ctf_errs): ... into this separate function. Support
217 calls with NULL fp. Adjust for new err parameter to
218 ctf_errwarning_next.
219 (dump_section_as_ctf): Call it on open errors.
220
987cf30a
NA
2212020-08-27 Nick Alcock <nick.alcock@oracle.com>
222
223 * Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
224 * Makefile.in: Regenerated.
225
3eba3ef3
NC
2262020-08-26 Nick Clifton <nickc@redhat.com>
227
228 PR 26405
229 * readelf.c (get_segment_type): Handle OpenBSD segment types.
230
a68aba2d
AM
2312020-08-26 Alan Modra <amodra@gmail.com>
232
233 PR 26412
234 * objcopy.c (copy_object): Don't fwrite NULL contents.
235
37f628c3
KH
2362020-08-26 Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
237
238 PR 26340
239 * rcparse.y (AUTOCHECKBOX): Add WS_TABSTOP to the base style.
240
f3da8a96
AM
2412020-08-24 Alan Modra <amodra@gmail.com>
242
243 * readelf.c (dump_section_as_strings) Avoid false positive
244 "may be used uninitialised".
245
3f2e9699
L
2462020-08-22 H.J. Lu <hongjiu.lu@intel.com>
247
248 PR ld/26382
249 * nm.c (print_symname): Display only one '@' for undefined
250 versioned symbols.
251 * doc/binutils.texi: Update nm version information.
252
02391b8b
MW
2532020-08-21 Mark Wielaard <mark@klomp.org>
254
255 * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also
256 recognize DW_LANG_C11.
257
d1ce973e
AM
2582020-08-19 Alan Modra <amodra@gmail.com>
259
260 PR 26349
261 * readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset
262 and info fields.
263 (dump_section_as_strings): Don't use %tx to display offset.
264
82fcdb39
AM
2652020-08-14 Alan Modra <amodra@gmail.com>
266
267 PR 26388
268 * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries
269 of debug_information. Correct test of max_loc_offsets and
270 max_range_lists.
271 * rddbg.c (read_debugging_info): Free dhandle on error.
272
fc0efc4b
AM
2732020-08-14 Alan Modra <amodra@gmail.com>
274
275 * testsuite/binutils-all/mangled.s: Use dc.a rather than dc.d.
276
75e100a3
AM
2772020-08-13 Alan Modra <amodra@gmail.com>
278
279 PR 26348
280 * objcopy.c (copy_object): Report file name with endian error.
281 Error and return on abfd->read_only.
282
d3511b24
TT
2832020-08-12 Tom Tromey <tromey@adacore.com>
284
285 * dwarf-mode.el (Version): Now 1.6.
286 (dwarf-die-button-action): Tighten DIE reference regexp.
287 (dwarf-font-lock-keywords): Update name regexp.
288
79bc120c
NC
2892020-08-12 Nick Clifton <nickc@redhat.com>
290
291 PR binutils/26331
292 * readelf.c (do_demangle): New option flag.
293 (print_symbol): If do_demangle is enabled, demangle the symbol.
294 (enum long_option_values): New enum to hold long option values.
295 (options): Add demangle, no-demangle, recursion-limit and
296 no-recursion-limit options. Alpha sort the table.
297 (usage): Describe the new options.
298 (parse_args): Handle the new options.
299 * NEWS: Mention the new feature.
300 * doc/binutils.texi: Document the new feature.
301 * testsuite/binutils-all/readelf.exp: Test the new feature.
302 * testsuite/binutils-all/mangled.s: New file - assembler source.
303 * testsuite/binutils-all/readelf.demangled: New file - expected
304 output from readelf.
305
79ddc884
NC
3062020-08-12 Nick Clifton <nickc@redhat.com>
307
308 * po/sr.po: Updated Serbian translation.
309
9b0ac51b
L
3102020-08-10 H.J. Lu <hongjiu.lu@intel.com>
311
312 PR binutils/26302
313 * nm.c (with_symbol_versions): Removed.
314 (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
315 (long_options): Update --with-symbol-versions entry.
316 (print_symbol): Remove the with_symbol_versions check.
317 (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
318 compatibility.
319 * doc/binutils.texi: Remove --with-symbol-versions.
320
787bbc56
AM
3212020-08-05 Alan Modra <amodra@gmail.com>
322
323 PR 26337
324 * objdump.c (load_specific_debug_section): Revert last change.
325
0b97e818
AM
3262020-08-05 Alan Modra <amodra@gmail.com>
327
328 PR 26337
329 * objdump.c (load_specific_debug_section): Don't malloc space for
330 section contents, use bfd_malloc_and_get_section.
331
c8693053
RO
3322020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
333
334 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
335 * Makefile.in, doc/Makefile.in: Regenerate.
336 * configure: Regenerate.
337
ac2599c4
L
3382020-07-30 H.J. Lu <hongjiu.lu@intel.com>
339
340 * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
341 to assembler.
342 * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
343 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
344 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
345 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
346 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
347
c77cb2a0
MR
3482020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
349
350 * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
351 New test.
352 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
353 New test.
354 * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
355 New test.
356 * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
357 New test.
358 * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
359 New test.
360 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
361 New test.
362 * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
363 New test.
364 * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
365 New test.
366 * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
367 New test.
368 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
369
3f1b17bb
MR
3702020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
371
372 * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
373 test.
374 * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
375 test.
376 * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
377 test.
378 * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
379 test.
380 * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
381 test.
382 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
383
d70f978b
L
3842020-07-28 H.J. Lu <hongjiu.lu@intel.com>
385
386 PR binutils/26301
387 * configure: Regenerated.
388
377170fa
L
3892020-07-28 H.J. Lu <hongjiu.lu@intel.com>
390
391 PR binutils/26301
392 * configure: Regenerated.
393
8fab9282
AM
3942020-07-27 Alan Modra <amodra@gmail.com>
395
396 * objdump.c (dump_section): Don't return without calling
397 process_section_p.
398
608d61c2
L
3992020-07-27 H.J. Lu <hongjiu.lu@intel.com>
400
401 * doc/binutils.texi: Replace preceeded with preceded.
402
3abf9758
MR
4032020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
404
405 * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
406 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
407 procedures.
408 (has_newabi): Remove variable.
409 (has_abi, abi_asflags, abi_ldflags): New associative array
410 variables.
411 (irixemul): New variable.
412 Replace `run_dump_test' calls where applicable throughout with
413 `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
414 as appropriate. Use `noarch' for tests that require their own
415 architecture setting.
416 * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
417 * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
418 * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
419 * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
420 * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
421 * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
422 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
423 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
424 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
425 * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
426 * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
427 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
428 * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
429 * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
430 GAS flags.
431 * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
432 * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
433 * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
434 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
435 * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
436 * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
437 * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
438
f6720b1c
AM
4392020-07-24 Aaron Merey <amerey@redhat.com>
440
441 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
442 * Makefile.in: Rebuild.
443 * configure: Rebuild.
444 * doc/Makefile.in: Rebuild.
445
bf772a1e
NC
4462020-07-24 Nick Clifton <nickc@redhat.com>
447
448 * README-how-to-make-a-release: Various small updates whilst
449 creating the 2.35 release.
450
0b884151
NA
4512020-07-22 Nick Alcock <nick.alcock@oracle.com>
452
453 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
454 option.
455
3dd6b890
NA
4562020-07-22 Nick Alcock <nick.alcock@oracle.com>
457
458 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
459 (dump_ctf): Likewise.
460
8b37e7b6
NA
4612020-07-22 Nick Alcock <nick.alcock@oracle.com>
462
463 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
464 * readelf.c (dump_ctf_archive_member): Likewise.
465
df16e041
NC
4662020-07-22 Nick Clifton <nickc@redhat.com>
467
468 * readelf.c (parse_args): Silence potential warnings about a
469 memory resource leak when allocating space for ctf option values.
470 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
471 variable.
472
84dc5f0b
NC
4732020-07-21 Nick Clifton <nickc@redhat.com>
474
475 * po/sv.po: Updated Swedish translation.
476
570b0ed6
CZ
4772020-07-14 Claudiu Zissulescu <claziss@gmail.com>
478
479 * testsuite/binutils-all/arc/double_regs.s: New test.
480 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
481
0a5c31d1
NC
4822020-07-13 Nick Clifton <nickc@redhat.com>
483
484 * po/fr.po: Updated French translation.
485
7a34d0ea
AM
4862020-07-13 Alan Modra <amodra@gmail.com>
487
488 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
489 optional machine-os arg.
490
a308b89d
L
4912020-07-11 H.J. Lu <hongjiu.lu@intel.com>
492
493 * readelf.c (decode_x86_feature_2): Handle
494 GNU_PROPERTY_X86_FEATURE_2_TMM.
495
af2b3186
TV
4962020-07-10 Tom de Vries <tdevries@suse.de>
497
498 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
499 information in the end_sequence row.
500 * testsuite/binutils-all/dw5.W: Update.
501 * testsuite/binutils-all/objdump.WL: Update.
502
fe49679d
AM
5032020-07-09 Alan Modra <amodra@gmail.com>
504
505 * dlltool.c: Remove powerpc PE support and comments.
506 * configure.ac: Remove powerpc PE dlltool config.
507 * configure: Regenerate.
508
d90171de
NC
5092020-07-09 Nick Clifton <nickc@redhat.com>
510
511 * rclex.c: Add OWNERDRAW keyword.
512 * rcparse.y: Add OWNERDRAW token.
513 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
514 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
515 BITMAP flags.
516 * windres.c (extended_menuitems): Likewise.
517 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
518
e3fdc001
AM
5192020-07-09 Alan Modra <amodra@gmail.com>
520
521 * readelf (slurp_hppa_unwind_table): Set table_len before use
522 in relocation sanity checks.
523
5a2296ac
AM
5242020-07-07 Alan Modra <amodra@gmail.com>
525
526 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
527 * testsuite/binutils-all/nm.exp: Likewise.
528 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
529 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
530 * testsuite/binutils-all/set-section-alignment.d: Likewise.
531 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
532
efd0ed58
AM
5332020-07-07 Alan Modra <amodra@gmail.com>
534
535 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
536 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
537
17550be7
NC
5382020-07-06 Nick Clifton <nickc@redhat.com>
539
540 * po/bg.po: Updated Bulgarian translation.
541 * po/pt.po: Updated Portuguese translation.
542 * po/uk.po: Updated Ukranian translation.
543
ddb43bab
AM
5442020-07-06 Alan Modra <amodra@gmail.com>
545
546 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
547 find string length.
548
b19d852d
NC
5492020-07-04 Nick Clifton <nickc@redhat.com>
550
551 * configure: Regenerate.
552 * po/binutils.pot: Regenerate.
553
b115b9fd
NC
5542020-07-04 Nick Clifton <nickc@redhat.com>
555
556 Binutils 2.35 branch created.
557
0942c7ab
NC
5582020-07-02 Nick Clifton <nickc@redhat.com>
559
560 PR 26028
561 * readelf.c (print_symbol): Handle truncation of symbol names.
562 (options): Add -T/--silent-truncation option.
563 (parse_args): Handle the option.
564 (print_dynamic_symbol): Correct calculation of width available to
565 display symbol name.
566 * doc/binutils.texi: Document the -T option to readelf.
567 * NEWS: Mention the new feature.
568
bbd19b19
L
5692020-06-30 H.J. Lu <hongjiu.lu@intel.com>
570
571 * NEWS: Mention x86 NaCl target support removal.
572 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
573 x86 NaCl target support.
574 * testsuite/binutils-all/elfedit-1.d: Likewise.
575 * testsuite/binutils-all/i386/i386.exp: Likewise.
576 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
577 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
578 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
579 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
580 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
581 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
582 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
583 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
584 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
585 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
586 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
587 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
588
5568cc9e
NC
5892020-06-30 Nick Clifton <nickc@redhat.com>
590
591 * dwarf.c (read_and_display_attr_value): Support
592 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
593 DW_AT_comp_dir.
594
d74b88ed
AM
5952020-06-30 Alan Modra <amodra@gmail.com>
596
597 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
598 xfail for nds32.
599
9f27c364
HPN
6002020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
601
602 * dwarf.c (display_debug_str_offsets): Rename local variable
603 index to idx. Move to top of function.
604
279edac5
AM
6052020-06-29 Alan Modra <amodra@gmail.com>
606
607 * dwarf.c: Use C style comments.
608 * resrc.c: Likewise.
609
cfc16775
AM
6102020-06-27 Alan Modra <amodra@gmail.com>
611
612 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
613 after freeing.
614 (release_archive): Set fields of arch to NULL after freeing.
615
2f6ecaed
NA
6162020-06-26 Nick Alcock <nick.alcock@oracle.com>
617
618 * readelf.c (dump_section_as_ctf): Support .ctf archives using
619 ctf_arc_bufopen. Automatically load the .ctf member of such
620 archives as the parent of all other members, unless specifically
621 overridden via --ctf-parent. Split out dumping code into...
622 (dump_ctf_archive_member): ... here, as in objdump, and call
623 it once per archive member.
624 (dump_ctf_indent_lines): Code style fix.
625
094e34f2
NA
6262020-06-26 Nick Alcock <nick.alcock@oracle.com>
627
628 * configure.ac [--enable-libctf]: New, default yes.
629 Set ENABLE_LIBCTF accordingly.
630 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
631 * configure: Regenerate.
632 * config.in: Regenerate.
633 * Makefile.in: Regenerate.
634 * aclocal.m4: Regenerate.
635 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
636 (option_values): Likewise.
637 (long_options): Likewise.
638 (main): Likewise.
639 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
640 (make_ctfsect): Likewise.
641 (dump_ctf_archive_member): Likewise.
642 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
643 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
644 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
645 (usage): Likewise.
646 (process_section_contents): Likewise.
647 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
648 (dump_ctf_indent_lines): Likewise.
649 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
650
2a1bb84c
JB
6512020-06-26 Jan Beulich <jbeulich@suse.com>
652
653 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
654 redundant text from x86 specific part of -M section.
655
85f7484a
PB
6562020-06-26 Pat Bernardi <bernardi@adacore.com>
657
658 * readelf.c (display_m68k_gnu_attribute): New function.
659 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
660
d0dded5b
L
6612020-06-23 H.J. Lu <hongjiu.lu@intel.com>
662
663 PR binutils/26160
664 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
665 * testsuite/binutils-all/pr26160.r: Likewise.
666 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
667
39f381cb
NC
6682020-06-23 Nick Clifton <nickc@redhat.com>
669
670 PR 26160
671 * dwarf.c (fetch_indexed_string): Detect and handle old style
672 .debug_str_offset tables.
673 (display_debug_str_offsets): Likewise. Also add support for
674 .debug_str_offsets.dwo sections.
675
80fda85c
L
6762020-06-23 H.J. Lu <hongjiu.lu@intel.com>
677
678 PR binutils/26112
679 * testsuite/binutils-all/pr26112.o.bz2: New file.
680 * testsuite/binutils-all/pr26112.r: Likewise.
681 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
682
d081ffff
AM
6832020-06-23 Alan Modra <amodra@gmail.com>
684
685 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
686 remote_file delete command.
687
e4b7104b
NC
6882020-06-22 Nick Clifton <nickc@redhat.com>
689
690 PR 26112
691 * dwarf.c (display_debug_str_offsets): Add code to display the
692 contents of the .debug_str_offsets section.
693 (display_debug_macro): Add support for DW_MACRO_define_strx and
694 DW_MACRO_undef_strx.
695
d768f160
SJ
6962020-06-22 Saagar Jha <saagar@saagarjha.com>
697
698 * od-macho.c: Dump linkedit data for new load commands.
699
5fd104ad
AM
7002020-06-19 Alan Modra <amodra@gmail.com>
701
702 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
703 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
704 (run_dump_test): Use check_relro_support to decide whether to pass
705 extra ld option "-z norelro".
706
fd17d1e6
AM
7072020-06-11 Alan Modra <amodra@gmail.com>
708
709 * readelf.c (process_mips_specific): Don't alloc memory for
710 Elf_Internal_Options.
711
d0c4e780
AM
7122020-06-11 Alan Modra <amodra@gmail.com>
713
714 * readelf.c (process_mips_specific): Assert size of internal
715 types match size of external types, and simplify allocation of
716 internal buffer. Catch possible integer overflow when sanity
717 checking option size. Don't assume options are a regular array.
718 Sanity check reginfo option against option size. Use PRI macros
719 when printing.
720
25065fcd
RH
7212020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
722
723 PR 26082
724 * mclex.c (yylex): Reject lines that reach end-of-file without a
725 terminating newline character.
726
b37a7714
NC
7272020-06-08 Nick Clifton <nickc@redhat.com>
728
729 PR 26093
730 * doc/binutils.texi (strings): Fix typo.
731
c4b2f181
NC
7322020-06-08 Nick Clifton <nickc@redhat.com>
733
734 PR 26086
735 * dwarf.c (process_debug_info): Check that there is space in the
736 debug_information array before filling in an entry.
737
1424c35d
AM
7382020-06-06 Alan Modra <amodra@gmail.com>
739
740 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
741
8affa48a
JA
7422020-06-05 Joel Anderson <joelanderson333@gmail.com>
743
744 PR 26082
745 * mclex.c (yylex): Add test for an empty input stream.
746
8eca5c7d
SC
7472020-06-04 Stephen Casner <casner@acm.org>
748
749 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
750 for test using section pseudo-ops compatible with pdp11.
751 * testsuite/binutils-all/objcopy.exp: Select alternate source.
752
b3db6d07
JM
7532020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
754
755 * objdump.c (disassemble_data): Set disasm_info.endian_code to
756 disasm_info.endian after the latter is initialized to the
757 endianness reported by BFD.
758
0a4f37af
AM
7592020-06-04 Alan Modra <amodra@gmail.com>
760
761 * testsuite/binutils-all/i386/i386.exp: Remove global directive
762 outside proc body.
763 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
764 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
765
913e0fd4
JA
7662020-06-03 Joel Anderson <joelanderson333@gmail.com>
767
768 * windmc.h (struct mc_node): Add id_typecast field.
769 * mcparse.y (message): Initialise the id_typecast field.
770 * windmc.c (write_dbg): Use the id_typecast field as a parameter
771 when calling write_dbg_define.
772 (write_header): Likewise.
773
4a322448
AM
7742020-06-03 Alan Modra <amodra@gmail.com>
775
776 PR 26069
777 * objcopy.c (copy_relocations_in_section): Free relpp on error.
778 Don't accidentally free isection->orelocation.
779
0bee4d1c
AM
7802020-06-02 Alan Modra <amodra@gmail.com>
781
782 * testsuite/binutils-all/ar.exp (obj): Set up object file name
783 extension. Use throughout. Don't completely exclude non-ELF
784 alpha targets. Run long_filenames test for tic30. Exclude thin
785 archive tests for aix, ecoff and vms.
786 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
787 extension. Use throughout. Don't exclude non-ELF alpha targets
788 from "bintest.a".
789
ab7ad287
MF
7902020-05-28 Max Filippov <jcmvbkbc@gmail.com>
791
792 * MAINTAINERS (Xtensa): Add myself as maintainer.
793
3f3c3608
AM
7942020-05-23 Alan Modra <amodra@gmail.com>
795
796 * testsuite/binutils-all/ar.exp (many_files): New test.
797
9db70fc3
AM
7982020-05-21 Alan Modra <amodra@gmail.com>
799
800 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
801 * dlltool.c: Likewise.
802 * elfcomm.c: Likewise.
803 * rddbg.c: Likewise.
804 * readelf.c: Likewise.
805 * stabs.c: Likewise.
806 * windmc.c: Likewise.
807 * windres.c: Likewise.
808 * wrstabs.c: Likewise.
809
c31ab5a0
AM
8102020-05-21 Alan Modra <amodra@gmail.com>
811
812 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
813 access.
814
8f595e9b
NC
8152020-05-20 Nelson Chu <nelson.chu@sifive.com>
816
817 * dwarf.c: Updated since DECLARE_CSR is changed.
818
8ac10c5b
L
8192020-05-19 H.J. Lu <hjl.tools@gmail.com>
820
821 PR binutils/25809
822 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
823 segment doesn't match the .dynamic section and checks are
824 enabled.
825 (struct filedata): Add dynamic_symtab_section and
826 dynamic_strtab_section fields.
827 (process_section_headers): Set dynamic_symtab_section to the
828 .dynsym section. Set dynamic_strtab_section to the .dynstr
829 section.
830 (process_dynamic_section): Warn if the .dynsym section doesn't
831 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
832 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
833
c177f377
AM
8342020-05-19 Alan Modra <amodra@gmail.com>
835
836 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
837 (replace_members): Use bfd_get_filename rather than accessing
838 bfd->filename directly.
839 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
840 * binemul.c (do_ar_emul_append): Likewise.
841 * coffgrok.c (coff_grok): Likewise.
842
83d27139
SH
8432020-05-18 Stafford Horne <shorne@gmail.com>
844
845 * MAINTAINERS (OR1K): Add myself as maintainer.
846
d11a9fab
AB
8472020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * doc/binutils.texi: Mention 'entry address' in the set-start and
850 adjust-start options descriptions.
851
546cb2d8
NC
8522020-05-05 Nick Clifton <nickc@redhat.com>
853
854 * dwarf.c (do_checks): New global variable.
855 (display_formatted_table): Warn about an unexpected number of
856 columns in the table, if checks are enabled. Do not complain
857 about the lack of data following the number of entries in the
858 table if the table is empty.
859 (display_debug_lines_decoded): Only warn about an unexpected
860 number of columns in a table if checks are enabled.
861 * dwarf.h (do_checks): Add a prototype.
862 * elfcomm.c (error): Remove weak attribute.
863 (warn): Likewise.
864 * readelf.c (do_checks): Delete.
865 (warn): Delete.
866 (process_section_headers): Only warn about empty sections if
867 checks are enabled.
868
e052e2ba
FS
8692020-05-04 Fangrui Song <maskray@google.com>
870
871 * objcopy.c (copy_object): Allow empty section.
872 * testsuite/binutils-all/update-section.exp: Add test.
873
070b775f
NC
8742020-05-04 Nick Clifton <nickc@redhat.com>
875
876 PR 25917
877 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
878 supicious number of entries for DWARF-5 format directory and file
879 name tables. Do not display file name table header if the table
880 is empty. Do not allocate space for empty tables.
881
9c7b8e9b
AM
8822020-05-04 Alan Modra <amodra@gmail.com>
883
884 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
885 section. Don't assume endian of host matches nds32 target. Free
886 buffer.
887
60832332
AM
8882020-05-01 Alan Modra <amodra@gmail.com>
889 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
890
891 * objdump.c (disassemble_bytes): Don't scan for zeros when
892 disassembling zeros. Translate "resuming at file offset" message.
893 Formatting. Replace some signed variables with unsigned.
894
09c1e68a
AC
8952020-04-30 Alex Coplan <alex.coplan@arm.com>
896
897 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
898 disassembly.
899 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
900
8a8a1171
NC
9012020-04-30 Nick Clifton <nickc@redhat.com>
902
903 * testsuite/lib/binutils-common.exp (check_pie_support): New
904 proc.
905
cb4c35cf
AB
9062020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
907
908 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
909 range_entries for the same offset.
910
1b513401
NC
9112020-04-29 Nick Clifton <nickc@redhat.com>
912
913 * readelf.c (warn): New function - like elfcomm.c version but only
914 produces output if warnings are enabled.
915 (struct options): Add --lint and --enable-checks.
916 (usage): Add entry for --lint.
917 (parse_args): Handle -L. If checks are enabled but no dumps have
918 been selected then enable all dumps.
919 (process_section_headers): Replace long if-then-else sequence with
920 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
921 SHT_PROGBITS sections.
922 (process_file): Do not complain if the file is an archive and lint
923 mode has been enabled.
924 * elfcomm.c (error): Make the function weak.
925 (warn): Likewise.
926 * NEWS: Mention the new feature.
927 * doc/binutils.texi: Document the new feature.
928 * dwarf.h (report_leb_status): Add file name and line number
929 parameters. Include them in the diagnostic output.
930 (READ_ULEB): Pass file and line number to report_leb_status.
931 (READ_SLEB): Likewise.
932 * dwarf.c (read_and_print_leb128): Pass file and line number to
933 report_leb_status.
934 * testsuite/binutils-all/readelf.exp: Add test of new feature.
935 * testsuite/binutils-all/zero-sec.s: New test source file.
936 * testsuite/binutils-all/zero-sec.r: Expected output from new
937 test.
938
c2e71e57
NC
9392020-04-29 Nick Clifton <nickc@redhat.com>
940
941 * po/sr.po: Updated Serbian translation.
942
90837ea7
AM
9432020-04-26 Alan Modra <amodra@gmail.com>
944
945 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
946 read before dereferencing, and gracefully return. Remove
947 gnu_hash_error variable. Free gnu hash arrays if number of
948 syms found is zero.
949
2482f306
AM
9502020-04-24 Alan Modra <amodra@gmail.com>
951
952 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
953 non-zero.
954 (process_dynamic_section): Call get_num_dynamic_syms once rather
955 than in segment loop. Break out of segment loop on a successful
956 load of dynamic symbols. Formatting.
957 (process_object): Return error status from process_dynamic_section.
958
27456742
AK
9592020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
960
961 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
962 * elf.c (elfcore_grok_arc_v2): New function.
963 (elfcore_grok_note): Call the new function to handle the corresponding
964 note.
965 (elfcore_write_arc_v2): New function.
966 (elfcore_write_register_note): Call the new function to handle the
967 corresponding pseudo-sections.
968
30ce8e47
MF
9692020-04-22 Max Filippov <jcmvbkbc@gmail.com>
970
971 PR ld/25861
972 * readelf.c (is_none_reloc): Recognize
973 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
974 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
975
33b5a830
NC
9762020-04-22 Nick Clifton <nickc@redhat.com>
977
978 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
979
978c4450
AM
9802020-04-22 Alan Modra <amodra@gmail.com>
981
982 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
983 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
984 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
985 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
986 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
987 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
988 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
989 (dynamic_section, symtab_shndx_list, group_count, section_groups),
990 (section_headers_groups): Move to struct filedata. Update use
991 throughout file.
992
6431e409
AM
9932020-04-22 Alan Modra <amodra@gmail.com>
994
995 * readelf.c (struct dump_data): New, used..
996 (cmdline): ..here, and..
997 (struct filedata): ..here. Adjust all uses.
998 (request_dump_bynumber, request_dump, parse_args): Pass in a
999 struct dump_data* rather than Filedata*. Adjust callers.
1000 (main): Don't set cmdline.file_name.
1001
a5e0be5c
AM
10022020-04-20 Alan Modra <amodra@gmail.com>
1003
1004 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
1005 and nbuckets.
1006
8ff66993
AM
10072020-04-20 Alan Modra <amodra@gmail.com>
1008
1009 * readelf.c (process_section_headers): Free dynamic symbols etc.
1010 earlier.
1011
ceb9bf11
AM
10122020-04-20 Alan Modra <amodra@gmail.com>
1013
1014 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
1015 on error without freeing.
1016 (process_dynamic_section): Don't recreate dynamic symbols from
1017 dynamic tag info when the dynamic symbols have already been
1018 read via section headers.
1019
e409955d
FS
10202020-04-17 Fredrik Strupe <fredrik@strupe.net>
1021
1022 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
1023 conditional VDUP instructions are disassembled correctly.
1024 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1025 vdup-cond.d.
1026 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
1027 that VDUP instructions (which are conditional in A32) can be
1028 disassembled in thumb mode.
1029 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1030 vdup-thumb.d.
1031
ca3f923f
AM
10322020-04-17 Alan Modra <amodra@gmail.com>
1033
1034 PR 25840
1035 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
1036
937f6614
AM
10372020-04-16 Alan Modra <amodra@gmail.com>
1038
1039 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
1040 --no-addresses description.
1041
b1bc1394
AM
10422020-04-15 Alan Modra <amodra@gmail.com>
1043
1044 * objdump.c (no_addresses): New static var.
1045 (usage): Print help for --no-addresses.
1046 (long_options): Add --no-addresses entry.
1047 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
1048 (disassemble_bytes): Don't print current line address, or reloc
1049 address.
1050 * doc/binutils.texi: Document objdump --no-addresses.
1051
001890e1
AM
10522020-04-15 Alan Modra <amodra@gmail.com>
1053
1054 PR 25822
1055 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
1056 reading buckets or chains fails.
1057
b71d4fa7
AM
10582020-04-15 Alan Modra <amodra@gmail.com>
1059
1060 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
1061 etc. after freeing.
1062
89246a0e
AM
10632020-04-15 Alan Modra <amodra@gmail.com>
1064
1065 * readelf.c (get_group_flags): Translate text.
1066 (get_file_type, get_symbol_binding, get_symbol_type),
1067 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
1068
c98a4545
AM
10692020-04-15 Alan Modra <amodra@gmail.com>
1070
1071 PR 25821
1072 * readelf.c (get_num_dynamic_syms): Typo fix.
1073
645f43a8
AM
10742020-04-14 Alan Modra <amodra@gmail.com>
1075
1076 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
1077 possibility of overflow when checking number of conflicts.
1078
10ca4b04
L
10792020-04-14 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 PR binutils/25707
1082 * readelf.c (nbuckets): New.
1083 (nchains): Likewise.
1084 (buckets): Likewise.
1085 (chains): Likewise.
1086 (ngnubuckets): Likewise.
1087 (gnubuckets): Likewise.
1088 (gnuchains): Likewise.
1089 (mipsxlat): Likewise.
1090 (ngnuchains): Likewise.
1091 (gnusymidx): Likewise.
1092 (VALID_SYMBOL_NAME): Likewise.
1093 (VALID_DYNAMIC_NAME): Use it.
1094 (get_dynamic_data): Moved before process_dynamic_section.
1095 (get_num_dynamic_syms): New function.
1096 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
1097 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
1098 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
1099 table.
1100 (get_symbol_index_type): Don't print "bad section index" when
1101 there is no section header.
1102 (print_dynamic_symbol): Rewrite.
1103 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
1104 symbol table.
1105
bb897477
RO
11062020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1107
1108 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
1109 enable on *-*-solaris*.
1110
00386881
NC
11112020-03-30 Nick Clifton <nickc@redhat.com>
1112
1113 PR binutils/25662
1114 * objcopy.c (copy_object): When copying PE format files set the
1115 timestamp field in the pe_data structure if the preserve_dates
1116 flag is set.
1117 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
1118 --preserve-dates in place of the -p option, in order to make its
1119 effect more obvious.
1120
0a6a8b59
AM
11212020-03-28 Alan Modra <amodra@gmail.com>
1122
1123 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
1124 clear_xfail hppa*-*-*elf*. Revert mips xfails.
1125
6a81c59b
AM
11262020-03-28 Alan Modra <amodra@gmail.com>
1127
1128 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
1129 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
1130 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
1131 test. Pass "-p" to objcopy for the executable test.
1132
1fafefd5
JL
11332020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1134
1135 PR binutils/25662
1136 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
1137 specify whether an object file or executable should be built and tested.
1138 Change test names to report whether an object file or executable is
1139 being tested.
1140 * testsuite/binutils-all/pr25662.ld: New test.
1141 * testsuite/binutils-all/pr25662.s: New test.
1142
80e2a3b6
AM
11432020-03-27 Alan Modra <amodra@gmail.com>
1144
1145 * readelf.c (process_archive): Don't double free qualified_name.
1146 Don't break out of loop with "negative" archive_file_size, just
1147 set file offset to max.
1148
4c836627
AM
11492020-03-25 Alan Modra <amodra@gmail.com>
1150
1151 * readelf.c (process_archive): Prevent endless loop.
1152
1081065c
L
11532020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 PR binutils/25708
1156 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
1157 with bfd_get_symbol_version_string.
1158 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
1159 * objdump.c (objdump_print_symname): Likewise.
1160
7e6e972f
L
11612020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 PR binutils/25708
1164 * nm.c (SYM_NAME): Removed.
1165 (print_symname): Add a pointer to struct extended_symbol_info
1166 argument. Call _bfd_elf_get_symbol_version_name to get symbol
1167 version.
1168 (print_symdef_entry): Pass NULL to print_symname.
1169 (print_symbol_info_bsd): Update call to print_symname.
1170 (print_symbol_info_sysv): Likewise.
1171 (print_symbol_info_posix): Likewise.
1172
5a814d6d
AM
11732020-03-24 Alan Modra <amodra@gmail.com>
1174
1175 * readelf.c (process_mips_specific): Free iconf on error path.
1176
0636b245
NC
11772020-03-23 Nick Clifton <nickc@redhat.com>
1178
1179 PR 25714
1180 * wrstabs.c (stab_pop_type): Replace assertion with error return.
1181 * write_stabs_in_sections_debugging_info: Likewise.
1182 * stab_enum_type: Likewise.
1183 * stab_modify_type: Likewise.
1184 * stab_struct_field: Likewise.
1185 * stab_end_struct_type: Likewise.
1186 * stab_start_class_type: Likewise.
1187 * stab_class_static_member: Likewise.
1188 * stab_class_baseclass: Likewise.
1189 * stab_class_start_method: Likewise.
1190 * stab_class_method_var: Likewise.
1191 * stab_class_end_method: Likewise.
1192 * stab_end_class_type: Likewise.
1193 * stab_typedef_type: Likewise.
1194 * stab_start_function: Likewise.
1195 * stab_end_block: Likewise.
1196 * stab_lineno: Likewise.
1197
5844b465
NC
11982020-03-20 Nick Clifton <nickc@redhat.com>
1199
1200 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
1201 (process_section_headers): Check the return value from
1202 get_compression_header.
1203 (dump_section_as_strings): Likewise.
1204 (dump_section_as_bytes): Likewise.
1205 (load_specific_debug_section): Likewise.
1206
3d98c460
L
12072020-03-20 H.J. Lu <hongjiu.lu@intel.com>
1208
1209 * ar.c (main): Update bfd_plugin_set_program_name call.
1210 * nm.c (main): Likewise.
1211
f3a08f77
NC
12122020-03-19 Nick Clifton <nickc@redhat.com>
1213
1214 PR 25676
1215 * testsuite/binutils-all/dw4.s: New test source file.
1216 * testsuite/binutils-all/nm.exp: Run the new test.
1217
ef3df110
L
12182020-03-19 H.J. Lu <hongjiu.lu@intel.com>
1219
1220 * readelf.c (process_symbol_table): Use unsigned long for si.
1221
81a65eb3
AM
12222020-03-19 Alan Modra <amodra@gmail.com>
1223
1224 * elfcomm.c: Don't include bfd.h or bucomm.h.
1225 (program_name): Declare.
1226 (process_archive_index_and_symbols): Replace bfd_boolean with int,
1227 and substitute FALSE and TRUE.
1228 (setup_archive, setup_nested_archive): Likewise.
1229 * elfcomm.h: Likewise.
1230
1cb7d8b1
AM
12312020-03-19 Alan Modra <amodra@gmail.com>
1232
1233 * readelf.c (process_archive): Always return via path freeing
1234 memory. Formatting.
1235
b966f55f
AM
12362020-03-19 Alan Modra <amodra@gmail.com>
1237
1238 * readelf.c (process_netbsd_elf_note): Validate descsz before
1239 accessing descdata. Formatting.
1240
645ba681
AM
12412020-03-19 Alan Modra <amodra@gmail.com>
1242
1243 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
1244 * elfcomm.h (setup_archive): Update prototype.
1245
28d13567
AM
12462020-03-16 Alan Modra <amodra@gmail.com>
1247
1248 * readelf.c (get_symbols): New function.
1249 (process_relocs, ia64_process_unwind, hppa_process_unwind),
1250 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
1251
60e63c3e
AM
12522020-03-16 Alan Modra <amodra@gmail.com>
1253
1254 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
1255 Detect shift overflows and check that terminating byte is found.
1256 Print an error on a bad uleb128.
1257
1bd6175a
AM
12582020-03-14 Alan Modra <amodra@gmail.com>
1259
1260 * readelf.c (process_file): Clean ba_cache.
1261
780f96ae
AM
12622020-03-14 Alan Modra <amodra@gmail.com>
1263
1264 * elfcomm.h (setup_archive): Update prototype.
1265 * elfcomm.c (setup_archive): Add file_size parameter and sanity
1266 check longnames_size.
1267 (setup_nested_archive): Get file size and pass to setup_archive.
1268 * elfedit.c (process_archive): Likewise.
1269 * readelf.c (process_archive): Pass filedata->file_size to
1270 setup_archive.
1271
f761cb13
AM
12722020-03-14 Alan Modra <amodra@gmail.com>
1273
1274 * readelf.c (dump_section_as_strings): Free memory on error exit.
1275 (dump_section_as_bytes, process_notes_at): Likewise.
1276 (get_build_id): Free enote.
1277
06d949ec
KR
12782020-03-13 Kamil Rytarowski <n54@gmx.com>
1279
1280 * readelf.c (get_netbsd_elfcore_note_type): Add support for
1281 NT_NETBSDCORE_LWPSTATUS notes.
1282
fd486f32
AM
12832020-03-13 Alan Modra <amodra@gmail.com>
1284
1285 * elfcomm.c (get_archive_member_name): Always return malloc'd
1286 string or NULL.
1287 * elfedit.c (process_archive): Tidy memory on all return paths.
1288 * readelf.c (process_archive): Likewise.
1289 (process_symbol_table): Likewise.
1290 (ba_cache): New, replacing ..
1291 (get_symbol_for_build_attribute): ..static vars here. Free
1292 strtab and symtab before loading new ones. Reject symtab without
1293 valid strtab in loop, breaking out of loop on valid symtab.
1294 (process_file): Free ba_cache symtab and strtab here, resetting
1295 ba_cache.
1296
8fb879cd
AM
12972020-03-12 Alan Modra <amodra@gmail.com>
1298
1299 * readelf.c (process_section_headers): Don't just set
1300 filedata->section_headers NULL, free it first. Similarly for
1301 dynamic_symbols, dynamic_strings, dynamic_syminfo and
1302 symtab_shndx_list. Zero associated counts too.
1303 (process_object): Free symtab_shndx_list.
1304 (process_file): Free various allocated filedata tables.
1305
5496f3c6
NC
13062020-03-11 Nick Clifton <nickc@redhat.com>
1307
1308 PR 25611
1309 PR 25614
1310 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
1311 li_segment_size fields.
1312 * dwarf.c (read_debug_line_header): Record the address size and
1313 segment selector size values (if present) in the lineinfo
1314 structure.
1315 (display_formatted_table): Warn if the format count is empty but
1316 the table itself is not empty.
1317 Display the format count and entry count at the start of the table
1318 dump.
1319 (display_debug_lines_raw): Display the address size and segement
1320 selector size fields, if present.
1321 * testsuite/binutils-all/dw5.W: Update expected output.
1322
9cc89dc0
AM
13232020-03-11 Alan Modra <amodra@gmail.com>
1324
1325 PR 25651
1326 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
1327 pad_to_set on second block of code dealing with padding.
1328 Replace "c" with "num_sec" and don't recalculate number of
1329 sections on second block. Size arrays using sizeof (element)
1330 rather than sizeof (element type).
1331
41da0822
AM
13322020-03-10 Alan Modra <amodra@gmail.com>
1333
1334 * objdump.c (disassemble_section): Don't call qsort unless
1335 sym count is at least two.
1336 (disassemble_data): Don't call memcpy with NULL src.
1337
95099889
AM
13382020-03-09 Alan Modra <amodra@gmail.com>
1339
1340 PR 25645
1341 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
1342 to get_data rather than multiplying.
1343 (dump_ia64_vms_dynamic_relocs): Likewise.
1344 (process_version_sections): Correct order of size and nmemb args
1345 in get_data call.
1346 (process_mips_specific): Likewise.
1347
a15de1f5
L
13482020-03-08 H.J. Lu <hongjiu.lu@intel.com>
1349
1350 * readelf.c (get_dynamic_data): Replace "memory chekers" with
1351 "memory checkers" in comments.
1352
9979ab66
SM
13532020-03-06 Simon Marchi <simon.marchi@efficios.com>
1354
1355 PR 25491
1356 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
1357 * doc/Makefile.in: Re-generate.
1358
a0dcf297
NC
13592020-03-06 Nick Clifton <nickc@redhat.com>
1360
1361 * objcopy.c (check_new_section_flags): New function. Reject the
1362 SEC_COFF_SHARED flag if the target is not a COFF binary.
1363 (copy_object): Call check_new_section_flags.
1364 (setup_section): Likewise.
1365 * doc/binutils.texi (objcopy): Add a note that the 'share' section
1366 flag cannot be applied to ELF binaries.
1367
a9b90127
AM
13682020-03-06 Alan Modra <amodra@gmail.com>
1369
1370 PR 25637
1371 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
1372
d1faf7ca
AM
13732020-03-05 Alan Modra <amodra@gmail.com>
1374
1375 PR 25629
1376 * objcopy.c (filter_symbols): Don't segfault on NULL
1377 prefix_symbols_string.
1378
eef64366
CE
13792020-03-04 Christian Eggers <ceggers@gmx.de>
1380
1381 * objcopy.c (copy_object): Convert from bytes to octets for
1382 --gap-fill and --pad-to.
1383
5be2b2f5
NC
13842020-03-03 Nick Clifton <nickc@redhat.com>
1385
1386 PR 25625
1387 * prdbg.c (pr_tag_type): Remove call to abort.
1388
b312fea1
AM
13892020-03-02 Aaron Merey <amerey@redhat.com>
1390
1391 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
1392 selection.
1393
ba3265d0
NC
13942020-03-02 Nick Clifton <nickc@redhat.com>
1395
1396 PR 25543
1397 * readelf.c (dump_section_as_strings): Display new-line characters
1398 as \n and then insert a line break.
1399 * testsuite/binutils-all/pr25543.s: New test.
1400 * testsuite/binutils-all/pr25543.d: Test driver.
1401 * testsuite/binutils-all/readelf.exp: Run the new test.
1402
736990c4
NC
14032020-02-27 Nick Clifton <nickc@redhat.com>
1404
1405 PR 25526
1406 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
1407 get_data is unable to load the string table.
1408
dc1e8a47
AM
14092020-02-26 Alan Modra <amodra@gmail.com>
1410
1411 * elfedit.c: Indent labels correctly.
1412 * readelf.c: Likewise.
1413 * resres.c: Likewise.
1414
ecda9016
L
14152020-02-25 H.J. Lu <hongjiu.lu@intel.com>
1416
1417 PR binutils/25584
1418 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
1419 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
1420
83d4d556
NC
14212020-02-24 Nick Clifton <nickc@redhat.com>
1422
1423 PR 25499
1424 * doc/binutils.texi (objdump): Fix typo in description of
1425 objdump's -g option.
1426
bd0cf5a6
NC
14272020-02-20 Nelson Chu <nelson.chu@sifive.com>
1428
1429 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
1430 is changed.
1431
741cb839
EC
14322020-02-19 Jordan Rupprecht <rupprecht@google.com>
1433
1434 * objdump.c (show_line): call bfd_demangle when using do_demangle.
1435
9f1528a1
AB
14362020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1437
1438 * configure: Regenerate.
1439
3a5d12fb
FS
14402020-02-10 Fangrui Song <maskray@google.com>
1441
1442 * objcopy.c (parse_flags): Handle "exclude".
1443 * doc/binutils.texi: Document the support.
1444
678d457f
AM
14452020-02-10 Aaron Merey <amerey@redhat.com>
1446
1447 * binutils/testsuite/binutils-all/debuginfod.exp:
1448 Replace set ::env with setenv.
46471187
AM
1449 Start server before setting environment variable.
1450 Specify tmpdir as the location of the server's
1451 database.
1452 Check additional server metrics at start-up.
678d457f 1453
e8319fde
NC
14542020-02-07 Nick Clifton <nickc@redhat.com>
1455
1456 * README-how-to-make-a-release: Add note about updating the
1457 GAS/NEWS URL in the next release.
1458
9fc0b501
SB
14592020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1460
1461 PR 25469
1462 * readelf.c (get_machine_flags): Add support for Z80N machine
1463 number.
1464
e1104d08
NC
14652020-02-07 Nick Clifton <nickc@redhat.com>
1466
1467 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1468 of the truncated file name.
1469
c2e6f744 14702020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
1471
1472 * objdump.c (print_jump_visualisation): New function.
1473 (disassemble_bytes): Call new function.
1474
02e0be69
AM
14752020-02-06 Alan Modra <amodra@gmail.com>
1476
1477 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1478 TCL procedure.
1479 (supports_gnu_osabi): New procedure.
1480 (is_generic): New, from ld-lib.exp.
1481 (supports_gnu_unique): Use the above.
1482
e8b79122
AM
14832020-02-04 Alan Modra <amodra@gmail.com>
1484
1485 * Makefile.am (CFILES): Add od-elf32_avr.c.
1486 * Makefile.in: Regenerate.
1487 * po/POTFILES.in: Regenerate.
1488
27a45f42
AS
14892020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1490
1491 * readelf.c (dump_relocations, dump_relocations)
1492 (decode_arm_unwind_bytecode, process_dynamic_section)
1493 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1494 error message.
1495
0b398d69
ST
14962020-02-03 Sergei Trofimovich <siarheit@google.com>
1497
1498 * coffdump.c (program_name): Drop redundant definition.
1499 * srconv.c (program_name): Likewise
1500 * sysdump.c (program_name): Likewise
1501
a8c4d40b
L
15022020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 PR gas/25380
1505 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1506 same file with different section pointers.
1507
cb6ad9bb
NC
15082020-02-01 Nick Clifton <nickc@redhat.com>
1509
1510 * README-how-to-make-a-release: Update with more details on the
1511 release making process.
1512
53943f32
NC
15132020-01-31 Nick Clifton <nickc@redhat.com>
1514
1515 * po/sv.po: Updated Swedish translation.
1516
55be8fd0
NC
15172020-01-28 Nick Clifton <nickc@redhat.com>
1518
1519 * readelf.c (get_build_id): Simplify warning message about corrupt
1520 notes encountered whilst scanning for the build-id.
1521
82ef9cad
RM
15222020-01-27 Roland McGrath <mcgrathr@google.com>
1523
1524 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1525 for overlapping ranges so that (A == B) == (B == A) holds.
1526
e3696f67
AM
15272020-01-27 Alan Modra <amodra@gmail.com>
1528
1529 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1530 case statement with switch statement.
1531
2f796de6
NC
15322020-01-24 Nick Clifton <nickc@redhat.com>
1533
1534 * readelf.c (get_build_id): Fix warning messages about corrupt
1535 notes.
1536
24e648d4
NC
15372020-01-23 Nick Clifton <nickc@redhat.com>
1538
1539 * po/fr.po: Updated French translation.
1540
c48acf6f
YC
15412020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1542
1543 PR 25417
1544 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1545
26916852
NC
15462020-01-20 Nick Clifton <nickc@redhat.com>
1547
1548 * po/pt.po: Updated Portuguese translation.
1549 * po/uk.po: Updated Ukranian translation.
1550
b248e9ce
NC
15512020-01-18 Nick Clifton <nickc@redhat.com>
1552
1553 * README-how-to-make-a-release: Update notes on how to cut a
1554 branch for a release.
1555
1b1bb2c6
NC
15562020-01-18 Nick Clifton <nickc@redhat.com>
1557
1558 * configure: Regenerate.
1559 * po/binutils.pot: Regenerate.
1560
ae774686
NC
15612020-01-18 Nick Clifton <nickc@redhat.com>
1562
1563 Binutils 2.34 branch created.
1564
82a9ed20
TT
15652020-01-17 Thomas Troeger <tstroege@gmx.de>
1566
1567 * objdump.c (jump_info_visualize_address): Discard jumps that are
1568 no longer needed.
1569 (disassemble_bytes): Only compute the maximum level if jumps were
1570 detected.
1571
6a1939f5
NC
15722020-01-13 Nick Clifton <nickc@redhat.com>
1573
c87c17c1 1574 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1575 * testsuite/binutils-all/debuginfod.exp: New tests.
1576
1d67fe3b
TT
15772020-01-13 Thomas Troeger <tstroege@gmx.de>
1578
1579 * objdump.c (visualize_jumps, color_output, extended_color_output)
1580 (detected_jumps): New variables.
1581 (usage): Add the new jump visualization options.
1582 (option_values): Add new option value.
1583 (long_options): Add the new option.
1584 (jump_info_new, jump_info_free): New functions.
1585 (jump_info_min_address, jump_info_max_address): Likewise.
1586 (jump_info_end_address, jump_info_is_start_address): Likewise.
1587 (jump_info_is_end_address, jump_info_size): Likewise.
1588 (jump_info_unlink, jump_info_insert): Likewise.
1589 (jump_info_add_front, jump_info_move_linked): Likewise.
1590 (jump_info_intersect, jump_info_merge): Likewise.
1591 (jump_info_sort, jump_info_visualize_address): Likewise.
1592 (disassemble_jumps): New function - used to locate jumps.
1593 (disassemble_bytes): Add ascii art generation.
1594 (disassemble_section): Add scan to locate jumps.
1595 (main): Parse the new visualization option.
1596 * doc/binutils.texi: Document the new feature.
1597 * NEWS: Mention the new feature.
1598
a788aedd
AM
15992020-01-13 Alan Modra <amodra@gmail.com>
1600
a4f2b7c5
AM
1601 PR 25360
1602 PR 25361
a788aedd
AM
1603 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1604 fde_fc col_type and col_offset.
1605 * readelf.c (apply_relocations): Move symsec check earlier.
1606 (free_debug_section): Free reloc_info.
1607 (process_notes_at): Free pnotes on error path.
1608 (process_object): Free dump_sects here..
1609 (process_archive): ..not here.
1610
805f38bc
AM
16112020-01-13 Alan Modra <amodra@gmail.com>
1612
1613 PR 25362
1614 * nm.c (display_rel_file): Free dyn_syms.
1615
ffebb0bb
NC
16162020-01-09 Nick Clifton <nickc@redhat.com>
1617
1618 PR 25220
1619 * objcopy.c (empty_name): New variable.
1620 (need_sym_before): Prevent an attempt to free a static variable.
1621 (filter_symbols): Avoid strcmp test by checking for pointer
1622 equality.
1623
ade4fd9b
NC
16242020-01-09 Nick Clifton <nickc@redhat.com>
1625
1626 * po/zh_TW.po: Updated Traditional Chinese translation.
1627
16282020-01-09 Aaron Merey <amerey@redhat.com>
1629
1630 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1631 * Makefile.in: Regenerate.
1632 * NEWS: Update.
1633 * config.in: Regenerate.
1634 * configure: Regenerate.
1635 * configure.ac: Call AC_DEBUGINFOD.
1636 * doc/Makefile.in: Regenerate.
1637 * doc/binutils.texi: Add section on using binutils
1638 with debuginfod.
1639 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1640 Query debuginfod servers for the target debug file.
1641 (load_separate_debug_info): Call
1642 debuginfod_fetch_separate_debug_info if configured with
1643 debuginfod.
1644 (load_separate_debug_files): Add file argument to
1645 load_separate_debug_info calls.
1646 * dwarf.h (get_build_id): Add declaration.
1647 * objdump.c (get_build_id): New function. Get build-id of file.
1648 * readelf.c (get_build_id): Likewise.
1649 * testsuite/binutils-all/debuginfod.exp: New tests.
1650 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1651 section.
1652
6655dba2
SB
16532020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1654
1655 * readelf.c: Add support for new Z*) relocations and machine
1656 types.
1657
b14ce8bf
AM
16582020-01-01 Alan Modra <amodra@gmail.com>
1659
1660 Update year range in copyright notice of all files.
1661
0b114740 1662For older changes see ChangeLog-2019
3499769a 1663\f
0b114740 1664Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1665
1666Copying and distribution of this file, with or without modification,
1667are permitted in any medium without royalty provided the copyright
1668notice and this notice are preserved.
1669
1670Local Variables:
1671mode: change-log
1672left-margin: 8
1673fill-column: 74
1674version-control: never
1675End: