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