x86: Support GNU_PROPERTY_X86_ISA_1_V[234] marker
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
32930e4e
L
12020-10-09 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR gas/26703
4 * readelf.c (decode_x86_compat_2_isa): New function.
5 (decode_x86_isa): Updated for new X86_ISA_1_XXX bits.
6 (decode_x86_feature_1): Handle GNU_PROPERTY_X86_FEATURE_2_MASK.
7 (print_gnu_property_note): Handle X86_COMPAT_2_ISA_1_USED,
8 and X86_COMPAT_2_ISA_1_NEEDED.
9 * testsuite/binutils-all/i386/pr21231b.s: Updated to the current
10 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
11 values.
12 * testsuite/binutils-all/x86-64/pr21231b.s: Likewise.
13 * testsuite/binutils-all/x86-64/pr23494a.s: Likewise.
14 * testsuite/binutils-all/x86-64/pr23494b.s: Likewise.
15 * testsuite/binutils-all/x86-64/pr23494c.s: Likewise.
16 * testsuite/binutils-all/i386/empty.d: Updated.
17 * testsuite/binutils-all/i386/ibt.d: Likewise.
18 * testsuite/binutils-all/i386/pr21231a.d: Likewise.
19 * testsuite/binutils-all/i386/pr21231b.d: Likewise.
20 * testsuite/binutils-all/i386/shstk.d: Likewise.
21 * testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
22 * testsuite/binutils-all/x86-64/empty.d: Likewise.
23 * testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
24 * testsuite/binutils-all/x86-64/ibt.d: Likewise.
25 * testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
26 * testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
27 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
28 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
29 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
30 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
31 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
32 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
33 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
34 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
35 * testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
36 * testsuite/binutils-all/x86-64/shstk.d: Likewise.
37
0ec992e6
NC
382020-10-06 Nick Clifton <nickc@redhat.com>
39
40 * objcopy.c (copy_object): Compare input and output sections by
41 pointer rather than name.
42
1f1845d4
NC
432020-10-05 Nick Clifton <nickc@redhat.com>
44
45 PR 26698
46 * windmc.c (mc_unify_path): Fix typo checking character at end of
47 pathname.
48
0cc79db2
SN
492020-10-05 Samanta Navarro <ferivoz@riseup.net>
50
51 * doc/binutils.texi: Fix spelling mistakes.
52
1c9f770d
MW
532020-09-29 Mark Wielaard <mark@klomp.org>
54
55 * dwarf.c (display_loclists_list): Handle DW_LLE_start_end and
56 DW_LLE_start_length. Only add base_address for DW_LLE_offset_pair.
57
5a805384
AM
582020-09-25 Alan Modra <amodra@gmail.com>
59
60 * elfcomm.c (byte_put_little_endian, byte_put_big_endian): Support
61 more field sizes.
62 * readelf.c (target_specific_reloc_handling <MSP430>): Limit
63 allowed reloc_size. Don't read_leb128 outside of section.
64
debd1a62
MW
652020-09-23 Mark Wielaard <mark@klomp.org>
66
67 * dwarf.c (process_debug_info): Print Unit Type for DWARF5.
68 * testsuite/binutils-all/dw5.W: Adjust expected output.
69 * testsuite/binutils-all/dwarf-attributes.W: Likewise.
70
ec47b32a
MW
712020-09-23 Mark Wielaard <mark@klomp.org>
72
73 * dwarf.c (read_and_display_attr_value): Handle DW_FORM_ref_addr
74 for dwarf_version 5 just as version 3 and 4 (only 2 is
75 different).
76 (process_debug_info): Allow DW_UT_partial.
77
a2ab5831
NC
782020-09-24 Nick Clifton <nickc@redhat.com>
79
80 PR 26662
81 * doc/binutils.texi (nm): Document that 'c' is used for small
82 common symbols.
83
427234c7
LC
842020-09-21 Ludovic Courtès <ludo@gnu.org>
85
86 * doc/binutils.texi (objcopy, strip): Say that
87 '--strip-unneeded' implies '--strip-debug'.
88
0690f591
AP
892020-09-16 Anatoly Parshintsev <kupokupokupopo@gmail.com>
90
91 * verilog.c (verilog_write_address): Properly handle 64-bit
92 addresses to avoid truncation of the high part.
93
c1229f84
AM
942020-09-16 Alan Modra <amodra@gmail.com>
95
96 * nm.c (print_symbol): Adjust elf_symbol_from invocation.
97 * objcopy.c (is_hidden_symbol): Likewise.
98
5b3eb5ed
NC
992020-09-15 Nick Clifton <nickc@redhat.com>
100
101 * README-how-to-make-a-release (https): Add a reminder to create a
102 new Bugzilla tag for the point release, once it has been published.
103
8d58ed37
L
1042020-09-11 H.J. Lu <hongjiu.lu@intel.com>
105
106 * readelf.c (get_note_type): Support NT_X86_CET.
107
ce139cd5
NC
1082020-09-11 Nick Clifton <nickc@redhat.com>
109
110 PR 26595
111 * dwarf.c (load_separate_debug_info): Return NULL rather than
112 FALSE in error situations.
113 (load_separate_debug_file): Move code to load debug links to ...
114 (check_for_and_load_links): ... here. New function. Load
115 separate debug information pointed to by debuglink and
116 debugaltlink sections. Recursively scan newly loaded debug
117 information for more links and load them too.
118
dfbee680
AM
1192020-09-09 Alan Modra <amodra@gmail.com>
120
121 PR 26578
122 * dwarf.c (parse_gnu_debugaltlink): Don't alloc build_id_data.
123 (load_separate_debug_files): Use a stack var for build_id_data.
124
790147a9
L
1252020-09-08 H.J. Lu <hongjiu.lu@intel.com>
126
127 PR ld/26587
128 * testsuite/binutils-all/objcopy.exp: Pass --disable-reloc-section
129 to ld on PE targets for PR 25662 test.
130
7d81bc93
JL
1312020-09-08 Jozef Lawrynowicz <jozef.l@mittosystems.com>
132 Kuan-Lin Chen <kuanlinchentw@gmail.com>
133
134 * readelf.c (target_specific_reloc_handling): Handle
135 R_MSP430{,X}_GNU_{SET,SUB}_ULEB128.
136
839f41a3
AM
1372020-09-02 Alan Modra <amodra@gmail.com>
138
139 * objdump.c (disassemble_bytes): Use an unsigned type for "addend".
140
54b8331d
AM
1412020-08-30 Alan Modra <amodra@gmail.com>
142
143 * readelf.c (print_gnu_build_attribute_name): Use unsigned long
144 long for "bytes".
145
08d7da7d
NC
1462020-08-28 Nick Clifton <nickc@redhat.com>
147
148 PR 26548
149 * dwarf.c (read_leb128): When checking for overflow of a signed
150 read, use a signed shift.
151
0861f561
CQ
1522020-08-28 Cooper Qu <cooper.qu@linux.alibaba.com>
153
154 * readelf.c (get_csky_section_type_name): New.
155 (get_section_type_name): Add handler for CSKY.
156 (display_csky_attribute): New.
157 (process_arch_specific): Add handler for CSKY.
158 * testsuite/binutils-all/strip-3.d: Remove .csky.attributes
159 section.
160
b0191216
JL
1612020-08-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
162
163 * readelf.c (get_msp430x_section_type_name): Rename to ...
164 (get_msp430_section_type_name): ... this.
165 (get_section_type_name): Use get_msp430_section_type_name.
166 (display_msp430x_attribute): Rename to ...
167 (display_msp430_attribute): ... this.
168 (process_arch_specific): Use display_msp430_attribute.
169
9e7ed8b0
JDA
1702020-08-27 John David Anglin <danglin@gcc.gnu.org>
171
172 PR 26356
173 * testsuite/binutils-all/objcopy.exp (objcopy --reverse-bytes): Add
174 "-j $PRIVATE$" to command on hppa*-*-hpux*.
175 * testsuite/lib/utils-lib.exp (default_binutils_run): Remove existing
176 dollar-sign quotes before quoting. Do this prior to generating log
177 output.
178
6b5473c9
RH
1792020-08-27 Ralf Habacker <ralf.habacker@freenet.de>
180
181 PR 26088
182 * mclex.c (skip_until_eol): If eol was found, increment line
183 number.
184
5e9b84f7
NA
1852020-08-27 Nick Alcock <nick.alcock@oracle.com>
186
187 * objdump.c (dump_ctf_errs): Unquote CTF error messages.
188 * readelf.c (dump_ctf_errs): Likewise.
189
926c9e76
NA
1902020-08-27 Nick Alcock <nick.alcock@oracle.com>
191
192 * objdump.c (dump_ctf_archive_member): Move error-
193 reporting...
194 (dump_ctf_errs): ... into this separate function.
195 (dump_ctf): Call it on open errors.
196 * readelf.c (dump_ctf_archive_member): Move error-
197 reporting...
198 (dump_ctf_errs): ... into this separate function. Support
199 calls with NULL fp. Adjust for new err parameter to
200 ctf_errwarning_next.
201 (dump_section_as_ctf): Call it on open errors.
202
987cf30a
NA
2032020-08-27 Nick Alcock <nick.alcock@oracle.com>
204
205 * Makefile.am (readelf_LDADD): Move $(LIBINTL) after $(LIBCTF_NOBFD).
206 * Makefile.in: Regenerated.
207
3eba3ef3
NC
2082020-08-26 Nick Clifton <nickc@redhat.com>
209
210 PR 26405
211 * readelf.c (get_segment_type): Handle OpenBSD segment types.
212
a68aba2d
AM
2132020-08-26 Alan Modra <amodra@gmail.com>
214
215 PR 26412
216 * objcopy.c (copy_object): Don't fwrite NULL contents.
217
37f628c3
KH
2182020-08-26 Katayama Hirofumi <katayama.hirofumi.mz@gmail.com>
219
220 PR 26340
221 * rcparse.y (AUTOCHECKBOX): Add WS_TABSTOP to the base style.
222
f3da8a96
AM
2232020-08-24 Alan Modra <amodra@gmail.com>
224
225 * readelf.c (dump_section_as_strings) Avoid false positive
226 "may be used uninitialised".
227
3f2e9699
L
2282020-08-22 H.J. Lu <hongjiu.lu@intel.com>
229
230 PR ld/26382
231 * nm.c (print_symname): Display only one '@' for undefined
232 versioned symbols.
233 * doc/binutils.texi: Update nm version information.
234
02391b8b
MW
2352020-08-21 Mark Wielaard <mark@klomp.org>
236
237 * testsuite/binutils-all/readelf.exp (readelf_wi_test): Also
238 recognize DW_LANG_C11.
239
d1ce973e
AM
2402020-08-19 Alan Modra <amodra@gmail.com>
241
242 PR 26349
243 * readelf.c (dump_relocations): Use BFD_VMA_FMT to print offset
244 and info fields.
245 (dump_section_as_strings): Don't use %tx to display offset.
246
82fcdb39
AM
2472020-08-14 Alan Modra <amodra@gmail.com>
248
249 PR 26388
250 * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries
251 of debug_information. Correct test of max_loc_offsets and
252 max_range_lists.
253 * rddbg.c (read_debugging_info): Free dhandle on error.
254
fc0efc4b
AM
2552020-08-14 Alan Modra <amodra@gmail.com>
256
257 * testsuite/binutils-all/mangled.s: Use dc.a rather than dc.d.
258
75e100a3
AM
2592020-08-13 Alan Modra <amodra@gmail.com>
260
261 PR 26348
262 * objcopy.c (copy_object): Report file name with endian error.
263 Error and return on abfd->read_only.
264
d3511b24
TT
2652020-08-12 Tom Tromey <tromey@adacore.com>
266
267 * dwarf-mode.el (Version): Now 1.6.
268 (dwarf-die-button-action): Tighten DIE reference regexp.
269 (dwarf-font-lock-keywords): Update name regexp.
270
79bc120c
NC
2712020-08-12 Nick Clifton <nickc@redhat.com>
272
273 PR binutils/26331
274 * readelf.c (do_demangle): New option flag.
275 (print_symbol): If do_demangle is enabled, demangle the symbol.
276 (enum long_option_values): New enum to hold long option values.
277 (options): Add demangle, no-demangle, recursion-limit and
278 no-recursion-limit options. Alpha sort the table.
279 (usage): Describe the new options.
280 (parse_args): Handle the new options.
281 * NEWS: Mention the new feature.
282 * doc/binutils.texi: Document the new feature.
283 * testsuite/binutils-all/readelf.exp: Test the new feature.
284 * testsuite/binutils-all/mangled.s: New file - assembler source.
285 * testsuite/binutils-all/readelf.demangled: New file - expected
286 output from readelf.
287
79ddc884
NC
2882020-08-12 Nick Clifton <nickc@redhat.com>
289
290 * po/sr.po: Updated Serbian translation.
291
9b0ac51b
L
2922020-08-10 H.J. Lu <hongjiu.lu@intel.com>
293
294 PR binutils/26302
295 * nm.c (with_symbol_versions): Removed.
296 (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
297 (long_options): Update --with-symbol-versions entry.
298 (print_symbol): Remove the with_symbol_versions check.
299 (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
300 compatibility.
301 * doc/binutils.texi: Remove --with-symbol-versions.
302
787bbc56
AM
3032020-08-05 Alan Modra <amodra@gmail.com>
304
305 PR 26337
306 * objdump.c (load_specific_debug_section): Revert last change.
307
0b97e818
AM
3082020-08-05 Alan Modra <amodra@gmail.com>
309
310 PR 26337
311 * objdump.c (load_specific_debug_section): Don't malloc space for
312 section contents, use bfd_malloc_and_get_section.
313
c8693053
RO
3142020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
315
316 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
317 * Makefile.in, doc/Makefile.in: Regenerate.
318 * configure: Regenerate.
319
ac2599c4
L
3202020-07-30 H.J. Lu <hongjiu.lu@intel.com>
321
322 * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
323 to assembler.
324 * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
325 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
326 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
327 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
328 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
329
c77cb2a0
MR
3302020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
331
332 * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
333 New test.
334 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
335 New test.
336 * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
337 New test.
338 * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
339 New test.
340 * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
341 New test.
342 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
343 New test.
344 * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
345 New test.
346 * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
347 New test.
348 * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
349 New test.
350 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
351
3f1b17bb
MR
3522020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
353
354 * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
355 test.
356 * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
357 test.
358 * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
359 test.
360 * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
361 test.
362 * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
363 test.
364 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
365
d70f978b
L
3662020-07-28 H.J. Lu <hongjiu.lu@intel.com>
367
368 PR binutils/26301
369 * configure: Regenerated.
370
377170fa
L
3712020-07-28 H.J. Lu <hongjiu.lu@intel.com>
372
373 PR binutils/26301
374 * configure: Regenerated.
375
8fab9282
AM
3762020-07-27 Alan Modra <amodra@gmail.com>
377
378 * objdump.c (dump_section): Don't return without calling
379 process_section_p.
380
608d61c2
L
3812020-07-27 H.J. Lu <hongjiu.lu@intel.com>
382
383 * doc/binutils.texi: Replace preceeded with preceded.
384
3abf9758
MR
3852020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
386
387 * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
388 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
389 procedures.
390 (has_newabi): Remove variable.
391 (has_abi, abi_asflags, abi_ldflags): New associative array
392 variables.
393 (irixemul): New variable.
394 Replace `run_dump_test' calls where applicable throughout with
395 `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
396 as appropriate. Use `noarch' for tests that require their own
397 architecture setting.
398 * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
399 * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
400 * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
401 * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
402 * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
403 * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
404 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
405 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
406 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
407 * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
408 * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
409 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
410 * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
411 * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
412 GAS flags.
413 * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
414 * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
415 * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
416 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
417 * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
418 * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
419 * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
420
f6720b1c
AM
4212020-07-24 Aaron Merey <amerey@redhat.com>
422
423 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
424 * Makefile.in: Rebuild.
425 * configure: Rebuild.
426 * doc/Makefile.in: Rebuild.
427
bf772a1e
NC
4282020-07-24 Nick Clifton <nickc@redhat.com>
429
430 * README-how-to-make-a-release: Various small updates whilst
431 creating the 2.35 release.
432
0b884151
NA
4332020-07-22 Nick Alcock <nick.alcock@oracle.com>
434
435 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
436 option.
437
3dd6b890
NA
4382020-07-22 Nick Alcock <nick.alcock@oracle.com>
439
440 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
441 (dump_ctf): Likewise.
442
8b37e7b6
NA
4432020-07-22 Nick Alcock <nick.alcock@oracle.com>
444
445 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
446 * readelf.c (dump_ctf_archive_member): Likewise.
447
df16e041
NC
4482020-07-22 Nick Clifton <nickc@redhat.com>
449
450 * readelf.c (parse_args): Silence potential warnings about a
451 memory resource leak when allocating space for ctf option values.
452 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
453 variable.
454
84dc5f0b
NC
4552020-07-21 Nick Clifton <nickc@redhat.com>
456
457 * po/sv.po: Updated Swedish translation.
458
570b0ed6
CZ
4592020-07-14 Claudiu Zissulescu <claziss@gmail.com>
460
461 * testsuite/binutils-all/arc/double_regs.s: New test.
462 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
463
0a5c31d1
NC
4642020-07-13 Nick Clifton <nickc@redhat.com>
465
466 * po/fr.po: Updated French translation.
467
7a34d0ea
AM
4682020-07-13 Alan Modra <amodra@gmail.com>
469
470 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
471 optional machine-os arg.
472
a308b89d
L
4732020-07-11 H.J. Lu <hongjiu.lu@intel.com>
474
475 * readelf.c (decode_x86_feature_2): Handle
476 GNU_PROPERTY_X86_FEATURE_2_TMM.
477
af2b3186
TV
4782020-07-10 Tom de Vries <tdevries@suse.de>
479
480 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
481 information in the end_sequence row.
482 * testsuite/binutils-all/dw5.W: Update.
483 * testsuite/binutils-all/objdump.WL: Update.
484
fe49679d
AM
4852020-07-09 Alan Modra <amodra@gmail.com>
486
487 * dlltool.c: Remove powerpc PE support and comments.
488 * configure.ac: Remove powerpc PE dlltool config.
489 * configure: Regenerate.
490
d90171de
NC
4912020-07-09 Nick Clifton <nickc@redhat.com>
492
493 * rclex.c: Add OWNERDRAW keyword.
494 * rcparse.y: Add OWNERDRAW token.
495 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
496 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
497 BITMAP flags.
498 * windres.c (extended_menuitems): Likewise.
499 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
500
e3fdc001
AM
5012020-07-09 Alan Modra <amodra@gmail.com>
502
503 * readelf (slurp_hppa_unwind_table): Set table_len before use
504 in relocation sanity checks.
505
5a2296ac
AM
5062020-07-07 Alan Modra <amodra@gmail.com>
507
508 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
509 * testsuite/binutils-all/nm.exp: Likewise.
510 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
511 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
512 * testsuite/binutils-all/set-section-alignment.d: Likewise.
513 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
514
efd0ed58
AM
5152020-07-07 Alan Modra <amodra@gmail.com>
516
517 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
518 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
519
17550be7
NC
5202020-07-06 Nick Clifton <nickc@redhat.com>
521
522 * po/bg.po: Updated Bulgarian translation.
523 * po/pt.po: Updated Portuguese translation.
524 * po/uk.po: Updated Ukranian translation.
525
ddb43bab
AM
5262020-07-06 Alan Modra <amodra@gmail.com>
527
528 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
529 find string length.
530
b19d852d
NC
5312020-07-04 Nick Clifton <nickc@redhat.com>
532
533 * configure: Regenerate.
534 * po/binutils.pot: Regenerate.
535
b115b9fd
NC
5362020-07-04 Nick Clifton <nickc@redhat.com>
537
538 Binutils 2.35 branch created.
539
0942c7ab
NC
5402020-07-02 Nick Clifton <nickc@redhat.com>
541
542 PR 26028
543 * readelf.c (print_symbol): Handle truncation of symbol names.
544 (options): Add -T/--silent-truncation option.
545 (parse_args): Handle the option.
546 (print_dynamic_symbol): Correct calculation of width available to
547 display symbol name.
548 * doc/binutils.texi: Document the -T option to readelf.
549 * NEWS: Mention the new feature.
550
bbd19b19
L
5512020-06-30 H.J. Lu <hongjiu.lu@intel.com>
552
553 * NEWS: Mention x86 NaCl target support removal.
554 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
555 x86 NaCl target support.
556 * testsuite/binutils-all/elfedit-1.d: Likewise.
557 * testsuite/binutils-all/i386/i386.exp: Likewise.
558 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
559 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
560 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
561 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
562 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
563 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
564 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
565 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
566 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
567 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
568 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
569 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
570
5568cc9e
NC
5712020-06-30 Nick Clifton <nickc@redhat.com>
572
573 * dwarf.c (read_and_display_attr_value): Support
574 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
575 DW_AT_comp_dir.
576
d74b88ed
AM
5772020-06-30 Alan Modra <amodra@gmail.com>
578
579 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
580 xfail for nds32.
581
9f27c364
HPN
5822020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
583
584 * dwarf.c (display_debug_str_offsets): Rename local variable
585 index to idx. Move to top of function.
586
279edac5
AM
5872020-06-29 Alan Modra <amodra@gmail.com>
588
589 * dwarf.c: Use C style comments.
590 * resrc.c: Likewise.
591
cfc16775
AM
5922020-06-27 Alan Modra <amodra@gmail.com>
593
594 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
595 after freeing.
596 (release_archive): Set fields of arch to NULL after freeing.
597
2f6ecaed
NA
5982020-06-26 Nick Alcock <nick.alcock@oracle.com>
599
600 * readelf.c (dump_section_as_ctf): Support .ctf archives using
601 ctf_arc_bufopen. Automatically load the .ctf member of such
602 archives as the parent of all other members, unless specifically
603 overridden via --ctf-parent. Split out dumping code into...
604 (dump_ctf_archive_member): ... here, as in objdump, and call
605 it once per archive member.
606 (dump_ctf_indent_lines): Code style fix.
607
094e34f2
NA
6082020-06-26 Nick Alcock <nick.alcock@oracle.com>
609
610 * configure.ac [--enable-libctf]: New, default yes.
611 Set ENABLE_LIBCTF accordingly.
612 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
613 * configure: Regenerate.
614 * config.in: Regenerate.
615 * Makefile.in: Regenerate.
616 * aclocal.m4: Regenerate.
617 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
618 (option_values): Likewise.
619 (long_options): Likewise.
620 (main): Likewise.
621 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
622 (make_ctfsect): Likewise.
623 (dump_ctf_archive_member): Likewise.
624 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
625 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
626 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
627 (usage): Likewise.
628 (process_section_contents): Likewise.
629 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
630 (dump_ctf_indent_lines): Likewise.
631 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
632
2a1bb84c
JB
6332020-06-26 Jan Beulich <jbeulich@suse.com>
634
635 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
636 redundant text from x86 specific part of -M section.
637
85f7484a
PB
6382020-06-26 Pat Bernardi <bernardi@adacore.com>
639
640 * readelf.c (display_m68k_gnu_attribute): New function.
641 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
642
d0dded5b
L
6432020-06-23 H.J. Lu <hongjiu.lu@intel.com>
644
645 PR binutils/26160
646 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
647 * testsuite/binutils-all/pr26160.r: Likewise.
648 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
649
39f381cb
NC
6502020-06-23 Nick Clifton <nickc@redhat.com>
651
652 PR 26160
653 * dwarf.c (fetch_indexed_string): Detect and handle old style
654 .debug_str_offset tables.
655 (display_debug_str_offsets): Likewise. Also add support for
656 .debug_str_offsets.dwo sections.
657
80fda85c
L
6582020-06-23 H.J. Lu <hongjiu.lu@intel.com>
659
660 PR binutils/26112
661 * testsuite/binutils-all/pr26112.o.bz2: New file.
662 * testsuite/binutils-all/pr26112.r: Likewise.
663 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
664
d081ffff
AM
6652020-06-23 Alan Modra <amodra@gmail.com>
666
667 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
668 remote_file delete command.
669
e4b7104b
NC
6702020-06-22 Nick Clifton <nickc@redhat.com>
671
672 PR 26112
673 * dwarf.c (display_debug_str_offsets): Add code to display the
674 contents of the .debug_str_offsets section.
675 (display_debug_macro): Add support for DW_MACRO_define_strx and
676 DW_MACRO_undef_strx.
677
d768f160
SJ
6782020-06-22 Saagar Jha <saagar@saagarjha.com>
679
680 * od-macho.c: Dump linkedit data for new load commands.
681
5fd104ad
AM
6822020-06-19 Alan Modra <amodra@gmail.com>
683
684 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
685 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
686 (run_dump_test): Use check_relro_support to decide whether to pass
687 extra ld option "-z norelro".
688
fd17d1e6
AM
6892020-06-11 Alan Modra <amodra@gmail.com>
690
691 * readelf.c (process_mips_specific): Don't alloc memory for
692 Elf_Internal_Options.
693
d0c4e780
AM
6942020-06-11 Alan Modra <amodra@gmail.com>
695
696 * readelf.c (process_mips_specific): Assert size of internal
697 types match size of external types, and simplify allocation of
698 internal buffer. Catch possible integer overflow when sanity
699 checking option size. Don't assume options are a regular array.
700 Sanity check reginfo option against option size. Use PRI macros
701 when printing.
702
25065fcd
RH
7032020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
704
705 PR 26082
706 * mclex.c (yylex): Reject lines that reach end-of-file without a
707 terminating newline character.
708
b37a7714
NC
7092020-06-08 Nick Clifton <nickc@redhat.com>
710
711 PR 26093
712 * doc/binutils.texi (strings): Fix typo.
713
c4b2f181
NC
7142020-06-08 Nick Clifton <nickc@redhat.com>
715
716 PR 26086
717 * dwarf.c (process_debug_info): Check that there is space in the
718 debug_information array before filling in an entry.
719
1424c35d
AM
7202020-06-06 Alan Modra <amodra@gmail.com>
721
722 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
723
8affa48a
JA
7242020-06-05 Joel Anderson <joelanderson333@gmail.com>
725
726 PR 26082
727 * mclex.c (yylex): Add test for an empty input stream.
728
8eca5c7d
SC
7292020-06-04 Stephen Casner <casner@acm.org>
730
731 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
732 for test using section pseudo-ops compatible with pdp11.
733 * testsuite/binutils-all/objcopy.exp: Select alternate source.
734
b3db6d07
JM
7352020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
736
737 * objdump.c (disassemble_data): Set disasm_info.endian_code to
738 disasm_info.endian after the latter is initialized to the
739 endianness reported by BFD.
740
0a4f37af
AM
7412020-06-04 Alan Modra <amodra@gmail.com>
742
743 * testsuite/binutils-all/i386/i386.exp: Remove global directive
744 outside proc body.
745 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
746 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
747
913e0fd4
JA
7482020-06-03 Joel Anderson <joelanderson333@gmail.com>
749
750 * windmc.h (struct mc_node): Add id_typecast field.
751 * mcparse.y (message): Initialise the id_typecast field.
752 * windmc.c (write_dbg): Use the id_typecast field as a parameter
753 when calling write_dbg_define.
754 (write_header): Likewise.
755
4a322448
AM
7562020-06-03 Alan Modra <amodra@gmail.com>
757
758 PR 26069
759 * objcopy.c (copy_relocations_in_section): Free relpp on error.
760 Don't accidentally free isection->orelocation.
761
0bee4d1c
AM
7622020-06-02 Alan Modra <amodra@gmail.com>
763
764 * testsuite/binutils-all/ar.exp (obj): Set up object file name
765 extension. Use throughout. Don't completely exclude non-ELF
766 alpha targets. Run long_filenames test for tic30. Exclude thin
767 archive tests for aix, ecoff and vms.
768 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
769 extension. Use throughout. Don't exclude non-ELF alpha targets
770 from "bintest.a".
771
ab7ad287
MF
7722020-05-28 Max Filippov <jcmvbkbc@gmail.com>
773
774 * MAINTAINERS (Xtensa): Add myself as maintainer.
775
3f3c3608
AM
7762020-05-23 Alan Modra <amodra@gmail.com>
777
778 * testsuite/binutils-all/ar.exp (many_files): New test.
779
9db70fc3
AM
7802020-05-21 Alan Modra <amodra@gmail.com>
781
782 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
783 * dlltool.c: Likewise.
784 * elfcomm.c: Likewise.
785 * rddbg.c: Likewise.
786 * readelf.c: Likewise.
787 * stabs.c: Likewise.
788 * windmc.c: Likewise.
789 * windres.c: Likewise.
790 * wrstabs.c: Likewise.
791
c31ab5a0
AM
7922020-05-21 Alan Modra <amodra@gmail.com>
793
794 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
795 access.
796
8f595e9b
NC
7972020-05-20 Nelson Chu <nelson.chu@sifive.com>
798
799 * dwarf.c: Updated since DECLARE_CSR is changed.
800
8ac10c5b
L
8012020-05-19 H.J. Lu <hjl.tools@gmail.com>
802
803 PR binutils/25809
804 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
805 segment doesn't match the .dynamic section and checks are
806 enabled.
807 (struct filedata): Add dynamic_symtab_section and
808 dynamic_strtab_section fields.
809 (process_section_headers): Set dynamic_symtab_section to the
810 .dynsym section. Set dynamic_strtab_section to the .dynstr
811 section.
812 (process_dynamic_section): Warn if the .dynsym section doesn't
813 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
814 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
815
c177f377
AM
8162020-05-19 Alan Modra <amodra@gmail.com>
817
818 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
819 (replace_members): Use bfd_get_filename rather than accessing
820 bfd->filename directly.
821 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
822 * binemul.c (do_ar_emul_append): Likewise.
823 * coffgrok.c (coff_grok): Likewise.
824
83d27139
SH
8252020-05-18 Stafford Horne <shorne@gmail.com>
826
827 * MAINTAINERS (OR1K): Add myself as maintainer.
828
d11a9fab
AB
8292020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
830
831 * doc/binutils.texi: Mention 'entry address' in the set-start and
832 adjust-start options descriptions.
833
546cb2d8
NC
8342020-05-05 Nick Clifton <nickc@redhat.com>
835
836 * dwarf.c (do_checks): New global variable.
837 (display_formatted_table): Warn about an unexpected number of
838 columns in the table, if checks are enabled. Do not complain
839 about the lack of data following the number of entries in the
840 table if the table is empty.
841 (display_debug_lines_decoded): Only warn about an unexpected
842 number of columns in a table if checks are enabled.
843 * dwarf.h (do_checks): Add a prototype.
844 * elfcomm.c (error): Remove weak attribute.
845 (warn): Likewise.
846 * readelf.c (do_checks): Delete.
847 (warn): Delete.
848 (process_section_headers): Only warn about empty sections if
849 checks are enabled.
850
e052e2ba
FS
8512020-05-04 Fangrui Song <maskray@google.com>
852
853 * objcopy.c (copy_object): Allow empty section.
854 * testsuite/binutils-all/update-section.exp: Add test.
855
070b775f
NC
8562020-05-04 Nick Clifton <nickc@redhat.com>
857
858 PR 25917
859 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
860 supicious number of entries for DWARF-5 format directory and file
861 name tables. Do not display file name table header if the table
862 is empty. Do not allocate space for empty tables.
863
9c7b8e9b
AM
8642020-05-04 Alan Modra <amodra@gmail.com>
865
866 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
867 section. Don't assume endian of host matches nds32 target. Free
868 buffer.
869
60832332
AM
8702020-05-01 Alan Modra <amodra@gmail.com>
871 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
872
873 * objdump.c (disassemble_bytes): Don't scan for zeros when
874 disassembling zeros. Translate "resuming at file offset" message.
875 Formatting. Replace some signed variables with unsigned.
876
09c1e68a
AC
8772020-04-30 Alex Coplan <alex.coplan@arm.com>
878
879 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
880 disassembly.
881 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
882
8a8a1171
NC
8832020-04-30 Nick Clifton <nickc@redhat.com>
884
885 * testsuite/lib/binutils-common.exp (check_pie_support): New
886 proc.
887
cb4c35cf
AB
8882020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
889
890 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
891 range_entries for the same offset.
892
1b513401
NC
8932020-04-29 Nick Clifton <nickc@redhat.com>
894
895 * readelf.c (warn): New function - like elfcomm.c version but only
896 produces output if warnings are enabled.
897 (struct options): Add --lint and --enable-checks.
898 (usage): Add entry for --lint.
899 (parse_args): Handle -L. If checks are enabled but no dumps have
900 been selected then enable all dumps.
901 (process_section_headers): Replace long if-then-else sequence with
902 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
903 SHT_PROGBITS sections.
904 (process_file): Do not complain if the file is an archive and lint
905 mode has been enabled.
906 * elfcomm.c (error): Make the function weak.
907 (warn): Likewise.
908 * NEWS: Mention the new feature.
909 * doc/binutils.texi: Document the new feature.
910 * dwarf.h (report_leb_status): Add file name and line number
911 parameters. Include them in the diagnostic output.
912 (READ_ULEB): Pass file and line number to report_leb_status.
913 (READ_SLEB): Likewise.
914 * dwarf.c (read_and_print_leb128): Pass file and line number to
915 report_leb_status.
916 * testsuite/binutils-all/readelf.exp: Add test of new feature.
917 * testsuite/binutils-all/zero-sec.s: New test source file.
918 * testsuite/binutils-all/zero-sec.r: Expected output from new
919 test.
920
c2e71e57
NC
9212020-04-29 Nick Clifton <nickc@redhat.com>
922
923 * po/sr.po: Updated Serbian translation.
924
90837ea7
AM
9252020-04-26 Alan Modra <amodra@gmail.com>
926
927 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
928 read before dereferencing, and gracefully return. Remove
929 gnu_hash_error variable. Free gnu hash arrays if number of
930 syms found is zero.
931
2482f306
AM
9322020-04-24 Alan Modra <amodra@gmail.com>
933
934 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
935 non-zero.
936 (process_dynamic_section): Call get_num_dynamic_syms once rather
937 than in segment loop. Break out of segment loop on a successful
938 load of dynamic symbols. Formatting.
939 (process_object): Return error status from process_dynamic_section.
940
27456742
AK
9412020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
942
943 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
944 * elf.c (elfcore_grok_arc_v2): New function.
945 (elfcore_grok_note): Call the new function to handle the corresponding
946 note.
947 (elfcore_write_arc_v2): New function.
948 (elfcore_write_register_note): Call the new function to handle the
949 corresponding pseudo-sections.
950
30ce8e47
MF
9512020-04-22 Max Filippov <jcmvbkbc@gmail.com>
952
953 PR ld/25861
954 * readelf.c (is_none_reloc): Recognize
955 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
956 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
957
33b5a830
NC
9582020-04-22 Nick Clifton <nickc@redhat.com>
959
960 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
961
978c4450
AM
9622020-04-22 Alan Modra <amodra@gmail.com>
963
964 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
965 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
966 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
967 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
968 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
969 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
970 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
971 (dynamic_section, symtab_shndx_list, group_count, section_groups),
972 (section_headers_groups): Move to struct filedata. Update use
973 throughout file.
974
6431e409
AM
9752020-04-22 Alan Modra <amodra@gmail.com>
976
977 * readelf.c (struct dump_data): New, used..
978 (cmdline): ..here, and..
979 (struct filedata): ..here. Adjust all uses.
980 (request_dump_bynumber, request_dump, parse_args): Pass in a
981 struct dump_data* rather than Filedata*. Adjust callers.
982 (main): Don't set cmdline.file_name.
983
a5e0be5c
AM
9842020-04-20 Alan Modra <amodra@gmail.com>
985
986 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
987 and nbuckets.
988
8ff66993
AM
9892020-04-20 Alan Modra <amodra@gmail.com>
990
991 * readelf.c (process_section_headers): Free dynamic symbols etc.
992 earlier.
993
ceb9bf11
AM
9942020-04-20 Alan Modra <amodra@gmail.com>
995
996 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
997 on error without freeing.
998 (process_dynamic_section): Don't recreate dynamic symbols from
999 dynamic tag info when the dynamic symbols have already been
1000 read via section headers.
1001
e409955d
FS
10022020-04-17 Fredrik Strupe <fredrik@strupe.net>
1003
1004 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
1005 conditional VDUP instructions are disassembled correctly.
1006 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1007 vdup-cond.d.
1008 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
1009 that VDUP instructions (which are conditional in A32) can be
1010 disassembled in thumb mode.
1011 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
1012 vdup-thumb.d.
1013
ca3f923f
AM
10142020-04-17 Alan Modra <amodra@gmail.com>
1015
1016 PR 25840
1017 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
1018
937f6614
AM
10192020-04-16 Alan Modra <amodra@gmail.com>
1020
1021 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
1022 --no-addresses description.
1023
b1bc1394
AM
10242020-04-15 Alan Modra <amodra@gmail.com>
1025
1026 * objdump.c (no_addresses): New static var.
1027 (usage): Print help for --no-addresses.
1028 (long_options): Add --no-addresses entry.
1029 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
1030 (disassemble_bytes): Don't print current line address, or reloc
1031 address.
1032 * doc/binutils.texi: Document objdump --no-addresses.
1033
001890e1
AM
10342020-04-15 Alan Modra <amodra@gmail.com>
1035
1036 PR 25822
1037 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
1038 reading buckets or chains fails.
1039
b71d4fa7
AM
10402020-04-15 Alan Modra <amodra@gmail.com>
1041
1042 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
1043 etc. after freeing.
1044
89246a0e
AM
10452020-04-15 Alan Modra <amodra@gmail.com>
1046
1047 * readelf.c (get_group_flags): Translate text.
1048 (get_file_type, get_symbol_binding, get_symbol_type),
1049 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
1050
c98a4545
AM
10512020-04-15 Alan Modra <amodra@gmail.com>
1052
1053 PR 25821
1054 * readelf.c (get_num_dynamic_syms): Typo fix.
1055
645f43a8
AM
10562020-04-14 Alan Modra <amodra@gmail.com>
1057
1058 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
1059 possibility of overflow when checking number of conflicts.
1060
10ca4b04
L
10612020-04-14 H.J. Lu <hongjiu.lu@intel.com>
1062
1063 PR binutils/25707
1064 * readelf.c (nbuckets): New.
1065 (nchains): Likewise.
1066 (buckets): Likewise.
1067 (chains): Likewise.
1068 (ngnubuckets): Likewise.
1069 (gnubuckets): Likewise.
1070 (gnuchains): Likewise.
1071 (mipsxlat): Likewise.
1072 (ngnuchains): Likewise.
1073 (gnusymidx): Likewise.
1074 (VALID_SYMBOL_NAME): Likewise.
1075 (VALID_DYNAMIC_NAME): Use it.
1076 (get_dynamic_data): Moved before process_dynamic_section.
1077 (get_num_dynamic_syms): New function.
1078 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
1079 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
1080 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
1081 table.
1082 (get_symbol_index_type): Don't print "bad section index" when
1083 there is no section header.
1084 (print_dynamic_symbol): Rewrite.
1085 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
1086 symbol table.
1087
bb897477
RO
10882020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1089
1090 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
1091 enable on *-*-solaris*.
1092
00386881
NC
10932020-03-30 Nick Clifton <nickc@redhat.com>
1094
1095 PR binutils/25662
1096 * objcopy.c (copy_object): When copying PE format files set the
1097 timestamp field in the pe_data structure if the preserve_dates
1098 flag is set.
1099 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
1100 --preserve-dates in place of the -p option, in order to make its
1101 effect more obvious.
1102
0a6a8b59
AM
11032020-03-28 Alan Modra <amodra@gmail.com>
1104
1105 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
1106 clear_xfail hppa*-*-*elf*. Revert mips xfails.
1107
6a81c59b
AM
11082020-03-28 Alan Modra <amodra@gmail.com>
1109
1110 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
1111 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
1112 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
1113 test. Pass "-p" to objcopy for the executable test.
1114
1fafefd5
JL
11152020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1116
1117 PR binutils/25662
1118 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
1119 specify whether an object file or executable should be built and tested.
1120 Change test names to report whether an object file or executable is
1121 being tested.
1122 * testsuite/binutils-all/pr25662.ld: New test.
1123 * testsuite/binutils-all/pr25662.s: New test.
1124
80e2a3b6
AM
11252020-03-27 Alan Modra <amodra@gmail.com>
1126
1127 * readelf.c (process_archive): Don't double free qualified_name.
1128 Don't break out of loop with "negative" archive_file_size, just
1129 set file offset to max.
1130
4c836627
AM
11312020-03-25 Alan Modra <amodra@gmail.com>
1132
1133 * readelf.c (process_archive): Prevent endless loop.
1134
1081065c
L
11352020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1136
1137 PR binutils/25708
1138 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
1139 with bfd_get_symbol_version_string.
1140 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
1141 * objdump.c (objdump_print_symname): Likewise.
1142
7e6e972f
L
11432020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 PR binutils/25708
1146 * nm.c (SYM_NAME): Removed.
1147 (print_symname): Add a pointer to struct extended_symbol_info
1148 argument. Call _bfd_elf_get_symbol_version_name to get symbol
1149 version.
1150 (print_symdef_entry): Pass NULL to print_symname.
1151 (print_symbol_info_bsd): Update call to print_symname.
1152 (print_symbol_info_sysv): Likewise.
1153 (print_symbol_info_posix): Likewise.
1154
5a814d6d
AM
11552020-03-24 Alan Modra <amodra@gmail.com>
1156
1157 * readelf.c (process_mips_specific): Free iconf on error path.
1158
0636b245
NC
11592020-03-23 Nick Clifton <nickc@redhat.com>
1160
1161 PR 25714
1162 * wrstabs.c (stab_pop_type): Replace assertion with error return.
1163 * write_stabs_in_sections_debugging_info: Likewise.
1164 * stab_enum_type: Likewise.
1165 * stab_modify_type: Likewise.
1166 * stab_struct_field: Likewise.
1167 * stab_end_struct_type: Likewise.
1168 * stab_start_class_type: Likewise.
1169 * stab_class_static_member: Likewise.
1170 * stab_class_baseclass: Likewise.
1171 * stab_class_start_method: Likewise.
1172 * stab_class_method_var: Likewise.
1173 * stab_class_end_method: Likewise.
1174 * stab_end_class_type: Likewise.
1175 * stab_typedef_type: Likewise.
1176 * stab_start_function: Likewise.
1177 * stab_end_block: Likewise.
1178 * stab_lineno: Likewise.
1179
5844b465
NC
11802020-03-20 Nick Clifton <nickc@redhat.com>
1181
1182 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
1183 (process_section_headers): Check the return value from
1184 get_compression_header.
1185 (dump_section_as_strings): Likewise.
1186 (dump_section_as_bytes): Likewise.
1187 (load_specific_debug_section): Likewise.
1188
3d98c460
L
11892020-03-20 H.J. Lu <hongjiu.lu@intel.com>
1190
1191 * ar.c (main): Update bfd_plugin_set_program_name call.
1192 * nm.c (main): Likewise.
1193
f3a08f77
NC
11942020-03-19 Nick Clifton <nickc@redhat.com>
1195
1196 PR 25676
1197 * testsuite/binutils-all/dw4.s: New test source file.
1198 * testsuite/binutils-all/nm.exp: Run the new test.
1199
ef3df110
L
12002020-03-19 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 * readelf.c (process_symbol_table): Use unsigned long for si.
1203
81a65eb3
AM
12042020-03-19 Alan Modra <amodra@gmail.com>
1205
1206 * elfcomm.c: Don't include bfd.h or bucomm.h.
1207 (program_name): Declare.
1208 (process_archive_index_and_symbols): Replace bfd_boolean with int,
1209 and substitute FALSE and TRUE.
1210 (setup_archive, setup_nested_archive): Likewise.
1211 * elfcomm.h: Likewise.
1212
1cb7d8b1
AM
12132020-03-19 Alan Modra <amodra@gmail.com>
1214
1215 * readelf.c (process_archive): Always return via path freeing
1216 memory. Formatting.
1217
b966f55f
AM
12182020-03-19 Alan Modra <amodra@gmail.com>
1219
1220 * readelf.c (process_netbsd_elf_note): Validate descsz before
1221 accessing descdata. Formatting.
1222
645ba681
AM
12232020-03-19 Alan Modra <amodra@gmail.com>
1224
1225 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
1226 * elfcomm.h (setup_archive): Update prototype.
1227
28d13567
AM
12282020-03-16 Alan Modra <amodra@gmail.com>
1229
1230 * readelf.c (get_symbols): New function.
1231 (process_relocs, ia64_process_unwind, hppa_process_unwind),
1232 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
1233
60e63c3e
AM
12342020-03-16 Alan Modra <amodra@gmail.com>
1235
1236 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
1237 Detect shift overflows and check that terminating byte is found.
1238 Print an error on a bad uleb128.
1239
1bd6175a
AM
12402020-03-14 Alan Modra <amodra@gmail.com>
1241
1242 * readelf.c (process_file): Clean ba_cache.
1243
780f96ae
AM
12442020-03-14 Alan Modra <amodra@gmail.com>
1245
1246 * elfcomm.h (setup_archive): Update prototype.
1247 * elfcomm.c (setup_archive): Add file_size parameter and sanity
1248 check longnames_size.
1249 (setup_nested_archive): Get file size and pass to setup_archive.
1250 * elfedit.c (process_archive): Likewise.
1251 * readelf.c (process_archive): Pass filedata->file_size to
1252 setup_archive.
1253
f761cb13
AM
12542020-03-14 Alan Modra <amodra@gmail.com>
1255
1256 * readelf.c (dump_section_as_strings): Free memory on error exit.
1257 (dump_section_as_bytes, process_notes_at): Likewise.
1258 (get_build_id): Free enote.
1259
06d949ec
KR
12602020-03-13 Kamil Rytarowski <n54@gmx.com>
1261
1262 * readelf.c (get_netbsd_elfcore_note_type): Add support for
1263 NT_NETBSDCORE_LWPSTATUS notes.
1264
fd486f32
AM
12652020-03-13 Alan Modra <amodra@gmail.com>
1266
1267 * elfcomm.c (get_archive_member_name): Always return malloc'd
1268 string or NULL.
1269 * elfedit.c (process_archive): Tidy memory on all return paths.
1270 * readelf.c (process_archive): Likewise.
1271 (process_symbol_table): Likewise.
1272 (ba_cache): New, replacing ..
1273 (get_symbol_for_build_attribute): ..static vars here. Free
1274 strtab and symtab before loading new ones. Reject symtab without
1275 valid strtab in loop, breaking out of loop on valid symtab.
1276 (process_file): Free ba_cache symtab and strtab here, resetting
1277 ba_cache.
1278
8fb879cd
AM
12792020-03-12 Alan Modra <amodra@gmail.com>
1280
1281 * readelf.c (process_section_headers): Don't just set
1282 filedata->section_headers NULL, free it first. Similarly for
1283 dynamic_symbols, dynamic_strings, dynamic_syminfo and
1284 symtab_shndx_list. Zero associated counts too.
1285 (process_object): Free symtab_shndx_list.
1286 (process_file): Free various allocated filedata tables.
1287
5496f3c6
NC
12882020-03-11 Nick Clifton <nickc@redhat.com>
1289
1290 PR 25611
1291 PR 25614
1292 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
1293 li_segment_size fields.
1294 * dwarf.c (read_debug_line_header): Record the address size and
1295 segment selector size values (if present) in the lineinfo
1296 structure.
1297 (display_formatted_table): Warn if the format count is empty but
1298 the table itself is not empty.
1299 Display the format count and entry count at the start of the table
1300 dump.
1301 (display_debug_lines_raw): Display the address size and segement
1302 selector size fields, if present.
1303 * testsuite/binutils-all/dw5.W: Update expected output.
1304
9cc89dc0
AM
13052020-03-11 Alan Modra <amodra@gmail.com>
1306
1307 PR 25651
1308 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
1309 pad_to_set on second block of code dealing with padding.
1310 Replace "c" with "num_sec" and don't recalculate number of
1311 sections on second block. Size arrays using sizeof (element)
1312 rather than sizeof (element type).
1313
41da0822
AM
13142020-03-10 Alan Modra <amodra@gmail.com>
1315
1316 * objdump.c (disassemble_section): Don't call qsort unless
1317 sym count is at least two.
1318 (disassemble_data): Don't call memcpy with NULL src.
1319
95099889
AM
13202020-03-09 Alan Modra <amodra@gmail.com>
1321
1322 PR 25645
1323 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
1324 to get_data rather than multiplying.
1325 (dump_ia64_vms_dynamic_relocs): Likewise.
1326 (process_version_sections): Correct order of size and nmemb args
1327 in get_data call.
1328 (process_mips_specific): Likewise.
1329
a15de1f5
L
13302020-03-08 H.J. Lu <hongjiu.lu@intel.com>
1331
1332 * readelf.c (get_dynamic_data): Replace "memory chekers" with
1333 "memory checkers" in comments.
1334
9979ab66
SM
13352020-03-06 Simon Marchi <simon.marchi@efficios.com>
1336
1337 PR 25491
1338 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
1339 * doc/Makefile.in: Re-generate.
1340
a0dcf297
NC
13412020-03-06 Nick Clifton <nickc@redhat.com>
1342
1343 * objcopy.c (check_new_section_flags): New function. Reject the
1344 SEC_COFF_SHARED flag if the target is not a COFF binary.
1345 (copy_object): Call check_new_section_flags.
1346 (setup_section): Likewise.
1347 * doc/binutils.texi (objcopy): Add a note that the 'share' section
1348 flag cannot be applied to ELF binaries.
1349
a9b90127
AM
13502020-03-06 Alan Modra <amodra@gmail.com>
1351
1352 PR 25637
1353 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
1354
d1faf7ca
AM
13552020-03-05 Alan Modra <amodra@gmail.com>
1356
1357 PR 25629
1358 * objcopy.c (filter_symbols): Don't segfault on NULL
1359 prefix_symbols_string.
1360
eef64366
CE
13612020-03-04 Christian Eggers <ceggers@gmx.de>
1362
1363 * objcopy.c (copy_object): Convert from bytes to octets for
1364 --gap-fill and --pad-to.
1365
5be2b2f5
NC
13662020-03-03 Nick Clifton <nickc@redhat.com>
1367
1368 PR 25625
1369 * prdbg.c (pr_tag_type): Remove call to abort.
1370
b312fea1
AM
13712020-03-02 Aaron Merey <amerey@redhat.com>
1372
1373 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
1374 selection.
1375
ba3265d0
NC
13762020-03-02 Nick Clifton <nickc@redhat.com>
1377
1378 PR 25543
1379 * readelf.c (dump_section_as_strings): Display new-line characters
1380 as \n and then insert a line break.
1381 * testsuite/binutils-all/pr25543.s: New test.
1382 * testsuite/binutils-all/pr25543.d: Test driver.
1383 * testsuite/binutils-all/readelf.exp: Run the new test.
1384
736990c4
NC
13852020-02-27 Nick Clifton <nickc@redhat.com>
1386
1387 PR 25526
1388 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
1389 get_data is unable to load the string table.
1390
dc1e8a47
AM
13912020-02-26 Alan Modra <amodra@gmail.com>
1392
1393 * elfedit.c: Indent labels correctly.
1394 * readelf.c: Likewise.
1395 * resres.c: Likewise.
1396
ecda9016
L
13972020-02-25 H.J. Lu <hongjiu.lu@intel.com>
1398
1399 PR binutils/25584
1400 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
1401 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
1402
83d4d556
NC
14032020-02-24 Nick Clifton <nickc@redhat.com>
1404
1405 PR 25499
1406 * doc/binutils.texi (objdump): Fix typo in description of
1407 objdump's -g option.
1408
bd0cf5a6
NC
14092020-02-20 Nelson Chu <nelson.chu@sifive.com>
1410
1411 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
1412 is changed.
1413
741cb839
EC
14142020-02-19 Jordan Rupprecht <rupprecht@google.com>
1415
1416 * objdump.c (show_line): call bfd_demangle when using do_demangle.
1417
9f1528a1
AB
14182020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1419
1420 * configure: Regenerate.
1421
3a5d12fb
FS
14222020-02-10 Fangrui Song <maskray@google.com>
1423
1424 * objcopy.c (parse_flags): Handle "exclude".
1425 * doc/binutils.texi: Document the support.
1426
678d457f
AM
14272020-02-10 Aaron Merey <amerey@redhat.com>
1428
1429 * binutils/testsuite/binutils-all/debuginfod.exp:
1430 Replace set ::env with setenv.
46471187
AM
1431 Start server before setting environment variable.
1432 Specify tmpdir as the location of the server's
1433 database.
1434 Check additional server metrics at start-up.
678d457f 1435
e8319fde
NC
14362020-02-07 Nick Clifton <nickc@redhat.com>
1437
1438 * README-how-to-make-a-release: Add note about updating the
1439 GAS/NEWS URL in the next release.
1440
9fc0b501
SB
14412020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1442
1443 PR 25469
1444 * readelf.c (get_machine_flags): Add support for Z80N machine
1445 number.
1446
e1104d08
NC
14472020-02-07 Nick Clifton <nickc@redhat.com>
1448
1449 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1450 of the truncated file name.
1451
c2e6f744 14522020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
1453
1454 * objdump.c (print_jump_visualisation): New function.
1455 (disassemble_bytes): Call new function.
1456
02e0be69
AM
14572020-02-06 Alan Modra <amodra@gmail.com>
1458
1459 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1460 TCL procedure.
1461 (supports_gnu_osabi): New procedure.
1462 (is_generic): New, from ld-lib.exp.
1463 (supports_gnu_unique): Use the above.
1464
e8b79122
AM
14652020-02-04 Alan Modra <amodra@gmail.com>
1466
1467 * Makefile.am (CFILES): Add od-elf32_avr.c.
1468 * Makefile.in: Regenerate.
1469 * po/POTFILES.in: Regenerate.
1470
27a45f42
AS
14712020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1472
1473 * readelf.c (dump_relocations, dump_relocations)
1474 (decode_arm_unwind_bytecode, process_dynamic_section)
1475 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1476 error message.
1477
0b398d69
ST
14782020-02-03 Sergei Trofimovich <siarheit@google.com>
1479
1480 * coffdump.c (program_name): Drop redundant definition.
1481 * srconv.c (program_name): Likewise
1482 * sysdump.c (program_name): Likewise
1483
a8c4d40b
L
14842020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1485
1486 PR gas/25380
1487 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1488 same file with different section pointers.
1489
cb6ad9bb
NC
14902020-02-01 Nick Clifton <nickc@redhat.com>
1491
1492 * README-how-to-make-a-release: Update with more details on the
1493 release making process.
1494
53943f32
NC
14952020-01-31 Nick Clifton <nickc@redhat.com>
1496
1497 * po/sv.po: Updated Swedish translation.
1498
55be8fd0
NC
14992020-01-28 Nick Clifton <nickc@redhat.com>
1500
1501 * readelf.c (get_build_id): Simplify warning message about corrupt
1502 notes encountered whilst scanning for the build-id.
1503
82ef9cad
RM
15042020-01-27 Roland McGrath <mcgrathr@google.com>
1505
1506 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1507 for overlapping ranges so that (A == B) == (B == A) holds.
1508
e3696f67
AM
15092020-01-27 Alan Modra <amodra@gmail.com>
1510
1511 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1512 case statement with switch statement.
1513
2f796de6
NC
15142020-01-24 Nick Clifton <nickc@redhat.com>
1515
1516 * readelf.c (get_build_id): Fix warning messages about corrupt
1517 notes.
1518
24e648d4
NC
15192020-01-23 Nick Clifton <nickc@redhat.com>
1520
1521 * po/fr.po: Updated French translation.
1522
c48acf6f
YC
15232020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1524
1525 PR 25417
1526 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1527
26916852
NC
15282020-01-20 Nick Clifton <nickc@redhat.com>
1529
1530 * po/pt.po: Updated Portuguese translation.
1531 * po/uk.po: Updated Ukranian translation.
1532
b248e9ce
NC
15332020-01-18 Nick Clifton <nickc@redhat.com>
1534
1535 * README-how-to-make-a-release: Update notes on how to cut a
1536 branch for a release.
1537
1b1bb2c6
NC
15382020-01-18 Nick Clifton <nickc@redhat.com>
1539
1540 * configure: Regenerate.
1541 * po/binutils.pot: Regenerate.
1542
ae774686
NC
15432020-01-18 Nick Clifton <nickc@redhat.com>
1544
1545 Binutils 2.34 branch created.
1546
82a9ed20
TT
15472020-01-17 Thomas Troeger <tstroege@gmx.de>
1548
1549 * objdump.c (jump_info_visualize_address): Discard jumps that are
1550 no longer needed.
1551 (disassemble_bytes): Only compute the maximum level if jumps were
1552 detected.
1553
6a1939f5
NC
15542020-01-13 Nick Clifton <nickc@redhat.com>
1555
c87c17c1 1556 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1557 * testsuite/binutils-all/debuginfod.exp: New tests.
1558
1d67fe3b
TT
15592020-01-13 Thomas Troeger <tstroege@gmx.de>
1560
1561 * objdump.c (visualize_jumps, color_output, extended_color_output)
1562 (detected_jumps): New variables.
1563 (usage): Add the new jump visualization options.
1564 (option_values): Add new option value.
1565 (long_options): Add the new option.
1566 (jump_info_new, jump_info_free): New functions.
1567 (jump_info_min_address, jump_info_max_address): Likewise.
1568 (jump_info_end_address, jump_info_is_start_address): Likewise.
1569 (jump_info_is_end_address, jump_info_size): Likewise.
1570 (jump_info_unlink, jump_info_insert): Likewise.
1571 (jump_info_add_front, jump_info_move_linked): Likewise.
1572 (jump_info_intersect, jump_info_merge): Likewise.
1573 (jump_info_sort, jump_info_visualize_address): Likewise.
1574 (disassemble_jumps): New function - used to locate jumps.
1575 (disassemble_bytes): Add ascii art generation.
1576 (disassemble_section): Add scan to locate jumps.
1577 (main): Parse the new visualization option.
1578 * doc/binutils.texi: Document the new feature.
1579 * NEWS: Mention the new feature.
1580
a788aedd
AM
15812020-01-13 Alan Modra <amodra@gmail.com>
1582
a4f2b7c5
AM
1583 PR 25360
1584 PR 25361
a788aedd
AM
1585 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1586 fde_fc col_type and col_offset.
1587 * readelf.c (apply_relocations): Move symsec check earlier.
1588 (free_debug_section): Free reloc_info.
1589 (process_notes_at): Free pnotes on error path.
1590 (process_object): Free dump_sects here..
1591 (process_archive): ..not here.
1592
805f38bc
AM
15932020-01-13 Alan Modra <amodra@gmail.com>
1594
1595 PR 25362
1596 * nm.c (display_rel_file): Free dyn_syms.
1597
ffebb0bb
NC
15982020-01-09 Nick Clifton <nickc@redhat.com>
1599
1600 PR 25220
1601 * objcopy.c (empty_name): New variable.
1602 (need_sym_before): Prevent an attempt to free a static variable.
1603 (filter_symbols): Avoid strcmp test by checking for pointer
1604 equality.
1605
ade4fd9b
NC
16062020-01-09 Nick Clifton <nickc@redhat.com>
1607
1608 * po/zh_TW.po: Updated Traditional Chinese translation.
1609
16102020-01-09 Aaron Merey <amerey@redhat.com>
1611
1612 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1613 * Makefile.in: Regenerate.
1614 * NEWS: Update.
1615 * config.in: Regenerate.
1616 * configure: Regenerate.
1617 * configure.ac: Call AC_DEBUGINFOD.
1618 * doc/Makefile.in: Regenerate.
1619 * doc/binutils.texi: Add section on using binutils
1620 with debuginfod.
1621 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1622 Query debuginfod servers for the target debug file.
1623 (load_separate_debug_info): Call
1624 debuginfod_fetch_separate_debug_info if configured with
1625 debuginfod.
1626 (load_separate_debug_files): Add file argument to
1627 load_separate_debug_info calls.
1628 * dwarf.h (get_build_id): Add declaration.
1629 * objdump.c (get_build_id): New function. Get build-id of file.
1630 * readelf.c (get_build_id): Likewise.
1631 * testsuite/binutils-all/debuginfod.exp: New tests.
1632 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1633 section.
1634
6655dba2
SB
16352020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1636
1637 * readelf.c: Add support for new Z*) relocations and machine
1638 types.
1639
b14ce8bf
AM
16402020-01-01 Alan Modra <amodra@gmail.com>
1641
1642 Update year range in copyright notice of all files.
1643
0b114740 1644For older changes see ChangeLog-2019
3499769a 1645\f
0b114740 1646Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1647
1648Copying and distribution of this file, with or without modification,
1649are permitted in any medium without royalty provided the copyright
1650notice and this notice are preserved.
1651
1652Local Variables:
1653mode: change-log
1654left-margin: 8
1655fill-column: 74
1656version-control: never
1657End:
This page took 0.322515 seconds and 4 git commands to generate.