]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
[gdb/testsuite] Fix DUPLICATEs in gdb.threads/tls.exp
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
ce04ca31
AR
12020-10-26 Andreas Rammhold <andreas@rammhold.de>
2
3 * README-how-to-make-a-release: Use sha256sum instead of md5sum.
4
ec3f28df
NC
52020-10-28 Nick Clifton <nickc@redhat.com>
6
7 PR 26795
8 * elfedit.c (process_archive): Remove spurious call to free().
9
bcd213b2
NC
102020-10-27 Nick Clifton <nickc@redhat.com>
11
12 * dwarf.c (struct abbrev_list): New structure. Used to collect
13 lists of abbreviation sets.
14 (struct abbrev_map): New structure. Used to map CU offsets to
15 abbreviation offsets.
16 (record_abbrev_list): New function. A new entry to an
17 abbreviation list.
18 (free_all_abbrevs): Update to free abbreviation lists.
19 (new_abbrev_list): New function. Start a new abbreviation
20 list.
21 (find_abbrev_list_by_abbrev_offset): New function.
22 (find_abbrev_map_by_offset): New function.
23 (add_abbrev): Add abbrev_list parameter.
24 (add_abbrev_attr): Likewise.
25 (process_abbrev_section): Rename to process_abbrev_set and add
26 list parameter.
27 (get_type_abbrev_from_form): New function. Attempts to decode the
28 forms used by DW_AT_type attributes.
29 (get_type_signedness): Display type names if operating in wide
30 mode. Use get_type_abbrev_from_form.
31 (read_and_display_attr_value): Use get_type_abbrev_from_form.
32 (process_debug_info): Pre-parse the CU headers to collate all the
33 abbrevs before starting the main scan.
34 (process_debug_abbrev): Do not free any loaded abbrevs.
35 (free_debug_memory): Free the abbrev maps.
36
64ec7c3f
L
372020-10-22 H.J. Lu <hongjiu.lu@intel.com>
38
39 * testsuite/binutils-all/objcopy.exp (objcopy_test): Report
40 error message on error.
41
777cd7ab
DDAG
422020-10-22 Dr. David Alan Gilbert <dgilbert@redhat.com>
43
44 * windmc.c (write_header_define): Fix printf format.
45 (write_header): Likewise.
46
59624513
NC
472020-10-21 Nick Clifton <nickc@redhat.com>
48
49 * dwarf.c (skip_attr_bytes): Accept DWARF versions higher than 4
50 when processing the DW_FORM_ref_addr form.
51 Skip bytes in DW_FORM_block and DW_FORM_exprloc forms.
52 Handle DW_FORM_indirect.
53 (get_type_signedness): Allow a limited amount of recursion.
54 Do not attempt to decode types that use the DW_FORM_ref_addr form.
55 (read_and_display_attr_value): Do not attempt to decode types
56 that use the DW_FORM_ref_addr form.
57
b9e920ec
AM
582020-10-20 Alan Modra <amodra@gmail.com>
59
60 * readelf.c: Delete whitespace at end of line throughout.
61 (SECTION_NAME, SECTION_NAME_VALID): New.
62 (SECTION_NAME_PRINT): Rename from SECTION_NAME. Formatting.
63 (printable_section_name, dump_relocations): Use SECTION_NAME_PRINT.
64 (process_section_headers, process_section_groups): Likewise.
65 (shdr_to_ctf_sect): Likewise.
66 (find_section, find_section_in_set): Use SECTION_NAME_VALID.
67 (ia64_process_unwind, hppa_process_unwind): Likewise.
68 (display_debug_section, initialise_dumps_byname): Likewise.
69 (process_lto_symbol_tables): Likewise. Check trailing period of
70 lto symbol table names.
71 (display_lto_symtab): Use sizeof instead of strlen.
72
ce786647
NC
732020-10-20 Nelson Chu <nelson.chu@sifive.com>
74
75 * MAINTAINERS (RISC-V): Add myself as RISC-V co-maintainer.
76
0f03783c
NC
772020-10-19 Nick Clifton <nickc@redhat.com>
78
79 * readelf.c (do_lto_syms): New local.
80 (long_option_values): Add OPTION_LTO_SYMS.
81 (options): Add --lto-syms.
82 (usage): Mention the new option.
83 (parse_args): Parse the new option.
84 (get_lto_kind): New function.
85 (get_lto_visibility): New function.
86 (get_lto_sym_type): New function.
87 (display_lto_symtab): New function - displays the contents of an
88 LTo symbol table section.
89 (process_lto_symbol_tables): New functions. Calls
90 dipslay_lto_symtab on any LTO symbol table section.
91 (process_object_file): Call process_lto_symbol_tables.
92 * doc/binutils.texi: Document the new option.
93 * NEWS: Mention the new feature.
94
32930e4e
L
952020-10-09 H.J. Lu <hongjiu.lu@intel.com>
96
97 PR gas/26703
98 * readelf.c (decode_x86_compat_2_isa): New function.
99 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
100 (decode_x86_feature_1): Handle GNU_PROPERTY_X86_FEATURE_2_MASK.
101 (print_gnu_property_note): Handle X86_COMPAT_2_ISA_1_USED,
102 and X86_COMPAT_2_ISA_1_NEEDED.
103 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
104 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
105 values.
106 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
107 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
108 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
109 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
110 * testsuite/binutils-all/i386/empty.d: Updated.
111 * testsuite/binutils-all/i386/ibt.d: Likewise.
112 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
113 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
114 * testsuite/binutils-all/i386/shstk.d: Likewise.
115 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
116 * testsuite/binutils-all/x86-64/empty.d: Likewise.
117 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
118 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
119 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
120 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
121 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
122 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
123 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
124 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
125 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
126 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
127 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
128 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
129 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
130 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
131
0ec992e6
NC
1322020-10-06 Nick Clifton <nickc@redhat.com>
133
134 * objcopy.c (copy_object): Compare input and output sections by
135 pointer rather than name.
136
1f1845d4
NC
1372020-10-05 Nick Clifton <nickc@redhat.com>
138
139 PR 26698
140 * windmc.c (mc_unify_path): Fix typo checking character at end of
141 pathname.
142
0cc79db2
SN
1432020-10-05 Samanta Navarro <ferivoz@riseup.net>
144
145 * doc/binutils.texi: Fix spelling mistakes.
146
1c9f770d
MW
1472020-09-29 Mark Wielaard <mark@klomp.org>
148
149 * dwarf.c (display_loclists_list): Handle DW_LLE_start_end and
150 DW_LLE_start_length. Only add base_address for DW_LLE_offset_pair.
151
5a805384
AM
1522020-09-25 Alan Modra <amodra@gmail.com>
153
154 * elfcomm.c (byte_put_little_endian, byte_put_big_endian): Support
155 more field sizes.
156 * readelf.c (target_specific_reloc_handling <MSP430>): Limit
157 allowed reloc_size. Don't read_leb128 outside of section.
158
debd1a62
MW
1592020-09-23 Mark Wielaard <mark@klomp.org>
160
161 * dwarf.c (process_debug_info): Print Unit Type for DWARF5.
162 * testsuite/binutils-all/dw5.W: Adjust expected output.
163 * testsuite/binutils-all/dwarf-attributes.W: Likewise.
164
ec47b32a
MW
1652020-09-23 Mark Wielaard <mark@klomp.org>
166
167 * dwarf.c (read_and_display_attr_value): Handle DW_FORM_ref_addr
168 for dwarf_version 5 just as version 3 and 4 (only 2 is
169 different).
170 (process_debug_info): Allow DW_UT_partial.
171
a2ab5831
NC
1722020-09-24 Nick Clifton <nickc@redhat.com>
173
174 PR 26662
175 * doc/binutils.texi (nm): Document that 'c' is used for small
176 common symbols.
177
427234c7
LC
1782020-09-21 Ludovic Courtès <ludo@gnu.org>
179
180 * doc/binutils.texi (objcopy, strip): Say that
181 '--strip-unneeded' implies '--strip-debug'.
182
0690f591
AP
1832020-09-16 Anatoly Parshintsev <kupokupokupopo@gmail.com>
184
185 * verilog.c (verilog_write_address): Properly handle 64-bit
186 addresses to avoid truncation of the high part.
187
c1229f84
AM
1882020-09-16 Alan Modra <amodra@gmail.com>
189
190 * nm.c (print_symbol): Adjust elf_symbol_from invocation.
191 * objcopy.c (is_hidden_symbol): Likewise.
192
5b3eb5ed
NC
1932020-09-15 Nick Clifton <nickc@redhat.com>
194
195 * README-how-to-make-a-release (https): Add a reminder to create a
196 new Bugzilla tag for the point release, once it has been published.
197
8d58ed37
L
1982020-09-11 H.J. Lu <hongjiu.lu@intel.com>
199
200 * readelf.c (get_note_type): Support NT_X86_CET.
201
ce139cd5
NC
2022020-09-11 Nick Clifton <nickc@redhat.com>
203
204 PR 26595
205 * dwarf.c (load_separate_debug_info): Return NULL rather than
206 FALSE in error situations.
207 (load_separate_debug_file): Move code to load debug links to ...
208 (check_for_and_load_links): ... here. New function. Load
209 separate debug information pointed to by debuglink and
210 debugaltlink sections. Recursively scan newly loaded debug
211 information for more links and load them too.
212
dfbee680
AM
2132020-09-09 Alan Modra <amodra@gmail.com>
214
215 PR 26578
216 * dwarf.c (parse_gnu_debugaltlink): Don't alloc build_id_data.
217 (load_separate_debug_files): Use a stack var for build_id_data.
218
790147a9
L
2192020-09-08 H.J. Lu <hongjiu.lu@intel.com>
220
221 PR ld/26587
222 * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
223 to ld on PE targets for PR 25662 test.
224
7d81bc93
JL
2252020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
226 Kuan-Lin Chen <kuanlinchentw@gmail.com>
227
228 * readelf.c (target_specific_reloc_handling): Handle
229 R_MSP430{,X}_GNU_{SET,SUB}_ULEB128.
230
839f41a3
AM
2312020-09-02 Alan Modra <amodra@gmail.com>
232
233 * objdump.c (disassemble_bytes): Use an unsigned type for "addend".
234
54b8331d
AM
2352020-08-30 Alan Modra <amodra@gmail.com>
236
237 * readelf.c (print_gnu_build_attribute_name): Use unsigned long
238 long for "bytes".
239
08d7da7d
NC
2402020-08-28 Nick Clifton <nickc@redhat.com>
241
242 PR 26548
243 * dwarf.c (read_leb128): When checking for overflow of a signed
244 read, use a signed shift.
245
0861f561
CQ
2462020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
247
248 * readelf.c (get_csky_section_type_name): New.
249 (get_section_type_name): Add handler for CSKY.
250 (display_csky_attribute): New.
251 (process_arch_specific): Add handler for CSKY.
252 * testsuite/binutils-all/strip-3.d: Remove .csky.attributes
253 section.
254
b0191216
JL
2552020-08-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
256
257 * readelf.c (get_msp430x_section_type_name): Rename to ...
258 (get_msp430_section_type_name): ... this.
259 (get_section_type_name): Use get_msp430_section_type_name.
260 (display_msp430x_attribute): Rename to ...
261 (display_msp430_attribute): ... this.
262 (process_arch_specific): Use display_msp430_attribute.
263
9e7ed8b0
JDA
2642020-08-27 John David Anglin <danglin@gcc.gnu.org>
265
266 PR 26356
267 * testsuite/binutils-all/objcopy.exp (objcopy --reverse-bytes): Add
268 "-j $PRIVATE$" to command on hppa*-*-hpux*.
269 * testsuite/lib/utils-lib.exp (default_binutils_run): Remove existing
270 dollar-sign quotes before quoting. Do this prior to generating log
271 output.
272
6b5473c9
RH
2732020-08-27 Ralf Habacker <ralf.habacker@freenet.de>
274
275 PR 26088
276 * mclex.c (skip_until_eol): If eol was found, increment line
277 number.
278
5e9b84f7
NA
2792020-08-27 Nick Alcock <nick.alcock@oracle.com>
280
281 * objdump.c (dump_ctf_errs): Unquote CTF error messages.
282 * readelf.c (dump_ctf_errs): Likewise.
283
926c9e76
NA
2842020-08-27 Nick Alcock <nick.alcock@oracle.com>
285
286 * objdump.c (dump_ctf_archive_member): Move error-
287 reporting...
288 (dump_ctf_errs): ... into this separate function.
289 (dump_ctf): Call it on open errors.
290 * readelf.c (dump_ctf_archive_member): Move error-
291 reporting...
292 (dump_ctf_errs): ... into this separate function. Support
293 calls with NULL fp. Adjust for new err parameter to
294 ctf_errwarning_next.
295 (dump_section_as_ctf): Call it on open errors.
296
987cf30a
NA
2972020-08-27 Nick Alcock <nick.alcock@oracle.com>
298
299 * Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
300 * Makefile.in: Regenerated.
301
3eba3ef3
NC
3022020-08-26 Nick Clifton <nickc@redhat.com>
303
304 PR 26405
305 * readelf.c (get_segment_type): Handle OpenBSD segment types.
306
a68aba2d
AM
3072020-08-26 Alan Modra <amodra@gmail.com>
308
309 PR 26412
310 * objcopy.c (copy_object): Don't fwrite NULL contents.
311
37f628c3
KH
3122020-08-26 Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
313
314 PR 26340
315 * rcparse.y (AUTOCHECKBOX): Add WS_TABSTOP to the base style.
316
f3da8a96
AM
3172020-08-24 Alan Modra <amodra@gmail.com>
318
319 * readelf.c (dump_section_as_strings) Avoid false positive
320 "may be used uninitialised".
321
3f2e9699
L
3222020-08-22 H.J. Lu <hongjiu.lu@intel.com>
323
324 PR ld/26382
325 * nm.c (print_symname): Display only one '@' for undefined
326 versioned symbols.
327 * doc/binutils.texi: Update nm version information.
328
02391b8b
MW
3292020-08-21 Mark Wielaard <mark@klomp.org>
330
331 * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also
332 recognize DW_LANG_C11.
333
d1ce973e
AM
3342020-08-19 Alan Modra <amodra@gmail.com>
335
336 PR 26349
337 * readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset
338 and info fields.
339 (dump_section_as_strings): Don't use %tx to display offset.
340
82fcdb39
AM
3412020-08-14 Alan Modra <amodra@gmail.com>
342
343 PR 26388
344 * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries
345 of debug_information. Correct test of max_loc_offsets and
346 max_range_lists.
347 * rddbg.c (read_debugging_info): Free dhandle on error.
348
fc0efc4b
AM
3492020-08-14 Alan Modra <amodra@gmail.com>
350
351 * testsuite/binutils-all/mangled.s: Use dc.a rather than dc.d.
352
75e100a3
AM
3532020-08-13 Alan Modra <amodra@gmail.com>
354
355 PR 26348
356 * objcopy.c (copy_object): Report file name with endian error.
357 Error and return on abfd->read_only.
358
d3511b24
TT
3592020-08-12 Tom Tromey <tromey@adacore.com>
360
361 * dwarf-mode.el (Version): Now 1.6.
362 (dwarf-die-button-action): Tighten DIE reference regexp.
363 (dwarf-font-lock-keywords): Update name regexp.
364
79bc120c
NC
3652020-08-12 Nick Clifton <nickc@redhat.com>
366
367 PR binutils/26331
368 * readelf.c (do_demangle): New option flag.
369 (print_symbol): If do_demangle is enabled, demangle the symbol.
370 (enum long_option_values): New enum to hold long option values.
371 (options): Add demangle, no-demangle, recursion-limit and
372 no-recursion-limit options. Alpha sort the table.
373 (usage): Describe the new options.
374 (parse_args): Handle the new options.
375 * NEWS: Mention the new feature.
376 * doc/binutils.texi: Document the new feature.
377 * testsuite/binutils-all/readelf.exp: Test the new feature.
378 * testsuite/binutils-all/mangled.s: New file - assembler source.
379 * testsuite/binutils-all/readelf.demangled: New file - expected
380 output from readelf.
381
79ddc884
NC
3822020-08-12 Nick Clifton <nickc@redhat.com>
383
384 * po/sr.po: Updated Serbian translation.
385
9b0ac51b
L
3862020-08-10 H.J. Lu <hongjiu.lu@intel.com>
387
388 PR binutils/26302
389 * nm.c (with_symbol_versions): Removed.
390 (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
391 (long_options): Update --with-symbol-versions entry.
392 (print_symbol): Remove the with_symbol_versions check.
393 (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
394 compatibility.
395 * doc/binutils.texi: Remove --with-symbol-versions.
396
787bbc56
AM
3972020-08-05 Alan Modra <amodra@gmail.com>
398
399 PR 26337
400 * objdump.c (load_specific_debug_section): Revert last change.
401
0b97e818
AM
4022020-08-05 Alan Modra <amodra@gmail.com>
403
404 PR 26337
405 * objdump.c (load_specific_debug_section): Don't malloc space for
406 section contents, use bfd_malloc_and_get_section.
407
c8693053
RO
4082020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
409
410 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
411 * Makefile.in, doc/Makefile.in: Regenerate.
412 * configure: Regenerate.
413
ac2599c4
L
4142020-07-30 H.J. Lu <hongjiu.lu@intel.com>
415
416 * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
417 to assembler.
418 * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
419 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
420 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
421 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
422 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
423
c77cb2a0
MR
4242020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
425
426 * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
427 New test.
428 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
429 New test.
430 * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
431 New test.
432 * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
433 New test.
434 * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
435 New test.
436 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
437 New test.
438 * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
439 New test.
440 * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
441 New test.
442 * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
443 New test.
444 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
445
3f1b17bb
MR
4462020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
447
448 * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
449 test.
450 * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
451 test.
452 * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
453 test.
454 * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
455 test.
456 * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
457 test.
458 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
459
d70f978b
L
4602020-07-28 H.J. Lu <hongjiu.lu@intel.com>
461
462 PR binutils/26301
463 * configure: Regenerated.
464
377170fa
L
4652020-07-28 H.J. Lu <hongjiu.lu@intel.com>
466
467 PR binutils/26301
468 * configure: Regenerated.
469
8fab9282
AM
4702020-07-27 Alan Modra <amodra@gmail.com>
471
472 * objdump.c (dump_section): Don't return without calling
473 process_section_p.
474
608d61c2
L
4752020-07-27 H.J. Lu <hongjiu.lu@intel.com>
476
477 * doc/binutils.texi: Replace preceeded with preceded.
478
3abf9758
MR
4792020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
480
481 * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
482 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
483 procedures.
484 (has_newabi): Remove variable.
485 (has_abi, abi_asflags, abi_ldflags): New associative array
486 variables.
487 (irixemul): New variable.
488 Replace `run_dump_test' calls where applicable throughout with
489 `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
490 as appropriate. Use `noarch' for tests that require their own
491 architecture setting.
492 * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
493 * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
494 * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
495 * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
496 * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
497 * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
498 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
499 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
500 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
501 * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
502 * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
503 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
504 * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
505 * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
506 GAS flags.
507 * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
508 * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
509 * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
510 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
511 * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
512 * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
513 * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
514
f6720b1c
AM
5152020-07-24 Aaron Merey <amerey@redhat.com>
516
517 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
518 * Makefile.in: Rebuild.
519 * configure: Rebuild.
520 * doc/Makefile.in: Rebuild.
521
bf772a1e
NC
5222020-07-24 Nick Clifton <nickc@redhat.com>
523
524 * README-how-to-make-a-release: Various small updates whilst
525 creating the 2.35 release.
526
0b884151
NA
5272020-07-22 Nick Alcock <nick.alcock@oracle.com>
528
529 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
530 option.
531
3dd6b890
NA
5322020-07-22 Nick Alcock <nick.alcock@oracle.com>
533
534 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
535 (dump_ctf): Likewise.
536
8b37e7b6
NA
5372020-07-22 Nick Alcock <nick.alcock@oracle.com>
538
539 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
540 * readelf.c (dump_ctf_archive_member): Likewise.
541
df16e041
NC
5422020-07-22 Nick Clifton <nickc@redhat.com>
543
544 * readelf.c (parse_args): Silence potential warnings about a
545 memory resource leak when allocating space for ctf option values.
546 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
547 variable.
548
84dc5f0b
NC
5492020-07-21 Nick Clifton <nickc@redhat.com>
550
551 * po/sv.po: Updated Swedish translation.
552
570b0ed6
CZ
5532020-07-14 Claudiu Zissulescu <claziss@gmail.com>
554
555 * testsuite/binutils-all/arc/double_regs.s: New test.
556 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
557
0a5c31d1
NC
5582020-07-13 Nick Clifton <nickc@redhat.com>
559
560 * po/fr.po: Updated French translation.
561
7a34d0ea
AM
5622020-07-13 Alan Modra <amodra@gmail.com>
563
564 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
565 optional machine-os arg.
566
a308b89d
L
5672020-07-11 H.J. Lu <hongjiu.lu@intel.com>
568
569 * readelf.c (decode_x86_feature_2): Handle
570 GNU_PROPERTY_X86_FEATURE_2_TMM.
571
af2b3186
TV
5722020-07-10 Tom de Vries <tdevries@suse.de>
573
574 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
575 information in the end_sequence row.
576 * testsuite/binutils-all/dw5.W: Update.
577 * testsuite/binutils-all/objdump.WL: Update.
578
fe49679d
AM
5792020-07-09 Alan Modra <amodra@gmail.com>
580
581 * dlltool.c: Remove powerpc PE support and comments.
582 * configure.ac: Remove powerpc PE dlltool config.
583 * configure: Regenerate.
584
d90171de
NC
5852020-07-09 Nick Clifton <nickc@redhat.com>
586
587 * rclex.c: Add OWNERDRAW keyword.
588 * rcparse.y: Add OWNERDRAW token.
589 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
590 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
591 BITMAP flags.
592 * windres.c (extended_menuitems): Likewise.
593 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
594
e3fdc001
AM
5952020-07-09 Alan Modra <amodra@gmail.com>
596
597 * readelf (slurp_hppa_unwind_table): Set table_len before use
598 in relocation sanity checks.
599
5a2296ac
AM
6002020-07-07 Alan Modra <amodra@gmail.com>
601
602 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
603 * testsuite/binutils-all/nm.exp: Likewise.
604 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
605 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
606 * testsuite/binutils-all/set-section-alignment.d: Likewise.
607 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
608
efd0ed58
AM
6092020-07-07 Alan Modra <amodra@gmail.com>
610
611 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
612 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
613
17550be7
NC
6142020-07-06 Nick Clifton <nickc@redhat.com>
615
616 * po/bg.po: Updated Bulgarian translation.
617 * po/pt.po: Updated Portuguese translation.
618 * po/uk.po: Updated Ukranian translation.
619
ddb43bab
AM
6202020-07-06 Alan Modra <amodra@gmail.com>
621
622 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
623 find string length.
624
b19d852d
NC
6252020-07-04 Nick Clifton <nickc@redhat.com>
626
627 * configure: Regenerate.
628 * po/binutils.pot: Regenerate.
629
b115b9fd
NC
6302020-07-04 Nick Clifton <nickc@redhat.com>
631
632 Binutils 2.35 branch created.
633
0942c7ab
NC
6342020-07-02 Nick Clifton <nickc@redhat.com>
635
636 PR 26028
637 * readelf.c (print_symbol): Handle truncation of symbol names.
638 (options): Add -T/--silent-truncation option.
639 (parse_args): Handle the option.
640 (print_dynamic_symbol): Correct calculation of width available to
641 display symbol name.
642 * doc/binutils.texi: Document the -T option to readelf.
643 * NEWS: Mention the new feature.
644
bbd19b19
L
6452020-06-30 H.J. Lu <hongjiu.lu@intel.com>
646
647 * NEWS: Mention x86 NaCl target support removal.
648 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
649 x86 NaCl target support.
650 * testsuite/binutils-all/elfedit-1.d: Likewise.
651 * testsuite/binutils-all/i386/i386.exp: Likewise.
652 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
653 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
654 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
655 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
656 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
657 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
658 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
659 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
660 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
661 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
662 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
663 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
664
5568cc9e
NC
6652020-06-30 Nick Clifton <nickc@redhat.com>
666
667 * dwarf.c (read_and_display_attr_value): Support
668 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
669 DW_AT_comp_dir.
670
d74b88ed
AM
6712020-06-30 Alan Modra <amodra@gmail.com>
672
673 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
674 xfail for nds32.
675
9f27c364
HPN
6762020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
677
678 * dwarf.c (display_debug_str_offsets): Rename local variable
679 index to idx. Move to top of function.
680
279edac5
AM
6812020-06-29 Alan Modra <amodra@gmail.com>
682
683 * dwarf.c: Use C style comments.
684 * resrc.c: Likewise.
685
cfc16775
AM
6862020-06-27 Alan Modra <amodra@gmail.com>
687
688 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
689 after freeing.
690 (release_archive): Set fields of arch to NULL after freeing.
691
2f6ecaed
NA
6922020-06-26 Nick Alcock <nick.alcock@oracle.com>
693
694 * readelf.c (dump_section_as_ctf): Support .ctf archives using
695 ctf_arc_bufopen. Automatically load the .ctf member of such
696 archives as the parent of all other members, unless specifically
697 overridden via --ctf-parent. Split out dumping code into...
698 (dump_ctf_archive_member): ... here, as in objdump, and call
699 it once per archive member.
700 (dump_ctf_indent_lines): Code style fix.
701
094e34f2
NA
7022020-06-26 Nick Alcock <nick.alcock@oracle.com>
703
704 * configure.ac [--enable-libctf]: New, default yes.
705 Set ENABLE_LIBCTF accordingly.
706 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
707 * configure: Regenerate.
708 * config.in: Regenerate.
709 * Makefile.in: Regenerate.
710 * aclocal.m4: Regenerate.
711 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
712 (option_values): Likewise.
713 (long_options): Likewise.
714 (main): Likewise.
715 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
716 (make_ctfsect): Likewise.
717 (dump_ctf_archive_member): Likewise.
718 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
719 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
720 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
721 (usage): Likewise.
722 (process_section_contents): Likewise.
723 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
724 (dump_ctf_indent_lines): Likewise.
725 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
726
2a1bb84c
JB
7272020-06-26 Jan Beulich <jbeulich@suse.com>
728
729 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
730 redundant text from x86 specific part of -M section.
731
85f7484a
PB
7322020-06-26 Pat Bernardi <bernardi@adacore.com>
733
734 * readelf.c (display_m68k_gnu_attribute): New function.
735 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
736
d0dded5b
L
7372020-06-23 H.J. Lu <hongjiu.lu@intel.com>
738
739 PR binutils/26160
740 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
741 * testsuite/binutils-all/pr26160.r: Likewise.
742 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
743
39f381cb
NC
7442020-06-23 Nick Clifton <nickc@redhat.com>
745
746 PR 26160
747 * dwarf.c (fetch_indexed_string): Detect and handle old style
748 .debug_str_offset tables.
749 (display_debug_str_offsets): Likewise. Also add support for
750 .debug_str_offsets.dwo sections.
751
80fda85c
L
7522020-06-23 H.J. Lu <hongjiu.lu@intel.com>
753
754 PR binutils/26112
755 * testsuite/binutils-all/pr26112.o.bz2: New file.
756 * testsuite/binutils-all/pr26112.r: Likewise.
757 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
758
d081ffff
AM
7592020-06-23 Alan Modra <amodra@gmail.com>
760
761 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
762 remote_file delete command.
763
e4b7104b
NC
7642020-06-22 Nick Clifton <nickc@redhat.com>
765
766 PR 26112
767 * dwarf.c (display_debug_str_offsets): Add code to display the
768 contents of the .debug_str_offsets section.
769 (display_debug_macro): Add support for DW_MACRO_define_strx and
770 DW_MACRO_undef_strx.
771
d768f160
SJ
7722020-06-22 Saagar Jha <saagar@saagarjha.com>
773
774 * od-macho.c: Dump linkedit data for new load commands.
775
5fd104ad
AM
7762020-06-19 Alan Modra <amodra@gmail.com>
777
778 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
779 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
780 (run_dump_test): Use check_relro_support to decide whether to pass
781 extra ld option "-z norelro".
782
fd17d1e6
AM
7832020-06-11 Alan Modra <amodra@gmail.com>
784
785 * readelf.c (process_mips_specific): Don't alloc memory for
786 Elf_Internal_Options.
787
d0c4e780
AM
7882020-06-11 Alan Modra <amodra@gmail.com>
789
790 * readelf.c (process_mips_specific): Assert size of internal
791 types match size of external types, and simplify allocation of
792 internal buffer. Catch possible integer overflow when sanity
793 checking option size. Don't assume options are a regular array.
794 Sanity check reginfo option against option size. Use PRI macros
795 when printing.
796
25065fcd
RH
7972020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
798
799 PR 26082
800 * mclex.c (yylex): Reject lines that reach end-of-file without a
801 terminating newline character.
802
b37a7714
NC
8032020-06-08 Nick Clifton <nickc@redhat.com>
804
805 PR 26093
806 * doc/binutils.texi (strings): Fix typo.
807
c4b2f181
NC
8082020-06-08 Nick Clifton <nickc@redhat.com>
809
810 PR 26086
811 * dwarf.c (process_debug_info): Check that there is space in the
812 debug_information array before filling in an entry.
813
1424c35d
AM
8142020-06-06 Alan Modra <amodra@gmail.com>
815
816 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
817
8affa48a
JA
8182020-06-05 Joel Anderson <joelanderson333@gmail.com>
819
820 PR 26082
821 * mclex.c (yylex): Add test for an empty input stream.
822
8eca5c7d
SC
8232020-06-04 Stephen Casner <casner@acm.org>
824
825 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
826 for test using section pseudo-ops compatible with pdp11.
827 * testsuite/binutils-all/objcopy.exp: Select alternate source.
828
b3db6d07
JM
8292020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
830
831 * objdump.c (disassemble_data): Set disasm_info.endian_code to
832 disasm_info.endian after the latter is initialized to the
833 endianness reported by BFD.
834
0a4f37af
AM
8352020-06-04 Alan Modra <amodra@gmail.com>
836
837 * testsuite/binutils-all/i386/i386.exp: Remove global directive
838 outside proc body.
839 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
840 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
841
913e0fd4
JA
8422020-06-03 Joel Anderson <joelanderson333@gmail.com>
843
844 * windmc.h (struct mc_node): Add id_typecast field.
845 * mcparse.y (message): Initialise the id_typecast field.
846 * windmc.c (write_dbg): Use the id_typecast field as a parameter
847 when calling write_dbg_define.
848 (write_header): Likewise.
849
4a322448
AM
8502020-06-03 Alan Modra <amodra@gmail.com>
851
852 PR 26069
853 * objcopy.c (copy_relocations_in_section): Free relpp on error.
854 Don't accidentally free isection->orelocation.
855
0bee4d1c
AM
8562020-06-02 Alan Modra <amodra@gmail.com>
857
858 * testsuite/binutils-all/ar.exp (obj): Set up object file name
859 extension. Use throughout. Don't completely exclude non-ELF
860 alpha targets. Run long_filenames test for tic30. Exclude thin
861 archive tests for aix, ecoff and vms.
862 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
863 extension. Use throughout. Don't exclude non-ELF alpha targets
864 from "bintest.a".
865
ab7ad287
MF
8662020-05-28 Max Filippov <jcmvbkbc@gmail.com>
867
868 * MAINTAINERS (Xtensa): Add myself as maintainer.
869
3f3c3608
AM
8702020-05-23 Alan Modra <amodra@gmail.com>
871
872 * testsuite/binutils-all/ar.exp (many_files): New test.
873
9db70fc3
AM
8742020-05-21 Alan Modra <amodra@gmail.com>
875
876 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
877 * dlltool.c: Likewise.
878 * elfcomm.c: Likewise.
879 * rddbg.c: Likewise.
880 * readelf.c: Likewise.
881 * stabs.c: Likewise.
882 * windmc.c: Likewise.
883 * windres.c: Likewise.
884 * wrstabs.c: Likewise.
885
c31ab5a0
AM
8862020-05-21 Alan Modra <amodra@gmail.com>
887
888 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
889 access.
890
8f595e9b
NC
8912020-05-20 Nelson Chu <nelson.chu@sifive.com>
892
893 * dwarf.c: Updated since DECLARE_CSR is changed.
894
8ac10c5b
L
8952020-05-19 H.J. Lu <hjl.tools@gmail.com>
896
897 PR binutils/25809
898 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
899 segment doesn't match the .dynamic section and checks are
900 enabled.
901 (struct filedata): Add dynamic_symtab_section and
902 dynamic_strtab_section fields.
903 (process_section_headers): Set dynamic_symtab_section to the
904 .dynsym section. Set dynamic_strtab_section to the .dynstr
905 section.
906 (process_dynamic_section): Warn if the .dynsym section doesn't
907 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
908 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
909
c177f377
AM
9102020-05-19 Alan Modra <amodra@gmail.com>
911
912 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
913 (replace_members): Use bfd_get_filename rather than accessing
914 bfd->filename directly.
915 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
916 * binemul.c (do_ar_emul_append): Likewise.
917 * coffgrok.c (coff_grok): Likewise.
918
83d27139
SH
9192020-05-18 Stafford Horne <shorne@gmail.com>
920
921 * MAINTAINERS (OR1K): Add myself as maintainer.
922
d11a9fab
AB
9232020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
924
925 * doc/binutils.texi: Mention 'entry address' in the set-start and
926 adjust-start options descriptions.
927
546cb2d8
NC
9282020-05-05 Nick Clifton <nickc@redhat.com>
929
930 * dwarf.c (do_checks): New global variable.
931 (display_formatted_table): Warn about an unexpected number of
932 columns in the table, if checks are enabled. Do not complain
933 about the lack of data following the number of entries in the
934 table if the table is empty.
935 (display_debug_lines_decoded): Only warn about an unexpected
936 number of columns in a table if checks are enabled.
937 * dwarf.h (do_checks): Add a prototype.
938 * elfcomm.c (error): Remove weak attribute.
939 (warn): Likewise.
940 * readelf.c (do_checks): Delete.
941 (warn): Delete.
942 (process_section_headers): Only warn about empty sections if
943 checks are enabled.
944
e052e2ba
FS
9452020-05-04 Fangrui Song <maskray@google.com>
946
947 * objcopy.c (copy_object): Allow empty section.
948 * testsuite/binutils-all/update-section.exp: Add test.
949
070b775f
NC
9502020-05-04 Nick Clifton <nickc@redhat.com>
951
952 PR 25917
953 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
954 supicious number of entries for DWARF-5 format directory and file
955 name tables. Do not display file name table header if the table
956 is empty. Do not allocate space for empty tables.
957
9c7b8e9b
AM
9582020-05-04 Alan Modra <amodra@gmail.com>
959
960 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
961 section. Don't assume endian of host matches nds32 target. Free
962 buffer.
963
60832332
AM
9642020-05-01 Alan Modra <amodra@gmail.com>
965 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
966
967 * objdump.c (disassemble_bytes): Don't scan for zeros when
968 disassembling zeros. Translate "resuming at file offset" message.
969 Formatting. Replace some signed variables with unsigned.
970
09c1e68a
AC
9712020-04-30 Alex Coplan <alex.coplan@arm.com>
972
973 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
974 disassembly.
975 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
976
8a8a1171
NC
9772020-04-30 Nick Clifton <nickc@redhat.com>
978
979 * testsuite/lib/binutils-common.exp (check_pie_support): New
980 proc.
981
cb4c35cf
AB
9822020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
983
984 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
985 range_entries for the same offset.
986
1b513401
NC
9872020-04-29 Nick Clifton <nickc@redhat.com>
988
989 * readelf.c (warn): New function - like elfcomm.c version but only
990 produces output if warnings are enabled.
991 (struct options): Add --lint and --enable-checks.
992 (usage): Add entry for --lint.
993 (parse_args): Handle -L. If checks are enabled but no dumps have
994 been selected then enable all dumps.
995 (process_section_headers): Replace long if-then-else sequence with
996 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
997 SHT_PROGBITS sections.
998 (process_file): Do not complain if the file is an archive and lint
999 mode has been enabled.
1000 * elfcomm.c (error): Make the function weak.
1001 (warn): Likewise.
1002 * NEWS: Mention the new feature.
1003 * doc/binutils.texi: Document the new feature.
1004 * dwarf.h (report_leb_status): Add file name and line number
1005 parameters. Include them in the diagnostic output.
1006 (READ_ULEB): Pass file and line number to report_leb_status.
1007 (READ_SLEB): Likewise.
1008 * dwarf.c (read_and_print_leb128): Pass file and line number to
1009 report_leb_status.
1010 * testsuite/binutils-all/readelf.exp: Add test of new feature.
1011 * testsuite/binutils-all/zero-sec.s: New test source file.
1012 * testsuite/binutils-all/zero-sec.r: Expected output from new
1013 test.
1014
c2e71e57
NC
10152020-04-29 Nick Clifton <nickc@redhat.com>
1016
1017 * po/sr.po: Updated Serbian translation.
1018
90837ea7
AM
10192020-04-26 Alan Modra <amodra@gmail.com>
1020
1021 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
1022 read before dereferencing, and gracefully return. Remove
1023 gnu_hash_error variable. Free gnu hash arrays if number of
1024 syms found is zero.
1025
2482f306
AM
10262020-04-24 Alan Modra <amodra@gmail.com>
1027
1028 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
1029 non-zero.
1030 (process_dynamic_section): Call get_num_dynamic_syms once rather
1031 than in segment loop. Break out of segment loop on a successful
1032 load of dynamic symbols. Formatting.
1033 (process_object): Return error status from process_dynamic_section.
1034
27456742
AK
10352020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
1036
1037 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
1038 * elf.c (elfcore_grok_arc_v2): New function.
1039 (elfcore_grok_note): Call the new function to handle the corresponding
1040 note.
1041 (elfcore_write_arc_v2): New function.
1042 (elfcore_write_register_note): Call the new function to handle the
1043 corresponding pseudo-sections.
1044
30ce8e47
MF
10452020-04-22 Max Filippov <jcmvbkbc@gmail.com>
1046
1047 PR ld/25861
1048 * readelf.c (is_none_reloc): Recognize
1049 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
1050 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
1051
33b5a830
NC
10522020-04-22 Nick Clifton <nickc@redhat.com>
1053
1054 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
1055
978c4450
AM
10562020-04-22 Alan Modra <amodra@gmail.com>
1057
1058 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
1059 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
1060 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
1061 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
1062 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
1063 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
1064 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
1065 (dynamic_section, symtab_shndx_list, group_count, section_groups),
1066 (section_headers_groups): Move to struct filedata. Update use
1067 throughout file.
1068
6431e409
AM
10692020-04-22 Alan Modra <amodra@gmail.com>
1070
1071 * readelf.c (struct dump_data): New, used..
1072 (cmdline): ..here, and..
1073 (struct filedata): ..here. Adjust all uses.
1074 (request_dump_bynumber, request_dump, parse_args): Pass in a
1075 struct dump_data* rather than Filedata*. Adjust callers.
1076 (main): Don't set cmdline.file_name.
1077
a5e0be5c
AM
10782020-04-20 Alan Modra <amodra@gmail.com>
1079
1080 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
1081 and nbuckets.
1082
8ff66993
AM
10832020-04-20 Alan Modra <amodra@gmail.com>
1084
1085 * readelf.c (process_section_headers): Free dynamic symbols etc.
1086 earlier.
1087
ceb9bf11
AM
10882020-04-20 Alan Modra <amodra@gmail.com>
1089
1090 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
1091 on error without freeing.
1092 (process_dynamic_section): Don't recreate dynamic symbols from
1093 dynamic tag info when the dynamic symbols have already been
1094 read via section headers.
1095
e409955d
FS
10962020-04-17 Fredrik Strupe <fredrik@strupe.net>
1097
1098 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
1099 conditional VDUP instructions are disassembled correctly.
1100 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1101 vdup-cond.d.
1102 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
1103 that VDUP instructions (which are conditional in A32) can be
1104 disassembled in thumb mode.
1105 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1106 vdup-thumb.d.
1107
ca3f923f
AM
11082020-04-17 Alan Modra <amodra@gmail.com>
1109
1110 PR 25840
1111 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
1112
937f6614
AM
11132020-04-16 Alan Modra <amodra@gmail.com>
1114
1115 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
1116 --no-addresses description.
1117
b1bc1394
AM
11182020-04-15 Alan Modra <amodra@gmail.com>
1119
1120 * objdump.c (no_addresses): New static var.
1121 (usage): Print help for --no-addresses.
1122 (long_options): Add --no-addresses entry.
1123 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
1124 (disassemble_bytes): Don't print current line address, or reloc
1125 address.
1126 * doc/binutils.texi: Document objdump --no-addresses.
1127
001890e1
AM
11282020-04-15 Alan Modra <amodra@gmail.com>
1129
1130 PR 25822
1131 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
1132 reading buckets or chains fails.
1133
b71d4fa7
AM
11342020-04-15 Alan Modra <amodra@gmail.com>
1135
1136 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
1137 etc. after freeing.
1138
89246a0e
AM
11392020-04-15 Alan Modra <amodra@gmail.com>
1140
1141 * readelf.c (get_group_flags): Translate text.
1142 (get_file_type, get_symbol_binding, get_symbol_type),
1143 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
1144
c98a4545
AM
11452020-04-15 Alan Modra <amodra@gmail.com>
1146
1147 PR 25821
1148 * readelf.c (get_num_dynamic_syms): Typo fix.
1149
645f43a8
AM
11502020-04-14 Alan Modra <amodra@gmail.com>
1151
1152 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
1153 possibility of overflow when checking number of conflicts.
1154
10ca4b04
L
11552020-04-14 H.J. Lu <hongjiu.lu@intel.com>
1156
1157 PR binutils/25707
1158 * readelf.c (nbuckets): New.
1159 (nchains): Likewise.
1160 (buckets): Likewise.
1161 (chains): Likewise.
1162 (ngnubuckets): Likewise.
1163 (gnubuckets): Likewise.
1164 (gnuchains): Likewise.
1165 (mipsxlat): Likewise.
1166 (ngnuchains): Likewise.
1167 (gnusymidx): Likewise.
1168 (VALID_SYMBOL_NAME): Likewise.
1169 (VALID_DYNAMIC_NAME): Use it.
1170 (get_dynamic_data): Moved before process_dynamic_section.
1171 (get_num_dynamic_syms): New function.
1172 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
1173 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
1174 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
1175 table.
1176 (get_symbol_index_type): Don't print "bad section index" when
1177 there is no section header.
1178 (print_dynamic_symbol): Rewrite.
1179 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
1180 symbol table.
1181
bb897477
RO
11822020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1183
1184 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
1185 enable on *-*-solaris*.
1186
00386881
NC
11872020-03-30 Nick Clifton <nickc@redhat.com>
1188
1189 PR binutils/25662
1190 * objcopy.c (copy_object): When copying PE format files set the
1191 timestamp field in the pe_data structure if the preserve_dates
1192 flag is set.
1193 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
1194 --preserve-dates in place of the -p option, in order to make its
1195 effect more obvious.
1196
0a6a8b59
AM
11972020-03-28 Alan Modra <amodra@gmail.com>
1198
1199 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
1200 clear_xfail hppa*-*-*elf*. Revert mips xfails.
1201
6a81c59b
AM
12022020-03-28 Alan Modra <amodra@gmail.com>
1203
1204 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
1205 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
1206 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
1207 test. Pass "-p" to objcopy for the executable test.
1208
1fafefd5
JL
12092020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1210
1211 PR binutils/25662
1212 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
1213 specify whether an object file or executable should be built and tested.
1214 Change test names to report whether an object file or executable is
1215 being tested.
1216 * testsuite/binutils-all/pr25662.ld: New test.
1217 * testsuite/binutils-all/pr25662.s: New test.
1218
80e2a3b6
AM
12192020-03-27 Alan Modra <amodra@gmail.com>
1220
1221 * readelf.c (process_archive): Don't double free qualified_name.
1222 Don't break out of loop with "negative" archive_file_size, just
1223 set file offset to max.
1224
4c836627
AM
12252020-03-25 Alan Modra <amodra@gmail.com>
1226
1227 * readelf.c (process_archive): Prevent endless loop.
1228
1081065c
L
12292020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1230
1231 PR binutils/25708
1232 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
1233 with bfd_get_symbol_version_string.
1234 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
1235 * objdump.c (objdump_print_symname): Likewise.
1236
7e6e972f
L
12372020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 PR binutils/25708
1240 * nm.c (SYM_NAME): Removed.
1241 (print_symname): Add a pointer to struct extended_symbol_info
1242 argument. Call _bfd_elf_get_symbol_version_name to get symbol
1243 version.
1244 (print_symdef_entry): Pass NULL to print_symname.
1245 (print_symbol_info_bsd): Update call to print_symname.
1246 (print_symbol_info_sysv): Likewise.
1247 (print_symbol_info_posix): Likewise.
1248
5a814d6d
AM
12492020-03-24 Alan Modra <amodra@gmail.com>
1250
1251 * readelf.c (process_mips_specific): Free iconf on error path.
1252
0636b245
NC
12532020-03-23 Nick Clifton <nickc@redhat.com>
1254
1255 PR 25714
1256 * wrstabs.c (stab_pop_type): Replace assertion with error return.
1257 * write_stabs_in_sections_debugging_info: Likewise.
1258 * stab_enum_type: Likewise.
1259 * stab_modify_type: Likewise.
1260 * stab_struct_field: Likewise.
1261 * stab_end_struct_type: Likewise.
1262 * stab_start_class_type: Likewise.
1263 * stab_class_static_member: Likewise.
1264 * stab_class_baseclass: Likewise.
1265 * stab_class_start_method: Likewise.
1266 * stab_class_method_var: Likewise.
1267 * stab_class_end_method: Likewise.
1268 * stab_end_class_type: Likewise.
1269 * stab_typedef_type: Likewise.
1270 * stab_start_function: Likewise.
1271 * stab_end_block: Likewise.
1272 * stab_lineno: Likewise.
1273
5844b465
NC
12742020-03-20 Nick Clifton <nickc@redhat.com>
1275
1276 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
1277 (process_section_headers): Check the return value from
1278 get_compression_header.
1279 (dump_section_as_strings): Likewise.
1280 (dump_section_as_bytes): Likewise.
1281 (load_specific_debug_section): Likewise.
1282
3d98c460
L
12832020-03-20 H.J. Lu <hongjiu.lu@intel.com>
1284
1285 * ar.c (main): Update bfd_plugin_set_program_name call.
1286 * nm.c (main): Likewise.
1287
f3a08f77
NC
12882020-03-19 Nick Clifton <nickc@redhat.com>
1289
1290 PR 25676
1291 * testsuite/binutils-all/dw4.s: New test source file.
1292 * testsuite/binutils-all/nm.exp: Run the new test.
1293
ef3df110
L
12942020-03-19 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * readelf.c (process_symbol_table): Use unsigned long for si.
1297
81a65eb3
AM
12982020-03-19 Alan Modra <amodra@gmail.com>
1299
1300 * elfcomm.c: Don't include bfd.h or bucomm.h.
1301 (program_name): Declare.
1302 (process_archive_index_and_symbols): Replace bfd_boolean with int,
1303 and substitute FALSE and TRUE.
1304 (setup_archive, setup_nested_archive): Likewise.
1305 * elfcomm.h: Likewise.
1306
1cb7d8b1
AM
13072020-03-19 Alan Modra <amodra@gmail.com>
1308
1309 * readelf.c (process_archive): Always return via path freeing
1310 memory. Formatting.
1311
b966f55f
AM
13122020-03-19 Alan Modra <amodra@gmail.com>
1313
1314 * readelf.c (process_netbsd_elf_note): Validate descsz before
1315 accessing descdata. Formatting.
1316
645ba681
AM
13172020-03-19 Alan Modra <amodra@gmail.com>
1318
1319 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
1320 * elfcomm.h (setup_archive): Update prototype.
1321
28d13567
AM
13222020-03-16 Alan Modra <amodra@gmail.com>
1323
1324 * readelf.c (get_symbols): New function.
1325 (process_relocs, ia64_process_unwind, hppa_process_unwind),
1326 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
1327
60e63c3e
AM
13282020-03-16 Alan Modra <amodra@gmail.com>
1329
1330 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
1331 Detect shift overflows and check that terminating byte is found.
1332 Print an error on a bad uleb128.
1333
1bd6175a
AM
13342020-03-14 Alan Modra <amodra@gmail.com>
1335
1336 * readelf.c (process_file): Clean ba_cache.
1337
780f96ae
AM
13382020-03-14 Alan Modra <amodra@gmail.com>
1339
1340 * elfcomm.h (setup_archive): Update prototype.
1341 * elfcomm.c (setup_archive): Add file_size parameter and sanity
1342 check longnames_size.
1343 (setup_nested_archive): Get file size and pass to setup_archive.
1344 * elfedit.c (process_archive): Likewise.
1345 * readelf.c (process_archive): Pass filedata->file_size to
1346 setup_archive.
1347
f761cb13
AM
13482020-03-14 Alan Modra <amodra@gmail.com>
1349
1350 * readelf.c (dump_section_as_strings): Free memory on error exit.
1351 (dump_section_as_bytes, process_notes_at): Likewise.
1352 (get_build_id): Free enote.
1353
06d949ec
KR
13542020-03-13 Kamil Rytarowski <n54@gmx.com>
1355
1356 * readelf.c (get_netbsd_elfcore_note_type): Add support for
1357 NT_NETBSDCORE_LWPSTATUS notes.
1358
fd486f32
AM
13592020-03-13 Alan Modra <amodra@gmail.com>
1360
1361 * elfcomm.c (get_archive_member_name): Always return malloc'd
1362 string or NULL.
1363 * elfedit.c (process_archive): Tidy memory on all return paths.
1364 * readelf.c (process_archive): Likewise.
1365 (process_symbol_table): Likewise.
1366 (ba_cache): New, replacing ..
1367 (get_symbol_for_build_attribute): ..static vars here. Free
1368 strtab and symtab before loading new ones. Reject symtab without
1369 valid strtab in loop, breaking out of loop on valid symtab.
1370 (process_file): Free ba_cache symtab and strtab here, resetting
1371 ba_cache.
1372
8fb879cd
AM
13732020-03-12 Alan Modra <amodra@gmail.com>
1374
1375 * readelf.c (process_section_headers): Don't just set
1376 filedata->section_headers NULL, free it first. Similarly for
1377 dynamic_symbols, dynamic_strings, dynamic_syminfo and
1378 symtab_shndx_list. Zero associated counts too.
1379 (process_object): Free symtab_shndx_list.
1380 (process_file): Free various allocated filedata tables.
1381
5496f3c6
NC
13822020-03-11 Nick Clifton <nickc@redhat.com>
1383
1384 PR 25611
1385 PR 25614
1386 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
1387 li_segment_size fields.
1388 * dwarf.c (read_debug_line_header): Record the address size and
1389 segment selector size values (if present) in the lineinfo
1390 structure.
1391 (display_formatted_table): Warn if the format count is empty but
1392 the table itself is not empty.
1393 Display the format count and entry count at the start of the table
1394 dump.
1395 (display_debug_lines_raw): Display the address size and segement
1396 selector size fields, if present.
1397 * testsuite/binutils-all/dw5.W: Update expected output.
1398
9cc89dc0
AM
13992020-03-11 Alan Modra <amodra@gmail.com>
1400
1401 PR 25651
1402 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
1403 pad_to_set on second block of code dealing with padding.
1404 Replace "c" with "num_sec" and don't recalculate number of
1405 sections on second block. Size arrays using sizeof (element)
1406 rather than sizeof (element type).
1407
41da0822
AM
14082020-03-10 Alan Modra <amodra@gmail.com>
1409
1410 * objdump.c (disassemble_section): Don't call qsort unless
1411 sym count is at least two.
1412 (disassemble_data): Don't call memcpy with NULL src.
1413
95099889
AM
14142020-03-09 Alan Modra <amodra@gmail.com>
1415
1416 PR 25645
1417 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
1418 to get_data rather than multiplying.
1419 (dump_ia64_vms_dynamic_relocs): Likewise.
1420 (process_version_sections): Correct order of size and nmemb args
1421 in get_data call.
1422 (process_mips_specific): Likewise.
1423
a15de1f5
L
14242020-03-08 H.J. Lu <hongjiu.lu@intel.com>
1425
1426 * readelf.c (get_dynamic_data): Replace "memory chekers" with
1427 "memory checkers" in comments.
1428
9979ab66
SM
14292020-03-06 Simon Marchi <simon.marchi@efficios.com>
1430
1431 PR 25491
1432 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
1433 * doc/Makefile.in: Re-generate.
1434
a0dcf297
NC
14352020-03-06 Nick Clifton <nickc@redhat.com>
1436
1437 * objcopy.c (check_new_section_flags): New function. Reject the
1438 SEC_COFF_SHARED flag if the target is not a COFF binary.
1439 (copy_object): Call check_new_section_flags.
1440 (setup_section): Likewise.
1441 * doc/binutils.texi (objcopy): Add a note that the 'share' section
1442 flag cannot be applied to ELF binaries.
1443
a9b90127
AM
14442020-03-06 Alan Modra <amodra@gmail.com>
1445
1446 PR 25637
1447 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
1448
d1faf7ca
AM
14492020-03-05 Alan Modra <amodra@gmail.com>
1450
1451 PR 25629
1452 * objcopy.c (filter_symbols): Don't segfault on NULL
1453 prefix_symbols_string.
1454
eef64366
CE
14552020-03-04 Christian Eggers <ceggers@gmx.de>
1456
1457 * objcopy.c (copy_object): Convert from bytes to octets for
1458 --gap-fill and --pad-to.
1459
5be2b2f5
NC
14602020-03-03 Nick Clifton <nickc@redhat.com>
1461
1462 PR 25625
1463 * prdbg.c (pr_tag_type): Remove call to abort.
1464
b312fea1
AM
14652020-03-02 Aaron Merey <amerey@redhat.com>
1466
1467 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
1468 selection.
1469
ba3265d0
NC
14702020-03-02 Nick Clifton <nickc@redhat.com>
1471
1472 PR 25543
1473 * readelf.c (dump_section_as_strings): Display new-line characters
1474 as \n and then insert a line break.
1475 * testsuite/binutils-all/pr25543.s: New test.
1476 * testsuite/binutils-all/pr25543.d: Test driver.
1477 * testsuite/binutils-all/readelf.exp: Run the new test.
1478
736990c4
NC
14792020-02-27 Nick Clifton <nickc@redhat.com>
1480
1481 PR 25526
1482 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
1483 get_data is unable to load the string table.
1484
dc1e8a47
AM
14852020-02-26 Alan Modra <amodra@gmail.com>
1486
1487 * elfedit.c: Indent labels correctly.
1488 * readelf.c: Likewise.
1489 * resres.c: Likewise.
1490
ecda9016
L
14912020-02-25 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 PR binutils/25584
1494 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
1495 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
1496
83d4d556
NC
14972020-02-24 Nick Clifton <nickc@redhat.com>
1498
1499 PR 25499
1500 * doc/binutils.texi (objdump): Fix typo in description of
1501 objdump's -g option.
1502
bd0cf5a6
NC
15032020-02-20 Nelson Chu <nelson.chu@sifive.com>
1504
1505 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
1506 is changed.
1507
741cb839
EC
15082020-02-19 Jordan Rupprecht <rupprecht@google.com>
1509
1510 * objdump.c (show_line): call bfd_demangle when using do_demangle.
1511
9f1528a1
AB
15122020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1513
1514 * configure: Regenerate.
1515
3a5d12fb
FS
15162020-02-10 Fangrui Song <maskray@google.com>
1517
1518 * objcopy.c (parse_flags): Handle "exclude".
1519 * doc/binutils.texi: Document the support.
1520
678d457f
AM
15212020-02-10 Aaron Merey <amerey@redhat.com>
1522
1523 * binutils/testsuite/binutils-all/debuginfod.exp:
1524 Replace set ::env with setenv.
46471187
AM
1525 Start server before setting environment variable.
1526 Specify tmpdir as the location of the server's
1527 database.
1528 Check additional server metrics at start-up.
678d457f 1529
e8319fde
NC
15302020-02-07 Nick Clifton <nickc@redhat.com>
1531
1532 * README-how-to-make-a-release: Add note about updating the
1533 GAS/NEWS URL in the next release.
1534
9fc0b501
SB
15352020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1536
1537 PR 25469
1538 * readelf.c (get_machine_flags): Add support for Z80N machine
1539 number.
1540
e1104d08
NC
15412020-02-07 Nick Clifton <nickc@redhat.com>
1542
1543 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1544 of the truncated file name.
1545
c2e6f744 15462020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
1547
1548 * objdump.c (print_jump_visualisation): New function.
1549 (disassemble_bytes): Call new function.
1550
02e0be69
AM
15512020-02-06 Alan Modra <amodra@gmail.com>
1552
1553 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1554 TCL procedure.
1555 (supports_gnu_osabi): New procedure.
1556 (is_generic): New, from ld-lib.exp.
1557 (supports_gnu_unique): Use the above.
1558
e8b79122
AM
15592020-02-04 Alan Modra <amodra@gmail.com>
1560
1561 * Makefile.am (CFILES): Add od-elf32_avr.c.
1562 * Makefile.in: Regenerate.
1563 * po/POTFILES.in: Regenerate.
1564
27a45f42
AS
15652020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1566
1567 * readelf.c (dump_relocations, dump_relocations)
1568 (decode_arm_unwind_bytecode, process_dynamic_section)
1569 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1570 error message.
1571
0b398d69
ST
15722020-02-03 Sergei Trofimovich <siarheit@google.com>
1573
1574 * coffdump.c (program_name): Drop redundant definition.
1575 * srconv.c (program_name): Likewise
1576 * sysdump.c (program_name): Likewise
1577
a8c4d40b
L
15782020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 PR gas/25380
1581 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1582 same file with different section pointers.
1583
cb6ad9bb
NC
15842020-02-01 Nick Clifton <nickc@redhat.com>
1585
1586 * README-how-to-make-a-release: Update with more details on the
1587 release making process.
1588
53943f32
NC
15892020-01-31 Nick Clifton <nickc@redhat.com>
1590
1591 * po/sv.po: Updated Swedish translation.
1592
55be8fd0
NC
15932020-01-28 Nick Clifton <nickc@redhat.com>
1594
1595 * readelf.c (get_build_id): Simplify warning message about corrupt
1596 notes encountered whilst scanning for the build-id.
1597
82ef9cad
RM
15982020-01-27 Roland McGrath <mcgrathr@google.com>
1599
1600 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1601 for overlapping ranges so that (A == B) == (B == A) holds.
1602
e3696f67
AM
16032020-01-27 Alan Modra <amodra@gmail.com>
1604
1605 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1606 case statement with switch statement.
1607
2f796de6
NC
16082020-01-24 Nick Clifton <nickc@redhat.com>
1609
1610 * readelf.c (get_build_id): Fix warning messages about corrupt
1611 notes.
1612
24e648d4
NC
16132020-01-23 Nick Clifton <nickc@redhat.com>
1614
1615 * po/fr.po: Updated French translation.
1616
c48acf6f
YC
16172020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1618
1619 PR 25417
1620 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1621
26916852
NC
16222020-01-20 Nick Clifton <nickc@redhat.com>
1623
1624 * po/pt.po: Updated Portuguese translation.
1625 * po/uk.po: Updated Ukranian translation.
1626
b248e9ce
NC
16272020-01-18 Nick Clifton <nickc@redhat.com>
1628
1629 * README-how-to-make-a-release: Update notes on how to cut a
1630 branch for a release.
1631
1b1bb2c6
NC
16322020-01-18 Nick Clifton <nickc@redhat.com>
1633
1634 * configure: Regenerate.
1635 * po/binutils.pot: Regenerate.
1636
ae774686
NC
16372020-01-18 Nick Clifton <nickc@redhat.com>
1638
1639 Binutils 2.34 branch created.
1640
82a9ed20
TT
16412020-01-17 Thomas Troeger <tstroege@gmx.de>
1642
1643 * objdump.c (jump_info_visualize_address): Discard jumps that are
1644 no longer needed.
1645 (disassemble_bytes): Only compute the maximum level if jumps were
1646 detected.
1647
6a1939f5
NC
16482020-01-13 Nick Clifton <nickc@redhat.com>
1649
c87c17c1 1650 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1651 * testsuite/binutils-all/debuginfod.exp: New tests.
1652
1d67fe3b
TT
16532020-01-13 Thomas Troeger <tstroege@gmx.de>
1654
1655 * objdump.c (visualize_jumps, color_output, extended_color_output)
1656 (detected_jumps): New variables.
1657 (usage): Add the new jump visualization options.
1658 (option_values): Add new option value.
1659 (long_options): Add the new option.
1660 (jump_info_new, jump_info_free): New functions.
1661 (jump_info_min_address, jump_info_max_address): Likewise.
1662 (jump_info_end_address, jump_info_is_start_address): Likewise.
1663 (jump_info_is_end_address, jump_info_size): Likewise.
1664 (jump_info_unlink, jump_info_insert): Likewise.
1665 (jump_info_add_front, jump_info_move_linked): Likewise.
1666 (jump_info_intersect, jump_info_merge): Likewise.
1667 (jump_info_sort, jump_info_visualize_address): Likewise.
1668 (disassemble_jumps): New function - used to locate jumps.
1669 (disassemble_bytes): Add ascii art generation.
1670 (disassemble_section): Add scan to locate jumps.
1671 (main): Parse the new visualization option.
1672 * doc/binutils.texi: Document the new feature.
1673 * NEWS: Mention the new feature.
1674
a788aedd
AM
16752020-01-13 Alan Modra <amodra@gmail.com>
1676
a4f2b7c5
AM
1677 PR 25360
1678 PR 25361
a788aedd
AM
1679 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1680 fde_fc col_type and col_offset.
1681 * readelf.c (apply_relocations): Move symsec check earlier.
1682 (free_debug_section): Free reloc_info.
1683 (process_notes_at): Free pnotes on error path.
1684 (process_object): Free dump_sects here..
1685 (process_archive): ..not here.
1686
805f38bc
AM
16872020-01-13 Alan Modra <amodra@gmail.com>
1688
1689 PR 25362
1690 * nm.c (display_rel_file): Free dyn_syms.
1691
ffebb0bb
NC
16922020-01-09 Nick Clifton <nickc@redhat.com>
1693
1694 PR 25220
1695 * objcopy.c (empty_name): New variable.
1696 (need_sym_before): Prevent an attempt to free a static variable.
1697 (filter_symbols): Avoid strcmp test by checking for pointer
1698 equality.
1699
ade4fd9b
NC
17002020-01-09 Nick Clifton <nickc@redhat.com>
1701
1702 * po/zh_TW.po: Updated Traditional Chinese translation.
1703
17042020-01-09 Aaron Merey <amerey@redhat.com>
1705
1706 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1707 * Makefile.in: Regenerate.
1708 * NEWS: Update.
1709 * config.in: Regenerate.
1710 * configure: Regenerate.
1711 * configure.ac: Call AC_DEBUGINFOD.
1712 * doc/Makefile.in: Regenerate.
1713 * doc/binutils.texi: Add section on using binutils
1714 with debuginfod.
1715 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1716 Query debuginfod servers for the target debug file.
1717 (load_separate_debug_info): Call
1718 debuginfod_fetch_separate_debug_info if configured with
1719 debuginfod.
1720 (load_separate_debug_files): Add file argument to
1721 load_separate_debug_info calls.
1722 * dwarf.h (get_build_id): Add declaration.
1723 * objdump.c (get_build_id): New function. Get build-id of file.
1724 * readelf.c (get_build_id): Likewise.
1725 * testsuite/binutils-all/debuginfod.exp: New tests.
1726 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1727 section.
1728
6655dba2
SB
17292020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1730
1731 * readelf.c: Add support for new Z*) relocations and machine
1732 types.
1733
b14ce8bf
AM
17342020-01-01 Alan Modra <amodra@gmail.com>
1735
1736 Update year range in copyright notice of all files.
1737
0b114740 1738For older changes see ChangeLog-2019
3499769a 1739\f
0b114740 1740Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1741
1742Copying and distribution of this file, with or without modification,
1743are permitted in any medium without royalty provided the copyright
1744notice and this notice are preserved.
1745
1746Local Variables:
1747mode: change-log
1748left-margin: 8
1749fill-column: 74
1750version-control: never
1751End: