]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
gdbserver: replace AC_TRY_COMPILE in acinclude.m4
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
64ec7c3f
L
12020-10-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/binutils-all/objcopy.exp (objcopy_test): Report
4 error message on error.
5
777cd7ab
DDAG
62020-10-22 Dr. David Alan Gilbert <dgilbert@redhat.com>
7
8 * windmc.c (write_header_define): Fix printf format.
9 (write_header): Likewise.
10
59624513
NC
112020-10-21 Nick Clifton <nickc@redhat.com>
12
13 * dwarf.c (skip_attr_bytes): Accept DWARF versions higher than 4
14 when processing the DW_FORM_ref_addr form.
15 Skip bytes in DW_FORM_block and DW_FORM_exprloc forms.
16 Handle DW_FORM_indirect.
17 (get_type_signedness): Allow a limited amount of recursion.
18 Do not attempt to decode types that use the DW_FORM_ref_addr form.
19 (read_and_display_attr_value): Do not attempt to decode types
20 that use the DW_FORM_ref_addr form.
21
b9e920ec
AM
222020-10-20 Alan Modra <amodra@gmail.com>
23
24 * readelf.c: Delete whitespace at end of line throughout.
25 (SECTION_NAME, SECTION_NAME_VALID): New.
26 (SECTION_NAME_PRINT): Rename from SECTION_NAME. Formatting.
27 (printable_section_name, dump_relocations): Use SECTION_NAME_PRINT.
28 (process_section_headers, process_section_groups): Likewise.
29 (shdr_to_ctf_sect): Likewise.
30 (find_section, find_section_in_set): Use SECTION_NAME_VALID.
31 (ia64_process_unwind, hppa_process_unwind): Likewise.
32 (display_debug_section, initialise_dumps_byname): Likewise.
33 (process_lto_symbol_tables): Likewise. Check trailing period of
34 lto symbol table names.
35 (display_lto_symtab): Use sizeof instead of strlen.
36
ce786647
NC
372020-10-20 Nelson Chu <nelson.chu@sifive.com>
38
39 * MAINTAINERS (RISC-V): Add myself as RISC-V co-maintainer.
40
0f03783c
NC
412020-10-19 Nick Clifton <nickc@redhat.com>
42
43 * readelf.c (do_lto_syms): New local.
44 (long_option_values): Add OPTION_LTO_SYMS.
45 (options): Add --lto-syms.
46 (usage): Mention the new option.
47 (parse_args): Parse the new option.
48 (get_lto_kind): New function.
49 (get_lto_visibility): New function.
50 (get_lto_sym_type): New function.
51 (display_lto_symtab): New function - displays the contents of an
52 LTo symbol table section.
53 (process_lto_symbol_tables): New functions. Calls
54 dipslay_lto_symtab on any LTO symbol table section.
55 (process_object_file): Call process_lto_symbol_tables.
56 * doc/binutils.texi: Document the new option.
57 * NEWS: Mention the new feature.
58
32930e4e
L
592020-10-09 H.J. Lu <hongjiu.lu@intel.com>
60
61 PR gas/26703
62 * readelf.c (decode_x86_compat_2_isa): New function.
63 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
64 (decode_x86_feature_1): Handle GNU_PROPERTY_X86_FEATURE_2_MASK.
65 (print_gnu_property_note): Handle X86_COMPAT_2_ISA_1_USED,
66 and X86_COMPAT_2_ISA_1_NEEDED.
67 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
68 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
69 values.
70 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
71 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
72 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
73 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
74 * testsuite/binutils-all/i386/empty.d: Updated.
75 * testsuite/binutils-all/i386/ibt.d: Likewise.
76 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
77 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
78 * testsuite/binutils-all/i386/shstk.d: Likewise.
79 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
80 * testsuite/binutils-all/x86-64/empty.d: Likewise.
81 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
82 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
83 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
84 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
85 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
86 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
87 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
88 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
89 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
90 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
91 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
92 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
93 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
94 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
95
0ec992e6
NC
962020-10-06 Nick Clifton <nickc@redhat.com>
97
98 * objcopy.c (copy_object): Compare input and output sections by
99 pointer rather than name.
100
1f1845d4
NC
1012020-10-05 Nick Clifton <nickc@redhat.com>
102
103 PR 26698
104 * windmc.c (mc_unify_path): Fix typo checking character at end of
105 pathname.
106
0cc79db2
SN
1072020-10-05 Samanta Navarro <ferivoz@riseup.net>
108
109 * doc/binutils.texi: Fix spelling mistakes.
110
1c9f770d
MW
1112020-09-29 Mark Wielaard <mark@klomp.org>
112
113 * dwarf.c (display_loclists_list): Handle DW_LLE_start_end and
114 DW_LLE_start_length. Only add base_address for DW_LLE_offset_pair.
115
5a805384
AM
1162020-09-25 Alan Modra <amodra@gmail.com>
117
118 * elfcomm.c (byte_put_little_endian, byte_put_big_endian): Support
119 more field sizes.
120 * readelf.c (target_specific_reloc_handling <MSP430>): Limit
121 allowed reloc_size. Don't read_leb128 outside of section.
122
debd1a62
MW
1232020-09-23 Mark Wielaard <mark@klomp.org>
124
125 * dwarf.c (process_debug_info): Print Unit Type for DWARF5.
126 * testsuite/binutils-all/dw5.W: Adjust expected output.
127 * testsuite/binutils-all/dwarf-attributes.W: Likewise.
128
ec47b32a
MW
1292020-09-23 Mark Wielaard <mark@klomp.org>
130
131 * dwarf.c (read_and_display_attr_value): Handle DW_FORM_ref_addr
132 for dwarf_version 5 just as version 3 and 4 (only 2 is
133 different).
134 (process_debug_info): Allow DW_UT_partial.
135
a2ab5831
NC
1362020-09-24 Nick Clifton <nickc@redhat.com>
137
138 PR 26662
139 * doc/binutils.texi (nm): Document that 'c' is used for small
140 common symbols.
141
427234c7
LC
1422020-09-21 Ludovic Courtès <ludo@gnu.org>
143
144 * doc/binutils.texi (objcopy, strip): Say that
145 '--strip-unneeded' implies '--strip-debug'.
146
0690f591
AP
1472020-09-16 Anatoly Parshintsev <kupokupokupopo@gmail.com>
148
149 * verilog.c (verilog_write_address): Properly handle 64-bit
150 addresses to avoid truncation of the high part.
151
c1229f84
AM
1522020-09-16 Alan Modra <amodra@gmail.com>
153
154 * nm.c (print_symbol): Adjust elf_symbol_from invocation.
155 * objcopy.c (is_hidden_symbol): Likewise.
156
5b3eb5ed
NC
1572020-09-15 Nick Clifton <nickc@redhat.com>
158
159 * README-how-to-make-a-release (https): Add a reminder to create a
160 new Bugzilla tag for the point release, once it has been published.
161
8d58ed37
L
1622020-09-11 H.J. Lu <hongjiu.lu@intel.com>
163
164 * readelf.c (get_note_type): Support NT_X86_CET.
165
ce139cd5
NC
1662020-09-11 Nick Clifton <nickc@redhat.com>
167
168 PR 26595
169 * dwarf.c (load_separate_debug_info): Return NULL rather than
170 FALSE in error situations.
171 (load_separate_debug_file): Move code to load debug links to ...
172 (check_for_and_load_links): ... here. New function. Load
173 separate debug information pointed to by debuglink and
174 debugaltlink sections. Recursively scan newly loaded debug
175 information for more links and load them too.
176
dfbee680
AM
1772020-09-09 Alan Modra <amodra@gmail.com>
178
179 PR 26578
180 * dwarf.c (parse_gnu_debugaltlink): Don't alloc build_id_data.
181 (load_separate_debug_files): Use a stack var for build_id_data.
182
790147a9
L
1832020-09-08 H.J. Lu <hongjiu.lu@intel.com>
184
185 PR ld/26587
186 * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
187 to ld on PE targets for PR 25662 test.
188
7d81bc93
JL
1892020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
190 Kuan-Lin Chen <kuanlinchentw@gmail.com>
191
192 * readelf.c (target_specific_reloc_handling): Handle
193 R_MSP430{,X}_GNU_{SET,SUB}_ULEB128.
194
839f41a3
AM
1952020-09-02 Alan Modra <amodra@gmail.com>
196
197 * objdump.c (disassemble_bytes): Use an unsigned type for "addend".
198
54b8331d
AM
1992020-08-30 Alan Modra <amodra@gmail.com>
200
201 * readelf.c (print_gnu_build_attribute_name): Use unsigned long
202 long for "bytes".
203
08d7da7d
NC
2042020-08-28 Nick Clifton <nickc@redhat.com>
205
206 PR 26548
207 * dwarf.c (read_leb128): When checking for overflow of a signed
208 read, use a signed shift.
209
0861f561
CQ
2102020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
211
212 * readelf.c (get_csky_section_type_name): New.
213 (get_section_type_name): Add handler for CSKY.
214 (display_csky_attribute): New.
215 (process_arch_specific): Add handler for CSKY.
216 * testsuite/binutils-all/strip-3.d: Remove .csky.attributes
217 section.
218
b0191216
JL
2192020-08-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
220
221 * readelf.c (get_msp430x_section_type_name): Rename to ...
222 (get_msp430_section_type_name): ... this.
223 (get_section_type_name): Use get_msp430_section_type_name.
224 (display_msp430x_attribute): Rename to ...
225 (display_msp430_attribute): ... this.
226 (process_arch_specific): Use display_msp430_attribute.
227
9e7ed8b0
JDA
2282020-08-27 John David Anglin <danglin@gcc.gnu.org>
229
230 PR 26356
231 * testsuite/binutils-all/objcopy.exp (objcopy --reverse-bytes): Add
232 "-j $PRIVATE$" to command on hppa*-*-hpux*.
233 * testsuite/lib/utils-lib.exp (default_binutils_run): Remove existing
234 dollar-sign quotes before quoting. Do this prior to generating log
235 output.
236
6b5473c9
RH
2372020-08-27 Ralf Habacker <ralf.habacker@freenet.de>
238
239 PR 26088
240 * mclex.c (skip_until_eol): If eol was found, increment line
241 number.
242
5e9b84f7
NA
2432020-08-27 Nick Alcock <nick.alcock@oracle.com>
244
245 * objdump.c (dump_ctf_errs): Unquote CTF error messages.
246 * readelf.c (dump_ctf_errs): Likewise.
247
926c9e76
NA
2482020-08-27 Nick Alcock <nick.alcock@oracle.com>
249
250 * objdump.c (dump_ctf_archive_member): Move error-
251 reporting...
252 (dump_ctf_errs): ... into this separate function.
253 (dump_ctf): Call it on open errors.
254 * readelf.c (dump_ctf_archive_member): Move error-
255 reporting...
256 (dump_ctf_errs): ... into this separate function. Support
257 calls with NULL fp. Adjust for new err parameter to
258 ctf_errwarning_next.
259 (dump_section_as_ctf): Call it on open errors.
260
987cf30a
NA
2612020-08-27 Nick Alcock <nick.alcock@oracle.com>
262
263 * Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
264 * Makefile.in: Regenerated.
265
3eba3ef3
NC
2662020-08-26 Nick Clifton <nickc@redhat.com>
267
268 PR 26405
269 * readelf.c (get_segment_type): Handle OpenBSD segment types.
270
a68aba2d
AM
2712020-08-26 Alan Modra <amodra@gmail.com>
272
273 PR 26412
274 * objcopy.c (copy_object): Don't fwrite NULL contents.
275
37f628c3
KH
2762020-08-26 Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
277
278 PR 26340
279 * rcparse.y (AUTOCHECKBOX): Add WS_TABSTOP to the base style.
280
f3da8a96
AM
2812020-08-24 Alan Modra <amodra@gmail.com>
282
283 * readelf.c (dump_section_as_strings) Avoid false positive
284 "may be used uninitialised".
285
3f2e9699
L
2862020-08-22 H.J. Lu <hongjiu.lu@intel.com>
287
288 PR ld/26382
289 * nm.c (print_symname): Display only one '@' for undefined
290 versioned symbols.
291 * doc/binutils.texi: Update nm version information.
292
02391b8b
MW
2932020-08-21 Mark Wielaard <mark@klomp.org>
294
295 * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also
296 recognize DW_LANG_C11.
297
d1ce973e
AM
2982020-08-19 Alan Modra <amodra@gmail.com>
299
300 PR 26349
301 * readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset
302 and info fields.
303 (dump_section_as_strings): Don't use %tx to display offset.
304
82fcdb39
AM
3052020-08-14 Alan Modra <amodra@gmail.com>
306
307 PR 26388
308 * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries
309 of debug_information. Correct test of max_loc_offsets and
310 max_range_lists.
311 * rddbg.c (read_debugging_info): Free dhandle on error.
312
fc0efc4b
AM
3132020-08-14 Alan Modra <amodra@gmail.com>
314
315 * testsuite/binutils-all/mangled.s: Use dc.a rather than dc.d.
316
75e100a3
AM
3172020-08-13 Alan Modra <amodra@gmail.com>
318
319 PR 26348
320 * objcopy.c (copy_object): Report file name with endian error.
321 Error and return on abfd->read_only.
322
d3511b24
TT
3232020-08-12 Tom Tromey <tromey@adacore.com>
324
325 * dwarf-mode.el (Version): Now 1.6.
326 (dwarf-die-button-action): Tighten DIE reference regexp.
327 (dwarf-font-lock-keywords): Update name regexp.
328
79bc120c
NC
3292020-08-12 Nick Clifton <nickc@redhat.com>
330
331 PR binutils/26331
332 * readelf.c (do_demangle): New option flag.
333 (print_symbol): If do_demangle is enabled, demangle the symbol.
334 (enum long_option_values): New enum to hold long option values.
335 (options): Add demangle, no-demangle, recursion-limit and
336 no-recursion-limit options. Alpha sort the table.
337 (usage): Describe the new options.
338 (parse_args): Handle the new options.
339 * NEWS: Mention the new feature.
340 * doc/binutils.texi: Document the new feature.
341 * testsuite/binutils-all/readelf.exp: Test the new feature.
342 * testsuite/binutils-all/mangled.s: New file - assembler source.
343 * testsuite/binutils-all/readelf.demangled: New file - expected
344 output from readelf.
345
79ddc884
NC
3462020-08-12 Nick Clifton <nickc@redhat.com>
347
348 * po/sr.po: Updated Serbian translation.
349
9b0ac51b
L
3502020-08-10 H.J. Lu <hongjiu.lu@intel.com>
351
352 PR binutils/26302
353 * nm.c (with_symbol_versions): Removed.
354 (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
355 (long_options): Update --with-symbol-versions entry.
356 (print_symbol): Remove the with_symbol_versions check.
357 (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
358 compatibility.
359 * doc/binutils.texi: Remove --with-symbol-versions.
360
787bbc56
AM
3612020-08-05 Alan Modra <amodra@gmail.com>
362
363 PR 26337
364 * objdump.c (load_specific_debug_section): Revert last change.
365
0b97e818
AM
3662020-08-05 Alan Modra <amodra@gmail.com>
367
368 PR 26337
369 * objdump.c (load_specific_debug_section): Don't malloc space for
370 section contents, use bfd_malloc_and_get_section.
371
c8693053
RO
3722020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
373
374 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
375 * Makefile.in, doc/Makefile.in: Regenerate.
376 * configure: Regenerate.
377
ac2599c4
L
3782020-07-30 H.J. Lu <hongjiu.lu@intel.com>
379
380 * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
381 to assembler.
382 * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
383 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
384 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
385 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
386 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
387
c77cb2a0
MR
3882020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
389
390 * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
391 New test.
392 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
393 New test.
394 * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
395 New test.
396 * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
397 New test.
398 * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
399 New test.
400 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
401 New test.
402 * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
403 New test.
404 * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
405 New test.
406 * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
407 New test.
408 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
409
3f1b17bb
MR
4102020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
411
412 * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
413 test.
414 * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
415 test.
416 * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
417 test.
418 * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
419 test.
420 * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
421 test.
422 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
423
d70f978b
L
4242020-07-28 H.J. Lu <hongjiu.lu@intel.com>
425
426 PR binutils/26301
427 * configure: Regenerated.
428
377170fa
L
4292020-07-28 H.J. Lu <hongjiu.lu@intel.com>
430
431 PR binutils/26301
432 * configure: Regenerated.
433
8fab9282
AM
4342020-07-27 Alan Modra <amodra@gmail.com>
435
436 * objdump.c (dump_section): Don't return without calling
437 process_section_p.
438
608d61c2
L
4392020-07-27 H.J. Lu <hongjiu.lu@intel.com>
440
441 * doc/binutils.texi: Replace preceeded with preceded.
442
3abf9758
MR
4432020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
444
445 * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
446 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
447 procedures.
448 (has_newabi): Remove variable.
449 (has_abi, abi_asflags, abi_ldflags): New associative array
450 variables.
451 (irixemul): New variable.
452 Replace `run_dump_test' calls where applicable throughout with
453 `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
454 as appropriate. Use `noarch' for tests that require their own
455 architecture setting.
456 * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
457 * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
458 * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
459 * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
460 * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
461 * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
462 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
463 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
464 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
465 * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
466 * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
467 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
468 * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
469 * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
470 GAS flags.
471 * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
472 * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
473 * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
474 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
475 * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
476 * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
477 * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
478
f6720b1c
AM
4792020-07-24 Aaron Merey <amerey@redhat.com>
480
481 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
482 * Makefile.in: Rebuild.
483 * configure: Rebuild.
484 * doc/Makefile.in: Rebuild.
485
bf772a1e
NC
4862020-07-24 Nick Clifton <nickc@redhat.com>
487
488 * README-how-to-make-a-release: Various small updates whilst
489 creating the 2.35 release.
490
0b884151
NA
4912020-07-22 Nick Alcock <nick.alcock@oracle.com>
492
493 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
494 option.
495
3dd6b890
NA
4962020-07-22 Nick Alcock <nick.alcock@oracle.com>
497
498 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
499 (dump_ctf): Likewise.
500
8b37e7b6
NA
5012020-07-22 Nick Alcock <nick.alcock@oracle.com>
502
503 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
504 * readelf.c (dump_ctf_archive_member): Likewise.
505
df16e041
NC
5062020-07-22 Nick Clifton <nickc@redhat.com>
507
508 * readelf.c (parse_args): Silence potential warnings about a
509 memory resource leak when allocating space for ctf option values.
510 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
511 variable.
512
84dc5f0b
NC
5132020-07-21 Nick Clifton <nickc@redhat.com>
514
515 * po/sv.po: Updated Swedish translation.
516
570b0ed6
CZ
5172020-07-14 Claudiu Zissulescu <claziss@gmail.com>
518
519 * testsuite/binutils-all/arc/double_regs.s: New test.
520 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
521
0a5c31d1
NC
5222020-07-13 Nick Clifton <nickc@redhat.com>
523
524 * po/fr.po: Updated French translation.
525
7a34d0ea
AM
5262020-07-13 Alan Modra <amodra@gmail.com>
527
528 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
529 optional machine-os arg.
530
a308b89d
L
5312020-07-11 H.J. Lu <hongjiu.lu@intel.com>
532
533 * readelf.c (decode_x86_feature_2): Handle
534 GNU_PROPERTY_X86_FEATURE_2_TMM.
535
af2b3186
TV
5362020-07-10 Tom de Vries <tdevries@suse.de>
537
538 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
539 information in the end_sequence row.
540 * testsuite/binutils-all/dw5.W: Update.
541 * testsuite/binutils-all/objdump.WL: Update.
542
fe49679d
AM
5432020-07-09 Alan Modra <amodra@gmail.com>
544
545 * dlltool.c: Remove powerpc PE support and comments.
546 * configure.ac: Remove powerpc PE dlltool config.
547 * configure: Regenerate.
548
d90171de
NC
5492020-07-09 Nick Clifton <nickc@redhat.com>
550
551 * rclex.c: Add OWNERDRAW keyword.
552 * rcparse.y: Add OWNERDRAW token.
553 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
554 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
555 BITMAP flags.
556 * windres.c (extended_menuitems): Likewise.
557 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
558
e3fdc001
AM
5592020-07-09 Alan Modra <amodra@gmail.com>
560
561 * readelf (slurp_hppa_unwind_table): Set table_len before use
562 in relocation sanity checks.
563
5a2296ac
AM
5642020-07-07 Alan Modra <amodra@gmail.com>
565
566 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
567 * testsuite/binutils-all/nm.exp: Likewise.
568 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
569 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
570 * testsuite/binutils-all/set-section-alignment.d: Likewise.
571 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
572
efd0ed58
AM
5732020-07-07 Alan Modra <amodra@gmail.com>
574
575 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
576 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
577
17550be7
NC
5782020-07-06 Nick Clifton <nickc@redhat.com>
579
580 * po/bg.po: Updated Bulgarian translation.
581 * po/pt.po: Updated Portuguese translation.
582 * po/uk.po: Updated Ukranian translation.
583
ddb43bab
AM
5842020-07-06 Alan Modra <amodra@gmail.com>
585
586 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
587 find string length.
588
b19d852d
NC
5892020-07-04 Nick Clifton <nickc@redhat.com>
590
591 * configure: Regenerate.
592 * po/binutils.pot: Regenerate.
593
b115b9fd
NC
5942020-07-04 Nick Clifton <nickc@redhat.com>
595
596 Binutils 2.35 branch created.
597
0942c7ab
NC
5982020-07-02 Nick Clifton <nickc@redhat.com>
599
600 PR 26028
601 * readelf.c (print_symbol): Handle truncation of symbol names.
602 (options): Add -T/--silent-truncation option.
603 (parse_args): Handle the option.
604 (print_dynamic_symbol): Correct calculation of width available to
605 display symbol name.
606 * doc/binutils.texi: Document the -T option to readelf.
607 * NEWS: Mention the new feature.
608
bbd19b19
L
6092020-06-30 H.J. Lu <hongjiu.lu@intel.com>
610
611 * NEWS: Mention x86 NaCl target support removal.
612 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
613 x86 NaCl target support.
614 * testsuite/binutils-all/elfedit-1.d: Likewise.
615 * testsuite/binutils-all/i386/i386.exp: Likewise.
616 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
617 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
618 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
619 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
620 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
621 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
622 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
623 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
624 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
625 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
626 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
627 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
628
5568cc9e
NC
6292020-06-30 Nick Clifton <nickc@redhat.com>
630
631 * dwarf.c (read_and_display_attr_value): Support
632 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
633 DW_AT_comp_dir.
634
d74b88ed
AM
6352020-06-30 Alan Modra <amodra@gmail.com>
636
637 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
638 xfail for nds32.
639
9f27c364
HPN
6402020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
641
642 * dwarf.c (display_debug_str_offsets): Rename local variable
643 index to idx. Move to top of function.
644
279edac5
AM
6452020-06-29 Alan Modra <amodra@gmail.com>
646
647 * dwarf.c: Use C style comments.
648 * resrc.c: Likewise.
649
cfc16775
AM
6502020-06-27 Alan Modra <amodra@gmail.com>
651
652 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
653 after freeing.
654 (release_archive): Set fields of arch to NULL after freeing.
655
2f6ecaed
NA
6562020-06-26 Nick Alcock <nick.alcock@oracle.com>
657
658 * readelf.c (dump_section_as_ctf): Support .ctf archives using
659 ctf_arc_bufopen. Automatically load the .ctf member of such
660 archives as the parent of all other members, unless specifically
661 overridden via --ctf-parent. Split out dumping code into...
662 (dump_ctf_archive_member): ... here, as in objdump, and call
663 it once per archive member.
664 (dump_ctf_indent_lines): Code style fix.
665
094e34f2
NA
6662020-06-26 Nick Alcock <nick.alcock@oracle.com>
667
668 * configure.ac [--enable-libctf]: New, default yes.
669 Set ENABLE_LIBCTF accordingly.
670 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
671 * configure: Regenerate.
672 * config.in: Regenerate.
673 * Makefile.in: Regenerate.
674 * aclocal.m4: Regenerate.
675 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
676 (option_values): Likewise.
677 (long_options): Likewise.
678 (main): Likewise.
679 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
680 (make_ctfsect): Likewise.
681 (dump_ctf_archive_member): Likewise.
682 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
683 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
684 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
685 (usage): Likewise.
686 (process_section_contents): Likewise.
687 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
688 (dump_ctf_indent_lines): Likewise.
689 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
690
2a1bb84c
JB
6912020-06-26 Jan Beulich <jbeulich@suse.com>
692
693 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
694 redundant text from x86 specific part of -M section.
695
85f7484a
PB
6962020-06-26 Pat Bernardi <bernardi@adacore.com>
697
698 * readelf.c (display_m68k_gnu_attribute): New function.
699 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
700
d0dded5b
L
7012020-06-23 H.J. Lu <hongjiu.lu@intel.com>
702
703 PR binutils/26160
704 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
705 * testsuite/binutils-all/pr26160.r: Likewise.
706 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
707
39f381cb
NC
7082020-06-23 Nick Clifton <nickc@redhat.com>
709
710 PR 26160
711 * dwarf.c (fetch_indexed_string): Detect and handle old style
712 .debug_str_offset tables.
713 (display_debug_str_offsets): Likewise. Also add support for
714 .debug_str_offsets.dwo sections.
715
80fda85c
L
7162020-06-23 H.J. Lu <hongjiu.lu@intel.com>
717
718 PR binutils/26112
719 * testsuite/binutils-all/pr26112.o.bz2: New file.
720 * testsuite/binutils-all/pr26112.r: Likewise.
721 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
722
d081ffff
AM
7232020-06-23 Alan Modra <amodra@gmail.com>
724
725 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
726 remote_file delete command.
727
e4b7104b
NC
7282020-06-22 Nick Clifton <nickc@redhat.com>
729
730 PR 26112
731 * dwarf.c (display_debug_str_offsets): Add code to display the
732 contents of the .debug_str_offsets section.
733 (display_debug_macro): Add support for DW_MACRO_define_strx and
734 DW_MACRO_undef_strx.
735
d768f160
SJ
7362020-06-22 Saagar Jha <saagar@saagarjha.com>
737
738 * od-macho.c: Dump linkedit data for new load commands.
739
5fd104ad
AM
7402020-06-19 Alan Modra <amodra@gmail.com>
741
742 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
743 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
744 (run_dump_test): Use check_relro_support to decide whether to pass
745 extra ld option "-z norelro".
746
fd17d1e6
AM
7472020-06-11 Alan Modra <amodra@gmail.com>
748
749 * readelf.c (process_mips_specific): Don't alloc memory for
750 Elf_Internal_Options.
751
d0c4e780
AM
7522020-06-11 Alan Modra <amodra@gmail.com>
753
754 * readelf.c (process_mips_specific): Assert size of internal
755 types match size of external types, and simplify allocation of
756 internal buffer. Catch possible integer overflow when sanity
757 checking option size. Don't assume options are a regular array.
758 Sanity check reginfo option against option size. Use PRI macros
759 when printing.
760
25065fcd
RH
7612020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
762
763 PR 26082
764 * mclex.c (yylex): Reject lines that reach end-of-file without a
765 terminating newline character.
766
b37a7714
NC
7672020-06-08 Nick Clifton <nickc@redhat.com>
768
769 PR 26093
770 * doc/binutils.texi (strings): Fix typo.
771
c4b2f181
NC
7722020-06-08 Nick Clifton <nickc@redhat.com>
773
774 PR 26086
775 * dwarf.c (process_debug_info): Check that there is space in the
776 debug_information array before filling in an entry.
777
1424c35d
AM
7782020-06-06 Alan Modra <amodra@gmail.com>
779
780 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
781
8affa48a
JA
7822020-06-05 Joel Anderson <joelanderson333@gmail.com>
783
784 PR 26082
785 * mclex.c (yylex): Add test for an empty input stream.
786
8eca5c7d
SC
7872020-06-04 Stephen Casner <casner@acm.org>
788
789 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
790 for test using section pseudo-ops compatible with pdp11.
791 * testsuite/binutils-all/objcopy.exp: Select alternate source.
792
b3db6d07
JM
7932020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
794
795 * objdump.c (disassemble_data): Set disasm_info.endian_code to
796 disasm_info.endian after the latter is initialized to the
797 endianness reported by BFD.
798
0a4f37af
AM
7992020-06-04 Alan Modra <amodra@gmail.com>
800
801 * testsuite/binutils-all/i386/i386.exp: Remove global directive
802 outside proc body.
803 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
804 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
805
913e0fd4
JA
8062020-06-03 Joel Anderson <joelanderson333@gmail.com>
807
808 * windmc.h (struct mc_node): Add id_typecast field.
809 * mcparse.y (message): Initialise the id_typecast field.
810 * windmc.c (write_dbg): Use the id_typecast field as a parameter
811 when calling write_dbg_define.
812 (write_header): Likewise.
813
4a322448
AM
8142020-06-03 Alan Modra <amodra@gmail.com>
815
816 PR 26069
817 * objcopy.c (copy_relocations_in_section): Free relpp on error.
818 Don't accidentally free isection->orelocation.
819
0bee4d1c
AM
8202020-06-02 Alan Modra <amodra@gmail.com>
821
822 * testsuite/binutils-all/ar.exp (obj): Set up object file name
823 extension. Use throughout. Don't completely exclude non-ELF
824 alpha targets. Run long_filenames test for tic30. Exclude thin
825 archive tests for aix, ecoff and vms.
826 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
827 extension. Use throughout. Don't exclude non-ELF alpha targets
828 from "bintest.a".
829
ab7ad287
MF
8302020-05-28 Max Filippov <jcmvbkbc@gmail.com>
831
832 * MAINTAINERS (Xtensa): Add myself as maintainer.
833
3f3c3608
AM
8342020-05-23 Alan Modra <amodra@gmail.com>
835
836 * testsuite/binutils-all/ar.exp (many_files): New test.
837
9db70fc3
AM
8382020-05-21 Alan Modra <amodra@gmail.com>
839
840 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
841 * dlltool.c: Likewise.
842 * elfcomm.c: Likewise.
843 * rddbg.c: Likewise.
844 * readelf.c: Likewise.
845 * stabs.c: Likewise.
846 * windmc.c: Likewise.
847 * windres.c: Likewise.
848 * wrstabs.c: Likewise.
849
c31ab5a0
AM
8502020-05-21 Alan Modra <amodra@gmail.com>
851
852 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
853 access.
854
8f595e9b
NC
8552020-05-20 Nelson Chu <nelson.chu@sifive.com>
856
857 * dwarf.c: Updated since DECLARE_CSR is changed.
858
8ac10c5b
L
8592020-05-19 H.J. Lu <hjl.tools@gmail.com>
860
861 PR binutils/25809
862 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
863 segment doesn't match the .dynamic section and checks are
864 enabled.
865 (struct filedata): Add dynamic_symtab_section and
866 dynamic_strtab_section fields.
867 (process_section_headers): Set dynamic_symtab_section to the
868 .dynsym section. Set dynamic_strtab_section to the .dynstr
869 section.
870 (process_dynamic_section): Warn if the .dynsym section doesn't
871 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
872 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
873
c177f377
AM
8742020-05-19 Alan Modra <amodra@gmail.com>
875
876 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
877 (replace_members): Use bfd_get_filename rather than accessing
878 bfd->filename directly.
879 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
880 * binemul.c (do_ar_emul_append): Likewise.
881 * coffgrok.c (coff_grok): Likewise.
882
83d27139
SH
8832020-05-18 Stafford Horne <shorne@gmail.com>
884
885 * MAINTAINERS (OR1K): Add myself as maintainer.
886
d11a9fab
AB
8872020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
888
889 * doc/binutils.texi: Mention 'entry address' in the set-start and
890 adjust-start options descriptions.
891
546cb2d8
NC
8922020-05-05 Nick Clifton <nickc@redhat.com>
893
894 * dwarf.c (do_checks): New global variable.
895 (display_formatted_table): Warn about an unexpected number of
896 columns in the table, if checks are enabled. Do not complain
897 about the lack of data following the number of entries in the
898 table if the table is empty.
899 (display_debug_lines_decoded): Only warn about an unexpected
900 number of columns in a table if checks are enabled.
901 * dwarf.h (do_checks): Add a prototype.
902 * elfcomm.c (error): Remove weak attribute.
903 (warn): Likewise.
904 * readelf.c (do_checks): Delete.
905 (warn): Delete.
906 (process_section_headers): Only warn about empty sections if
907 checks are enabled.
908
e052e2ba
FS
9092020-05-04 Fangrui Song <maskray@google.com>
910
911 * objcopy.c (copy_object): Allow empty section.
912 * testsuite/binutils-all/update-section.exp: Add test.
913
070b775f
NC
9142020-05-04 Nick Clifton <nickc@redhat.com>
915
916 PR 25917
917 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
918 supicious number of entries for DWARF-5 format directory and file
919 name tables. Do not display file name table header if the table
920 is empty. Do not allocate space for empty tables.
921
9c7b8e9b
AM
9222020-05-04 Alan Modra <amodra@gmail.com>
923
924 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
925 section. Don't assume endian of host matches nds32 target. Free
926 buffer.
927
60832332
AM
9282020-05-01 Alan Modra <amodra@gmail.com>
929 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
930
931 * objdump.c (disassemble_bytes): Don't scan for zeros when
932 disassembling zeros. Translate "resuming at file offset" message.
933 Formatting. Replace some signed variables with unsigned.
934
09c1e68a
AC
9352020-04-30 Alex Coplan <alex.coplan@arm.com>
936
937 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
938 disassembly.
939 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
940
8a8a1171
NC
9412020-04-30 Nick Clifton <nickc@redhat.com>
942
943 * testsuite/lib/binutils-common.exp (check_pie_support): New
944 proc.
945
cb4c35cf
AB
9462020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
947
948 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
949 range_entries for the same offset.
950
1b513401
NC
9512020-04-29 Nick Clifton <nickc@redhat.com>
952
953 * readelf.c (warn): New function - like elfcomm.c version but only
954 produces output if warnings are enabled.
955 (struct options): Add --lint and --enable-checks.
956 (usage): Add entry for --lint.
957 (parse_args): Handle -L. If checks are enabled but no dumps have
958 been selected then enable all dumps.
959 (process_section_headers): Replace long if-then-else sequence with
960 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
961 SHT_PROGBITS sections.
962 (process_file): Do not complain if the file is an archive and lint
963 mode has been enabled.
964 * elfcomm.c (error): Make the function weak.
965 (warn): Likewise.
966 * NEWS: Mention the new feature.
967 * doc/binutils.texi: Document the new feature.
968 * dwarf.h (report_leb_status): Add file name and line number
969 parameters. Include them in the diagnostic output.
970 (READ_ULEB): Pass file and line number to report_leb_status.
971 (READ_SLEB): Likewise.
972 * dwarf.c (read_and_print_leb128): Pass file and line number to
973 report_leb_status.
974 * testsuite/binutils-all/readelf.exp: Add test of new feature.
975 * testsuite/binutils-all/zero-sec.s: New test source file.
976 * testsuite/binutils-all/zero-sec.r: Expected output from new
977 test.
978
c2e71e57
NC
9792020-04-29 Nick Clifton <nickc@redhat.com>
980
981 * po/sr.po: Updated Serbian translation.
982
90837ea7
AM
9832020-04-26 Alan Modra <amodra@gmail.com>
984
985 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
986 read before dereferencing, and gracefully return. Remove
987 gnu_hash_error variable. Free gnu hash arrays if number of
988 syms found is zero.
989
2482f306
AM
9902020-04-24 Alan Modra <amodra@gmail.com>
991
992 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
993 non-zero.
994 (process_dynamic_section): Call get_num_dynamic_syms once rather
995 than in segment loop. Break out of segment loop on a successful
996 load of dynamic symbols. Formatting.
997 (process_object): Return error status from process_dynamic_section.
998
27456742
AK
9992020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
1000
1001 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
1002 * elf.c (elfcore_grok_arc_v2): New function.
1003 (elfcore_grok_note): Call the new function to handle the corresponding
1004 note.
1005 (elfcore_write_arc_v2): New function.
1006 (elfcore_write_register_note): Call the new function to handle the
1007 corresponding pseudo-sections.
1008
30ce8e47
MF
10092020-04-22 Max Filippov <jcmvbkbc@gmail.com>
1010
1011 PR ld/25861
1012 * readelf.c (is_none_reloc): Recognize
1013 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
1014 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
1015
33b5a830
NC
10162020-04-22 Nick Clifton <nickc@redhat.com>
1017
1018 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
1019
978c4450
AM
10202020-04-22 Alan Modra <amodra@gmail.com>
1021
1022 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
1023 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
1024 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
1025 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
1026 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
1027 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
1028 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
1029 (dynamic_section, symtab_shndx_list, group_count, section_groups),
1030 (section_headers_groups): Move to struct filedata. Update use
1031 throughout file.
1032
6431e409
AM
10332020-04-22 Alan Modra <amodra@gmail.com>
1034
1035 * readelf.c (struct dump_data): New, used..
1036 (cmdline): ..here, and..
1037 (struct filedata): ..here. Adjust all uses.
1038 (request_dump_bynumber, request_dump, parse_args): Pass in a
1039 struct dump_data* rather than Filedata*. Adjust callers.
1040 (main): Don't set cmdline.file_name.
1041
a5e0be5c
AM
10422020-04-20 Alan Modra <amodra@gmail.com>
1043
1044 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
1045 and nbuckets.
1046
8ff66993
AM
10472020-04-20 Alan Modra <amodra@gmail.com>
1048
1049 * readelf.c (process_section_headers): Free dynamic symbols etc.
1050 earlier.
1051
ceb9bf11
AM
10522020-04-20 Alan Modra <amodra@gmail.com>
1053
1054 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
1055 on error without freeing.
1056 (process_dynamic_section): Don't recreate dynamic symbols from
1057 dynamic tag info when the dynamic symbols have already been
1058 read via section headers.
1059
e409955d
FS
10602020-04-17 Fredrik Strupe <fredrik@strupe.net>
1061
1062 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
1063 conditional VDUP instructions are disassembled correctly.
1064 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1065 vdup-cond.d.
1066 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
1067 that VDUP instructions (which are conditional in A32) can be
1068 disassembled in thumb mode.
1069 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1070 vdup-thumb.d.
1071
ca3f923f
AM
10722020-04-17 Alan Modra <amodra@gmail.com>
1073
1074 PR 25840
1075 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
1076
937f6614
AM
10772020-04-16 Alan Modra <amodra@gmail.com>
1078
1079 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
1080 --no-addresses description.
1081
b1bc1394
AM
10822020-04-15 Alan Modra <amodra@gmail.com>
1083
1084 * objdump.c (no_addresses): New static var.
1085 (usage): Print help for --no-addresses.
1086 (long_options): Add --no-addresses entry.
1087 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
1088 (disassemble_bytes): Don't print current line address, or reloc
1089 address.
1090 * doc/binutils.texi: Document objdump --no-addresses.
1091
001890e1
AM
10922020-04-15 Alan Modra <amodra@gmail.com>
1093
1094 PR 25822
1095 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
1096 reading buckets or chains fails.
1097
b71d4fa7
AM
10982020-04-15 Alan Modra <amodra@gmail.com>
1099
1100 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
1101 etc. after freeing.
1102
89246a0e
AM
11032020-04-15 Alan Modra <amodra@gmail.com>
1104
1105 * readelf.c (get_group_flags): Translate text.
1106 (get_file_type, get_symbol_binding, get_symbol_type),
1107 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
1108
c98a4545
AM
11092020-04-15 Alan Modra <amodra@gmail.com>
1110
1111 PR 25821
1112 * readelf.c (get_num_dynamic_syms): Typo fix.
1113
645f43a8
AM
11142020-04-14 Alan Modra <amodra@gmail.com>
1115
1116 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
1117 possibility of overflow when checking number of conflicts.
1118
10ca4b04
L
11192020-04-14 H.J. Lu <hongjiu.lu@intel.com>
1120
1121 PR binutils/25707
1122 * readelf.c (nbuckets): New.
1123 (nchains): Likewise.
1124 (buckets): Likewise.
1125 (chains): Likewise.
1126 (ngnubuckets): Likewise.
1127 (gnubuckets): Likewise.
1128 (gnuchains): Likewise.
1129 (mipsxlat): Likewise.
1130 (ngnuchains): Likewise.
1131 (gnusymidx): Likewise.
1132 (VALID_SYMBOL_NAME): Likewise.
1133 (VALID_DYNAMIC_NAME): Use it.
1134 (get_dynamic_data): Moved before process_dynamic_section.
1135 (get_num_dynamic_syms): New function.
1136 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
1137 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
1138 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
1139 table.
1140 (get_symbol_index_type): Don't print "bad section index" when
1141 there is no section header.
1142 (print_dynamic_symbol): Rewrite.
1143 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
1144 symbol table.
1145
bb897477
RO
11462020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1147
1148 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
1149 enable on *-*-solaris*.
1150
00386881
NC
11512020-03-30 Nick Clifton <nickc@redhat.com>
1152
1153 PR binutils/25662
1154 * objcopy.c (copy_object): When copying PE format files set the
1155 timestamp field in the pe_data structure if the preserve_dates
1156 flag is set.
1157 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
1158 --preserve-dates in place of the -p option, in order to make its
1159 effect more obvious.
1160
0a6a8b59
AM
11612020-03-28 Alan Modra <amodra@gmail.com>
1162
1163 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
1164 clear_xfail hppa*-*-*elf*. Revert mips xfails.
1165
6a81c59b
AM
11662020-03-28 Alan Modra <amodra@gmail.com>
1167
1168 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
1169 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
1170 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
1171 test. Pass "-p" to objcopy for the executable test.
1172
1fafefd5
JL
11732020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1174
1175 PR binutils/25662
1176 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
1177 specify whether an object file or executable should be built and tested.
1178 Change test names to report whether an object file or executable is
1179 being tested.
1180 * testsuite/binutils-all/pr25662.ld: New test.
1181 * testsuite/binutils-all/pr25662.s: New test.
1182
80e2a3b6
AM
11832020-03-27 Alan Modra <amodra@gmail.com>
1184
1185 * readelf.c (process_archive): Don't double free qualified_name.
1186 Don't break out of loop with "negative" archive_file_size, just
1187 set file offset to max.
1188
4c836627
AM
11892020-03-25 Alan Modra <amodra@gmail.com>
1190
1191 * readelf.c (process_archive): Prevent endless loop.
1192
1081065c
L
11932020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 PR binutils/25708
1196 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
1197 with bfd_get_symbol_version_string.
1198 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
1199 * objdump.c (objdump_print_symname): Likewise.
1200
7e6e972f
L
12012020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 PR binutils/25708
1204 * nm.c (SYM_NAME): Removed.
1205 (print_symname): Add a pointer to struct extended_symbol_info
1206 argument. Call _bfd_elf_get_symbol_version_name to get symbol
1207 version.
1208 (print_symdef_entry): Pass NULL to print_symname.
1209 (print_symbol_info_bsd): Update call to print_symname.
1210 (print_symbol_info_sysv): Likewise.
1211 (print_symbol_info_posix): Likewise.
1212
5a814d6d
AM
12132020-03-24 Alan Modra <amodra@gmail.com>
1214
1215 * readelf.c (process_mips_specific): Free iconf on error path.
1216
0636b245
NC
12172020-03-23 Nick Clifton <nickc@redhat.com>
1218
1219 PR 25714
1220 * wrstabs.c (stab_pop_type): Replace assertion with error return.
1221 * write_stabs_in_sections_debugging_info: Likewise.
1222 * stab_enum_type: Likewise.
1223 * stab_modify_type: Likewise.
1224 * stab_struct_field: Likewise.
1225 * stab_end_struct_type: Likewise.
1226 * stab_start_class_type: Likewise.
1227 * stab_class_static_member: Likewise.
1228 * stab_class_baseclass: Likewise.
1229 * stab_class_start_method: Likewise.
1230 * stab_class_method_var: Likewise.
1231 * stab_class_end_method: Likewise.
1232 * stab_end_class_type: Likewise.
1233 * stab_typedef_type: Likewise.
1234 * stab_start_function: Likewise.
1235 * stab_end_block: Likewise.
1236 * stab_lineno: Likewise.
1237
5844b465
NC
12382020-03-20 Nick Clifton <nickc@redhat.com>
1239
1240 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
1241 (process_section_headers): Check the return value from
1242 get_compression_header.
1243 (dump_section_as_strings): Likewise.
1244 (dump_section_as_bytes): Likewise.
1245 (load_specific_debug_section): Likewise.
1246
3d98c460
L
12472020-03-20 H.J. Lu <hongjiu.lu@intel.com>
1248
1249 * ar.c (main): Update bfd_plugin_set_program_name call.
1250 * nm.c (main): Likewise.
1251
f3a08f77
NC
12522020-03-19 Nick Clifton <nickc@redhat.com>
1253
1254 PR 25676
1255 * testsuite/binutils-all/dw4.s: New test source file.
1256 * testsuite/binutils-all/nm.exp: Run the new test.
1257
ef3df110
L
12582020-03-19 H.J. Lu <hongjiu.lu@intel.com>
1259
1260 * readelf.c (process_symbol_table): Use unsigned long for si.
1261
81a65eb3
AM
12622020-03-19 Alan Modra <amodra@gmail.com>
1263
1264 * elfcomm.c: Don't include bfd.h or bucomm.h.
1265 (program_name): Declare.
1266 (process_archive_index_and_symbols): Replace bfd_boolean with int,
1267 and substitute FALSE and TRUE.
1268 (setup_archive, setup_nested_archive): Likewise.
1269 * elfcomm.h: Likewise.
1270
1cb7d8b1
AM
12712020-03-19 Alan Modra <amodra@gmail.com>
1272
1273 * readelf.c (process_archive): Always return via path freeing
1274 memory. Formatting.
1275
b966f55f
AM
12762020-03-19 Alan Modra <amodra@gmail.com>
1277
1278 * readelf.c (process_netbsd_elf_note): Validate descsz before
1279 accessing descdata. Formatting.
1280
645ba681
AM
12812020-03-19 Alan Modra <amodra@gmail.com>
1282
1283 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
1284 * elfcomm.h (setup_archive): Update prototype.
1285
28d13567
AM
12862020-03-16 Alan Modra <amodra@gmail.com>
1287
1288 * readelf.c (get_symbols): New function.
1289 (process_relocs, ia64_process_unwind, hppa_process_unwind),
1290 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
1291
60e63c3e
AM
12922020-03-16 Alan Modra <amodra@gmail.com>
1293
1294 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
1295 Detect shift overflows and check that terminating byte is found.
1296 Print an error on a bad uleb128.
1297
1bd6175a
AM
12982020-03-14 Alan Modra <amodra@gmail.com>
1299
1300 * readelf.c (process_file): Clean ba_cache.
1301
780f96ae
AM
13022020-03-14 Alan Modra <amodra@gmail.com>
1303
1304 * elfcomm.h (setup_archive): Update prototype.
1305 * elfcomm.c (setup_archive): Add file_size parameter and sanity
1306 check longnames_size.
1307 (setup_nested_archive): Get file size and pass to setup_archive.
1308 * elfedit.c (process_archive): Likewise.
1309 * readelf.c (process_archive): Pass filedata->file_size to
1310 setup_archive.
1311
f761cb13
AM
13122020-03-14 Alan Modra <amodra@gmail.com>
1313
1314 * readelf.c (dump_section_as_strings): Free memory on error exit.
1315 (dump_section_as_bytes, process_notes_at): Likewise.
1316 (get_build_id): Free enote.
1317
06d949ec
KR
13182020-03-13 Kamil Rytarowski <n54@gmx.com>
1319
1320 * readelf.c (get_netbsd_elfcore_note_type): Add support for
1321 NT_NETBSDCORE_LWPSTATUS notes.
1322
fd486f32
AM
13232020-03-13 Alan Modra <amodra@gmail.com>
1324
1325 * elfcomm.c (get_archive_member_name): Always return malloc'd
1326 string or NULL.
1327 * elfedit.c (process_archive): Tidy memory on all return paths.
1328 * readelf.c (process_archive): Likewise.
1329 (process_symbol_table): Likewise.
1330 (ba_cache): New, replacing ..
1331 (get_symbol_for_build_attribute): ..static vars here. Free
1332 strtab and symtab before loading new ones. Reject symtab without
1333 valid strtab in loop, breaking out of loop on valid symtab.
1334 (process_file): Free ba_cache symtab and strtab here, resetting
1335 ba_cache.
1336
8fb879cd
AM
13372020-03-12 Alan Modra <amodra@gmail.com>
1338
1339 * readelf.c (process_section_headers): Don't just set
1340 filedata->section_headers NULL, free it first. Similarly for
1341 dynamic_symbols, dynamic_strings, dynamic_syminfo and
1342 symtab_shndx_list. Zero associated counts too.
1343 (process_object): Free symtab_shndx_list.
1344 (process_file): Free various allocated filedata tables.
1345
5496f3c6
NC
13462020-03-11 Nick Clifton <nickc@redhat.com>
1347
1348 PR 25611
1349 PR 25614
1350 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
1351 li_segment_size fields.
1352 * dwarf.c (read_debug_line_header): Record the address size and
1353 segment selector size values (if present) in the lineinfo
1354 structure.
1355 (display_formatted_table): Warn if the format count is empty but
1356 the table itself is not empty.
1357 Display the format count and entry count at the start of the table
1358 dump.
1359 (display_debug_lines_raw): Display the address size and segement
1360 selector size fields, if present.
1361 * testsuite/binutils-all/dw5.W: Update expected output.
1362
9cc89dc0
AM
13632020-03-11 Alan Modra <amodra@gmail.com>
1364
1365 PR 25651
1366 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
1367 pad_to_set on second block of code dealing with padding.
1368 Replace "c" with "num_sec" and don't recalculate number of
1369 sections on second block. Size arrays using sizeof (element)
1370 rather than sizeof (element type).
1371
41da0822
AM
13722020-03-10 Alan Modra <amodra@gmail.com>
1373
1374 * objdump.c (disassemble_section): Don't call qsort unless
1375 sym count is at least two.
1376 (disassemble_data): Don't call memcpy with NULL src.
1377
95099889
AM
13782020-03-09 Alan Modra <amodra@gmail.com>
1379
1380 PR 25645
1381 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
1382 to get_data rather than multiplying.
1383 (dump_ia64_vms_dynamic_relocs): Likewise.
1384 (process_version_sections): Correct order of size and nmemb args
1385 in get_data call.
1386 (process_mips_specific): Likewise.
1387
a15de1f5
L
13882020-03-08 H.J. Lu <hongjiu.lu@intel.com>
1389
1390 * readelf.c (get_dynamic_data): Replace "memory chekers" with
1391 "memory checkers" in comments.
1392
9979ab66
SM
13932020-03-06 Simon Marchi <simon.marchi@efficios.com>
1394
1395 PR 25491
1396 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
1397 * doc/Makefile.in: Re-generate.
1398
a0dcf297
NC
13992020-03-06 Nick Clifton <nickc@redhat.com>
1400
1401 * objcopy.c (check_new_section_flags): New function. Reject the
1402 SEC_COFF_SHARED flag if the target is not a COFF binary.
1403 (copy_object): Call check_new_section_flags.
1404 (setup_section): Likewise.
1405 * doc/binutils.texi (objcopy): Add a note that the 'share' section
1406 flag cannot be applied to ELF binaries.
1407
a9b90127
AM
14082020-03-06 Alan Modra <amodra@gmail.com>
1409
1410 PR 25637
1411 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
1412
d1faf7ca
AM
14132020-03-05 Alan Modra <amodra@gmail.com>
1414
1415 PR 25629
1416 * objcopy.c (filter_symbols): Don't segfault on NULL
1417 prefix_symbols_string.
1418
eef64366
CE
14192020-03-04 Christian Eggers <ceggers@gmx.de>
1420
1421 * objcopy.c (copy_object): Convert from bytes to octets for
1422 --gap-fill and --pad-to.
1423
5be2b2f5
NC
14242020-03-03 Nick Clifton <nickc@redhat.com>
1425
1426 PR 25625
1427 * prdbg.c (pr_tag_type): Remove call to abort.
1428
b312fea1
AM
14292020-03-02 Aaron Merey <amerey@redhat.com>
1430
1431 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
1432 selection.
1433
ba3265d0
NC
14342020-03-02 Nick Clifton <nickc@redhat.com>
1435
1436 PR 25543
1437 * readelf.c (dump_section_as_strings): Display new-line characters
1438 as \n and then insert a line break.
1439 * testsuite/binutils-all/pr25543.s: New test.
1440 * testsuite/binutils-all/pr25543.d: Test driver.
1441 * testsuite/binutils-all/readelf.exp: Run the new test.
1442
736990c4
NC
14432020-02-27 Nick Clifton <nickc@redhat.com>
1444
1445 PR 25526
1446 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
1447 get_data is unable to load the string table.
1448
dc1e8a47
AM
14492020-02-26 Alan Modra <amodra@gmail.com>
1450
1451 * elfedit.c: Indent labels correctly.
1452 * readelf.c: Likewise.
1453 * resres.c: Likewise.
1454
ecda9016
L
14552020-02-25 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 PR binutils/25584
1458 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
1459 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
1460
83d4d556
NC
14612020-02-24 Nick Clifton <nickc@redhat.com>
1462
1463 PR 25499
1464 * doc/binutils.texi (objdump): Fix typo in description of
1465 objdump's -g option.
1466
bd0cf5a6
NC
14672020-02-20 Nelson Chu <nelson.chu@sifive.com>
1468
1469 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
1470 is changed.
1471
741cb839
EC
14722020-02-19 Jordan Rupprecht <rupprecht@google.com>
1473
1474 * objdump.c (show_line): call bfd_demangle when using do_demangle.
1475
9f1528a1
AB
14762020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1477
1478 * configure: Regenerate.
1479
3a5d12fb
FS
14802020-02-10 Fangrui Song <maskray@google.com>
1481
1482 * objcopy.c (parse_flags): Handle "exclude".
1483 * doc/binutils.texi: Document the support.
1484
678d457f
AM
14852020-02-10 Aaron Merey <amerey@redhat.com>
1486
1487 * binutils/testsuite/binutils-all/debuginfod.exp:
1488 Replace set ::env with setenv.
46471187
AM
1489 Start server before setting environment variable.
1490 Specify tmpdir as the location of the server's
1491 database.
1492 Check additional server metrics at start-up.
678d457f 1493
e8319fde
NC
14942020-02-07 Nick Clifton <nickc@redhat.com>
1495
1496 * README-how-to-make-a-release: Add note about updating the
1497 GAS/NEWS URL in the next release.
1498
9fc0b501
SB
14992020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1500
1501 PR 25469
1502 * readelf.c (get_machine_flags): Add support for Z80N machine
1503 number.
1504
e1104d08
NC
15052020-02-07 Nick Clifton <nickc@redhat.com>
1506
1507 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1508 of the truncated file name.
1509
c2e6f744 15102020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
1511
1512 * objdump.c (print_jump_visualisation): New function.
1513 (disassemble_bytes): Call new function.
1514
02e0be69
AM
15152020-02-06 Alan Modra <amodra@gmail.com>
1516
1517 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1518 TCL procedure.
1519 (supports_gnu_osabi): New procedure.
1520 (is_generic): New, from ld-lib.exp.
1521 (supports_gnu_unique): Use the above.
1522
e8b79122
AM
15232020-02-04 Alan Modra <amodra@gmail.com>
1524
1525 * Makefile.am (CFILES): Add od-elf32_avr.c.
1526 * Makefile.in: Regenerate.
1527 * po/POTFILES.in: Regenerate.
1528
27a45f42
AS
15292020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1530
1531 * readelf.c (dump_relocations, dump_relocations)
1532 (decode_arm_unwind_bytecode, process_dynamic_section)
1533 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1534 error message.
1535
0b398d69
ST
15362020-02-03 Sergei Trofimovich <siarheit@google.com>
1537
1538 * coffdump.c (program_name): Drop redundant definition.
1539 * srconv.c (program_name): Likewise
1540 * sysdump.c (program_name): Likewise
1541
a8c4d40b
L
15422020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 PR gas/25380
1545 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1546 same file with different section pointers.
1547
cb6ad9bb
NC
15482020-02-01 Nick Clifton <nickc@redhat.com>
1549
1550 * README-how-to-make-a-release: Update with more details on the
1551 release making process.
1552
53943f32
NC
15532020-01-31 Nick Clifton <nickc@redhat.com>
1554
1555 * po/sv.po: Updated Swedish translation.
1556
55be8fd0
NC
15572020-01-28 Nick Clifton <nickc@redhat.com>
1558
1559 * readelf.c (get_build_id): Simplify warning message about corrupt
1560 notes encountered whilst scanning for the build-id.
1561
82ef9cad
RM
15622020-01-27 Roland McGrath <mcgrathr@google.com>
1563
1564 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1565 for overlapping ranges so that (A == B) == (B == A) holds.
1566
e3696f67
AM
15672020-01-27 Alan Modra <amodra@gmail.com>
1568
1569 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1570 case statement with switch statement.
1571
2f796de6
NC
15722020-01-24 Nick Clifton <nickc@redhat.com>
1573
1574 * readelf.c (get_build_id): Fix warning messages about corrupt
1575 notes.
1576
24e648d4
NC
15772020-01-23 Nick Clifton <nickc@redhat.com>
1578
1579 * po/fr.po: Updated French translation.
1580
c48acf6f
YC
15812020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1582
1583 PR 25417
1584 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1585
26916852
NC
15862020-01-20 Nick Clifton <nickc@redhat.com>
1587
1588 * po/pt.po: Updated Portuguese translation.
1589 * po/uk.po: Updated Ukranian translation.
1590
b248e9ce
NC
15912020-01-18 Nick Clifton <nickc@redhat.com>
1592
1593 * README-how-to-make-a-release: Update notes on how to cut a
1594 branch for a release.
1595
1b1bb2c6
NC
15962020-01-18 Nick Clifton <nickc@redhat.com>
1597
1598 * configure: Regenerate.
1599 * po/binutils.pot: Regenerate.
1600
ae774686
NC
16012020-01-18 Nick Clifton <nickc@redhat.com>
1602
1603 Binutils 2.34 branch created.
1604
82a9ed20
TT
16052020-01-17 Thomas Troeger <tstroege@gmx.de>
1606
1607 * objdump.c (jump_info_visualize_address): Discard jumps that are
1608 no longer needed.
1609 (disassemble_bytes): Only compute the maximum level if jumps were
1610 detected.
1611
6a1939f5
NC
16122020-01-13 Nick Clifton <nickc@redhat.com>
1613
c87c17c1 1614 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1615 * testsuite/binutils-all/debuginfod.exp: New tests.
1616
1d67fe3b
TT
16172020-01-13 Thomas Troeger <tstroege@gmx.de>
1618
1619 * objdump.c (visualize_jumps, color_output, extended_color_output)
1620 (detected_jumps): New variables.
1621 (usage): Add the new jump visualization options.
1622 (option_values): Add new option value.
1623 (long_options): Add the new option.
1624 (jump_info_new, jump_info_free): New functions.
1625 (jump_info_min_address, jump_info_max_address): Likewise.
1626 (jump_info_end_address, jump_info_is_start_address): Likewise.
1627 (jump_info_is_end_address, jump_info_size): Likewise.
1628 (jump_info_unlink, jump_info_insert): Likewise.
1629 (jump_info_add_front, jump_info_move_linked): Likewise.
1630 (jump_info_intersect, jump_info_merge): Likewise.
1631 (jump_info_sort, jump_info_visualize_address): Likewise.
1632 (disassemble_jumps): New function - used to locate jumps.
1633 (disassemble_bytes): Add ascii art generation.
1634 (disassemble_section): Add scan to locate jumps.
1635 (main): Parse the new visualization option.
1636 * doc/binutils.texi: Document the new feature.
1637 * NEWS: Mention the new feature.
1638
a788aedd
AM
16392020-01-13 Alan Modra <amodra@gmail.com>
1640
a4f2b7c5
AM
1641 PR 25360
1642 PR 25361
a788aedd
AM
1643 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1644 fde_fc col_type and col_offset.
1645 * readelf.c (apply_relocations): Move symsec check earlier.
1646 (free_debug_section): Free reloc_info.
1647 (process_notes_at): Free pnotes on error path.
1648 (process_object): Free dump_sects here..
1649 (process_archive): ..not here.
1650
805f38bc
AM
16512020-01-13 Alan Modra <amodra@gmail.com>
1652
1653 PR 25362
1654 * nm.c (display_rel_file): Free dyn_syms.
1655
ffebb0bb
NC
16562020-01-09 Nick Clifton <nickc@redhat.com>
1657
1658 PR 25220
1659 * objcopy.c (empty_name): New variable.
1660 (need_sym_before): Prevent an attempt to free a static variable.
1661 (filter_symbols): Avoid strcmp test by checking for pointer
1662 equality.
1663
ade4fd9b
NC
16642020-01-09 Nick Clifton <nickc@redhat.com>
1665
1666 * po/zh_TW.po: Updated Traditional Chinese translation.
1667
16682020-01-09 Aaron Merey <amerey@redhat.com>
1669
1670 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1671 * Makefile.in: Regenerate.
1672 * NEWS: Update.
1673 * config.in: Regenerate.
1674 * configure: Regenerate.
1675 * configure.ac: Call AC_DEBUGINFOD.
1676 * doc/Makefile.in: Regenerate.
1677 * doc/binutils.texi: Add section on using binutils
1678 with debuginfod.
1679 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1680 Query debuginfod servers for the target debug file.
1681 (load_separate_debug_info): Call
1682 debuginfod_fetch_separate_debug_info if configured with
1683 debuginfod.
1684 (load_separate_debug_files): Add file argument to
1685 load_separate_debug_info calls.
1686 * dwarf.h (get_build_id): Add declaration.
1687 * objdump.c (get_build_id): New function. Get build-id of file.
1688 * readelf.c (get_build_id): Likewise.
1689 * testsuite/binutils-all/debuginfod.exp: New tests.
1690 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1691 section.
1692
6655dba2
SB
16932020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1694
1695 * readelf.c: Add support for new Z*) relocations and machine
1696 types.
1697
b14ce8bf
AM
16982020-01-01 Alan Modra <amodra@gmail.com>
1699
1700 Update year range in copyright notice of all files.
1701
0b114740 1702For older changes see ChangeLog-2019
3499769a 1703\f
0b114740 1704Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1705
1706Copying and distribution of this file, with or without modification,
1707are permitted in any medium without royalty provided the copyright
1708notice and this notice are preserved.
1709
1710Local Variables:
1711mode: change-log
1712left-margin: 8
1713fill-column: 74
1714version-control: never
1715End: