]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
af2b3186
TV
12020-07-10 Tom de Vries <tdevries@suse.de>
2
3 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
4 information in the end_sequence row.
5 * testsuite/binutils-all/dw5.W: Update.
6 * testsuite/binutils-all/objdump.WL: Update.
7
fe49679d
AM
82020-07-09 Alan Modra <amodra@gmail.com>
9
10 * dlltool.c: Remove powerpc PE support and comments.
11 * configure.ac: Remove powerpc PE dlltool config.
12 * configure: Regenerate.
13
d90171de
NC
142020-07-09 Nick Clifton <nickc@redhat.com>
15
16 * rclex.c: Add OWNERDRAW keyword.
17 * rcparse.y: Add OWNERDRAW token.
18 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
19 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
20 BITMAP flags.
21 * windres.c (extended_menuitems): Likewise.
22 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
23
e3fdc001
AM
242020-07-09 Alan Modra <amodra@gmail.com>
25
26 * readelf (slurp_hppa_unwind_table): Set table_len before use
27 in relocation sanity checks.
28
5a2296ac
AM
292020-07-07 Alan Modra <amodra@gmail.com>
30
31 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
32 * testsuite/binutils-all/nm.exp: Likewise.
33 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
34 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
35 * testsuite/binutils-all/set-section-alignment.d: Likewise.
36 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
37
efd0ed58
AM
382020-07-07 Alan Modra <amodra@gmail.com>
39
40 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
41 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
42
17550be7
NC
432020-07-06 Nick Clifton <nickc@redhat.com>
44
45 * po/bg.po: Updated Bulgarian translation.
46 * po/pt.po: Updated Portuguese translation.
47 * po/uk.po: Updated Ukranian translation.
48
ddb43bab
AM
492020-07-06 Alan Modra <amodra@gmail.com>
50
51 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
52 find string length.
53
b19d852d
NC
542020-07-04 Nick Clifton <nickc@redhat.com>
55
56 * configure: Regenerate.
57 * po/binutils.pot: Regenerate.
58
b115b9fd
NC
592020-07-04 Nick Clifton <nickc@redhat.com>
60
61 Binutils 2.35 branch created.
62
0942c7ab
NC
632020-07-02 Nick Clifton <nickc@redhat.com>
64
65 PR 26028
66 * readelf.c (print_symbol): Handle truncation of symbol names.
67 (options): Add -T/--silent-truncation option.
68 (parse_args): Handle the option.
69 (print_dynamic_symbol): Correct calculation of width available to
70 display symbol name.
71 * doc/binutils.texi: Document the -T option to readelf.
72 * NEWS: Mention the new feature.
73
bbd19b19
L
742020-06-30 H.J. Lu <hongjiu.lu@intel.com>
75
76 * NEWS: Mention x86 NaCl target support removal.
77 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
78 x86 NaCl target support.
79 * testsuite/binutils-all/elfedit-1.d: Likewise.
80 * testsuite/binutils-all/i386/i386.exp: Likewise.
81 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
82 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
83 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
84 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
85 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
86 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
87 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
88 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
89 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
90 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
91 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
92 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
93
5568cc9e
NC
942020-06-30 Nick Clifton <nickc@redhat.com>
95
96 * dwarf.c (read_and_display_attr_value): Support
97 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
98 DW_AT_comp_dir.
99
d74b88ed
AM
1002020-06-30 Alan Modra <amodra@gmail.com>
101
102 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
103 xfail for nds32.
104
9f27c364
HPN
1052020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
106
107 * dwarf.c (display_debug_str_offsets): Rename local variable
108 index to idx. Move to top of function.
109
279edac5
AM
1102020-06-29 Alan Modra <amodra@gmail.com>
111
112 * dwarf.c: Use C style comments.
113 * resrc.c: Likewise.
114
cfc16775
AM
1152020-06-27 Alan Modra <amodra@gmail.com>
116
117 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
118 after freeing.
119 (release_archive): Set fields of arch to NULL after freeing.
120
2f6ecaed
NA
1212020-06-26 Nick Alcock <nick.alcock@oracle.com>
122
123 * readelf.c (dump_section_as_ctf): Support .ctf archives using
124 ctf_arc_bufopen. Automatically load the .ctf member of such
125 archives as the parent of all other members, unless specifically
126 overridden via --ctf-parent. Split out dumping code into...
127 (dump_ctf_archive_member): ... here, as in objdump, and call
128 it once per archive member.
129 (dump_ctf_indent_lines): Code style fix.
130
094e34f2
NA
1312020-06-26 Nick Alcock <nick.alcock@oracle.com>
132
133 * configure.ac [--enable-libctf]: New, default yes.
134 Set ENABLE_LIBCTF accordingly.
135 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
136 * configure: Regenerate.
137 * config.in: Regenerate.
138 * Makefile.in: Regenerate.
139 * aclocal.m4: Regenerate.
140 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
141 (option_values): Likewise.
142 (long_options): Likewise.
143 (main): Likewise.
144 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
145 (make_ctfsect): Likewise.
146 (dump_ctf_archive_member): Likewise.
147 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
148 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
149 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
150 (usage): Likewise.
151 (process_section_contents): Likewise.
152 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
153 (dump_ctf_indent_lines): Likewise.
154 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
155
2a1bb84c
JB
1562020-06-26 Jan Beulich <jbeulich@suse.com>
157
158 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
159 redundant text from x86 specific part of -M section.
160
85f7484a
PB
1612020-06-26 Pat Bernardi <bernardi@adacore.com>
162
163 * readelf.c (display_m68k_gnu_attribute): New function.
164 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
165
d0dded5b
L
1662020-06-23 H.J. Lu <hongjiu.lu@intel.com>
167
168 PR binutils/26160
169 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
170 * testsuite/binutils-all/pr26160.r: Likewise.
171 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
172
39f381cb
NC
1732020-06-23 Nick Clifton <nickc@redhat.com>
174
175 PR 26160
176 * dwarf.c (fetch_indexed_string): Detect and handle old style
177 .debug_str_offset tables.
178 (display_debug_str_offsets): Likewise. Also add support for
179 .debug_str_offsets.dwo sections.
180
80fda85c
L
1812020-06-23 H.J. Lu <hongjiu.lu@intel.com>
182
183 PR binutils/26112
184 * testsuite/binutils-all/pr26112.o.bz2: New file.
185 * testsuite/binutils-all/pr26112.r: Likewise.
186 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
187
d081ffff
AM
1882020-06-23 Alan Modra <amodra@gmail.com>
189
190 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
191 remote_file delete command.
192
e4b7104b
NC
1932020-06-22 Nick Clifton <nickc@redhat.com>
194
195 PR 26112
196 * dwarf.c (display_debug_str_offsets): Add code to display the
197 contents of the .debug_str_offsets section.
198 (display_debug_macro): Add support for DW_MACRO_define_strx and
199 DW_MACRO_undef_strx.
200
d768f160
SJ
2012020-06-22 Saagar Jha <saagar@saagarjha.com>
202
203 * od-macho.c: Dump linkedit data for new load commands.
204
5fd104ad
AM
2052020-06-19 Alan Modra <amodra@gmail.com>
206
207 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
208 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
209 (run_dump_test): Use check_relro_support to decide whether to pass
210 extra ld option "-z norelro".
211
fd17d1e6
AM
2122020-06-11 Alan Modra <amodra@gmail.com>
213
214 * readelf.c (process_mips_specific): Don't alloc memory for
215 Elf_Internal_Options.
216
d0c4e780
AM
2172020-06-11 Alan Modra <amodra@gmail.com>
218
219 * readelf.c (process_mips_specific): Assert size of internal
220 types match size of external types, and simplify allocation of
221 internal buffer. Catch possible integer overflow when sanity
222 checking option size. Don't assume options are a regular array.
223 Sanity check reginfo option against option size. Use PRI macros
224 when printing.
225
25065fcd
RH
2262020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
227
228 PR 26082
229 * mclex.c (yylex): Reject lines that reach end-of-file without a
230 terminating newline character.
231
b37a7714
NC
2322020-06-08 Nick Clifton <nickc@redhat.com>
233
234 PR 26093
235 * doc/binutils.texi (strings): Fix typo.
236
c4b2f181
NC
2372020-06-08 Nick Clifton <nickc@redhat.com>
238
239 PR 26086
240 * dwarf.c (process_debug_info): Check that there is space in the
241 debug_information array before filling in an entry.
242
1424c35d
AM
2432020-06-06 Alan Modra <amodra@gmail.com>
244
245 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
246
8affa48a
JA
2472020-06-05 Joel Anderson <joelanderson333@gmail.com>
248
249 PR 26082
250 * mclex.c (yylex): Add test for an empty input stream.
251
8eca5c7d
SC
2522020-06-04 Stephen Casner <casner@acm.org>
253
254 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
255 for test using section pseudo-ops compatible with pdp11.
256 * testsuite/binutils-all/objcopy.exp: Select alternate source.
257
b3db6d07
JM
2582020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
259
260 * objdump.c (disassemble_data): Set disasm_info.endian_code to
261 disasm_info.endian after the latter is initialized to the
262 endianness reported by BFD.
263
0a4f37af
AM
2642020-06-04 Alan Modra <amodra@gmail.com>
265
266 * testsuite/binutils-all/i386/i386.exp: Remove global directive
267 outside proc body.
268 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
269 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
270
913e0fd4
JA
2712020-06-03 Joel Anderson <joelanderson333@gmail.com>
272
273 * windmc.h (struct mc_node): Add id_typecast field.
274 * mcparse.y (message): Initialise the id_typecast field.
275 * windmc.c (write_dbg): Use the id_typecast field as a parameter
276 when calling write_dbg_define.
277 (write_header): Likewise.
278
4a322448
AM
2792020-06-03 Alan Modra <amodra@gmail.com>
280
281 PR 26069
282 * objcopy.c (copy_relocations_in_section): Free relpp on error.
283 Don't accidentally free isection->orelocation.
284
0bee4d1c
AM
2852020-06-02 Alan Modra <amodra@gmail.com>
286
287 * testsuite/binutils-all/ar.exp (obj): Set up object file name
288 extension. Use throughout. Don't completely exclude non-ELF
289 alpha targets. Run long_filenames test for tic30. Exclude thin
290 archive tests for aix, ecoff and vms.
291 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
292 extension. Use throughout. Don't exclude non-ELF alpha targets
293 from "bintest.a".
294
ab7ad287
MF
2952020-05-28 Max Filippov <jcmvbkbc@gmail.com>
296
297 * MAINTAINERS (Xtensa): Add myself as maintainer.
298
3f3c3608
AM
2992020-05-23 Alan Modra <amodra@gmail.com>
300
301 * testsuite/binutils-all/ar.exp (many_files): New test.
302
9db70fc3
AM
3032020-05-21 Alan Modra <amodra@gmail.com>
304
305 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
306 * dlltool.c: Likewise.
307 * elfcomm.c: Likewise.
308 * rddbg.c: Likewise.
309 * readelf.c: Likewise.
310 * stabs.c: Likewise.
311 * windmc.c: Likewise.
312 * windres.c: Likewise.
313 * wrstabs.c: Likewise.
314
c31ab5a0
AM
3152020-05-21 Alan Modra <amodra@gmail.com>
316
317 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
318 access.
319
8f595e9b
NC
3202020-05-20 Nelson Chu <nelson.chu@sifive.com>
321
322 * dwarf.c: Updated since DECLARE_CSR is changed.
323
8ac10c5b
L
3242020-05-19 H.J. Lu <hjl.tools@gmail.com>
325
326 PR binutils/25809
327 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
328 segment doesn't match the .dynamic section and checks are
329 enabled.
330 (struct filedata): Add dynamic_symtab_section and
331 dynamic_strtab_section fields.
332 (process_section_headers): Set dynamic_symtab_section to the
333 .dynsym section. Set dynamic_strtab_section to the .dynstr
334 section.
335 (process_dynamic_section): Warn if the .dynsym section doesn't
336 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
337 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
338
c177f377
AM
3392020-05-19 Alan Modra <amodra@gmail.com>
340
341 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
342 (replace_members): Use bfd_get_filename rather than accessing
343 bfd->filename directly.
344 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
345 * binemul.c (do_ar_emul_append): Likewise.
346 * coffgrok.c (coff_grok): Likewise.
347
83d27139
SH
3482020-05-18 Stafford Horne <shorne@gmail.com>
349
350 * MAINTAINERS (OR1K): Add myself as maintainer.
351
d11a9fab
AB
3522020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
353
354 * doc/binutils.texi: Mention 'entry address' in the set-start and
355 adjust-start options descriptions.
356
546cb2d8
NC
3572020-05-05 Nick Clifton <nickc@redhat.com>
358
359 * dwarf.c (do_checks): New global variable.
360 (display_formatted_table): Warn about an unexpected number of
361 columns in the table, if checks are enabled. Do not complain
362 about the lack of data following the number of entries in the
363 table if the table is empty.
364 (display_debug_lines_decoded): Only warn about an unexpected
365 number of columns in a table if checks are enabled.
366 * dwarf.h (do_checks): Add a prototype.
367 * elfcomm.c (error): Remove weak attribute.
368 (warn): Likewise.
369 * readelf.c (do_checks): Delete.
370 (warn): Delete.
371 (process_section_headers): Only warn about empty sections if
372 checks are enabled.
373
e052e2ba
FS
3742020-05-04 Fangrui Song <maskray@google.com>
375
376 * objcopy.c (copy_object): Allow empty section.
377 * testsuite/binutils-all/update-section.exp: Add test.
378
070b775f
NC
3792020-05-04 Nick Clifton <nickc@redhat.com>
380
381 PR 25917
382 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
383 supicious number of entries for DWARF-5 format directory and file
384 name tables. Do not display file name table header if the table
385 is empty. Do not allocate space for empty tables.
386
9c7b8e9b
AM
3872020-05-04 Alan Modra <amodra@gmail.com>
388
389 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
390 section. Don't assume endian of host matches nds32 target. Free
391 buffer.
392
60832332
AM
3932020-05-01 Alan Modra <amodra@gmail.com>
394 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
395
396 * objdump.c (disassemble_bytes): Don't scan for zeros when
397 disassembling zeros. Translate "resuming at file offset" message.
398 Formatting. Replace some signed variables with unsigned.
399
09c1e68a
AC
4002020-04-30 Alex Coplan <alex.coplan@arm.com>
401
402 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
403 disassembly.
404 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
405
8a8a1171
NC
4062020-04-30 Nick Clifton <nickc@redhat.com>
407
408 * testsuite/lib/binutils-common.exp (check_pie_support): New
409 proc.
410
cb4c35cf
AB
4112020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
412
413 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
414 range_entries for the same offset.
415
1b513401
NC
4162020-04-29 Nick Clifton <nickc@redhat.com>
417
418 * readelf.c (warn): New function - like elfcomm.c version but only
419 produces output if warnings are enabled.
420 (struct options): Add --lint and --enable-checks.
421 (usage): Add entry for --lint.
422 (parse_args): Handle -L. If checks are enabled but no dumps have
423 been selected then enable all dumps.
424 (process_section_headers): Replace long if-then-else sequence with
425 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
426 SHT_PROGBITS sections.
427 (process_file): Do not complain if the file is an archive and lint
428 mode has been enabled.
429 * elfcomm.c (error): Make the function weak.
430 (warn): Likewise.
431 * NEWS: Mention the new feature.
432 * doc/binutils.texi: Document the new feature.
433 * dwarf.h (report_leb_status): Add file name and line number
434 parameters. Include them in the diagnostic output.
435 (READ_ULEB): Pass file and line number to report_leb_status.
436 (READ_SLEB): Likewise.
437 * dwarf.c (read_and_print_leb128): Pass file and line number to
438 report_leb_status.
439 * testsuite/binutils-all/readelf.exp: Add test of new feature.
440 * testsuite/binutils-all/zero-sec.s: New test source file.
441 * testsuite/binutils-all/zero-sec.r: Expected output from new
442 test.
443
c2e71e57
NC
4442020-04-29 Nick Clifton <nickc@redhat.com>
445
446 * po/sr.po: Updated Serbian translation.
447
90837ea7
AM
4482020-04-26 Alan Modra <amodra@gmail.com>
449
450 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
451 read before dereferencing, and gracefully return. Remove
452 gnu_hash_error variable. Free gnu hash arrays if number of
453 syms found is zero.
454
2482f306
AM
4552020-04-24 Alan Modra <amodra@gmail.com>
456
457 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
458 non-zero.
459 (process_dynamic_section): Call get_num_dynamic_syms once rather
460 than in segment loop. Break out of segment loop on a successful
461 load of dynamic symbols. Formatting.
462 (process_object): Return error status from process_dynamic_section.
463
27456742
AK
4642020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
465
466 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
467 * elf.c (elfcore_grok_arc_v2): New function.
468 (elfcore_grok_note): Call the new function to handle the corresponding
469 note.
470 (elfcore_write_arc_v2): New function.
471 (elfcore_write_register_note): Call the new function to handle the
472 corresponding pseudo-sections.
473
30ce8e47
MF
4742020-04-22 Max Filippov <jcmvbkbc@gmail.com>
475
476 PR ld/25861
477 * readelf.c (is_none_reloc): Recognize
478 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
479 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
480
33b5a830
NC
4812020-04-22 Nick Clifton <nickc@redhat.com>
482
483 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
484
978c4450
AM
4852020-04-22 Alan Modra <amodra@gmail.com>
486
487 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
488 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
489 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
490 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
491 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
492 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
493 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
494 (dynamic_section, symtab_shndx_list, group_count, section_groups),
495 (section_headers_groups): Move to struct filedata. Update use
496 throughout file.
497
6431e409
AM
4982020-04-22 Alan Modra <amodra@gmail.com>
499
500 * readelf.c (struct dump_data): New, used..
501 (cmdline): ..here, and..
502 (struct filedata): ..here. Adjust all uses.
503 (request_dump_bynumber, request_dump, parse_args): Pass in a
504 struct dump_data* rather than Filedata*. Adjust callers.
505 (main): Don't set cmdline.file_name.
506
a5e0be5c
AM
5072020-04-20 Alan Modra <amodra@gmail.com>
508
509 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
510 and nbuckets.
511
8ff66993
AM
5122020-04-20 Alan Modra <amodra@gmail.com>
513
514 * readelf.c (process_section_headers): Free dynamic symbols etc.
515 earlier.
516
ceb9bf11
AM
5172020-04-20 Alan Modra <amodra@gmail.com>
518
519 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
520 on error without freeing.
521 (process_dynamic_section): Don't recreate dynamic symbols from
522 dynamic tag info when the dynamic symbols have already been
523 read via section headers.
524
e409955d
FS
5252020-04-17 Fredrik Strupe <fredrik@strupe.net>
526
527 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
528 conditional VDUP instructions are disassembled correctly.
529 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
530 vdup-cond.d.
531 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
532 that VDUP instructions (which are conditional in A32) can be
533 disassembled in thumb mode.
534 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
535 vdup-thumb.d.
536
ca3f923f
AM
5372020-04-17 Alan Modra <amodra@gmail.com>
538
539 PR 25840
540 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
541
937f6614
AM
5422020-04-16 Alan Modra <amodra@gmail.com>
543
544 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
545 --no-addresses description.
546
b1bc1394
AM
5472020-04-15 Alan Modra <amodra@gmail.com>
548
549 * objdump.c (no_addresses): New static var.
550 (usage): Print help for --no-addresses.
551 (long_options): Add --no-addresses entry.
552 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
553 (disassemble_bytes): Don't print current line address, or reloc
554 address.
555 * doc/binutils.texi: Document objdump --no-addresses.
556
001890e1
AM
5572020-04-15 Alan Modra <amodra@gmail.com>
558
559 PR 25822
560 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
561 reading buckets or chains fails.
562
b71d4fa7
AM
5632020-04-15 Alan Modra <amodra@gmail.com>
564
565 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
566 etc. after freeing.
567
89246a0e
AM
5682020-04-15 Alan Modra <amodra@gmail.com>
569
570 * readelf.c (get_group_flags): Translate text.
571 (get_file_type, get_symbol_binding, get_symbol_type),
572 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
573
c98a4545
AM
5742020-04-15 Alan Modra <amodra@gmail.com>
575
576 PR 25821
577 * readelf.c (get_num_dynamic_syms): Typo fix.
578
645f43a8
AM
5792020-04-14 Alan Modra <amodra@gmail.com>
580
581 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
582 possibility of overflow when checking number of conflicts.
583
10ca4b04
L
5842020-04-14 H.J. Lu <hongjiu.lu@intel.com>
585
586 PR binutils/25707
587 * readelf.c (nbuckets): New.
588 (nchains): Likewise.
589 (buckets): Likewise.
590 (chains): Likewise.
591 (ngnubuckets): Likewise.
592 (gnubuckets): Likewise.
593 (gnuchains): Likewise.
594 (mipsxlat): Likewise.
595 (ngnuchains): Likewise.
596 (gnusymidx): Likewise.
597 (VALID_SYMBOL_NAME): Likewise.
598 (VALID_DYNAMIC_NAME): Use it.
599 (get_dynamic_data): Moved before process_dynamic_section.
600 (get_num_dynamic_syms): New function.
601 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
602 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
603 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
604 table.
605 (get_symbol_index_type): Don't print "bad section index" when
606 there is no section header.
607 (print_dynamic_symbol): Rewrite.
608 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
609 symbol table.
610
bb897477
RO
6112020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
612
613 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
614 enable on *-*-solaris*.
615
00386881
NC
6162020-03-30 Nick Clifton <nickc@redhat.com>
617
618 PR binutils/25662
619 * objcopy.c (copy_object): When copying PE format files set the
620 timestamp field in the pe_data structure if the preserve_dates
621 flag is set.
622 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
623 --preserve-dates in place of the -p option, in order to make its
624 effect more obvious.
625
0a6a8b59
AM
6262020-03-28 Alan Modra <amodra@gmail.com>
627
628 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
629 clear_xfail hppa*-*-*elf*. Revert mips xfails.
630
6a81c59b
AM
6312020-03-28 Alan Modra <amodra@gmail.com>
632
633 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
634 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
635 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
636 test. Pass "-p" to objcopy for the executable test.
637
1fafefd5
JL
6382020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
639
640 PR binutils/25662
641 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
642 specify whether an object file or executable should be built and tested.
643 Change test names to report whether an object file or executable is
644 being tested.
645 * testsuite/binutils-all/pr25662.ld: New test.
646 * testsuite/binutils-all/pr25662.s: New test.
647
80e2a3b6
AM
6482020-03-27 Alan Modra <amodra@gmail.com>
649
650 * readelf.c (process_archive): Don't double free qualified_name.
651 Don't break out of loop with "negative" archive_file_size, just
652 set file offset to max.
653
4c836627
AM
6542020-03-25 Alan Modra <amodra@gmail.com>
655
656 * readelf.c (process_archive): Prevent endless loop.
657
1081065c
L
6582020-03-24 H.J. Lu <hongjiu.lu@intel.com>
659
660 PR binutils/25708
661 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
662 with bfd_get_symbol_version_string.
663 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
664 * objdump.c (objdump_print_symname): Likewise.
665
7e6e972f
L
6662020-03-24 H.J. Lu <hongjiu.lu@intel.com>
667
668 PR binutils/25708
669 * nm.c (SYM_NAME): Removed.
670 (print_symname): Add a pointer to struct extended_symbol_info
671 argument. Call _bfd_elf_get_symbol_version_name to get symbol
672 version.
673 (print_symdef_entry): Pass NULL to print_symname.
674 (print_symbol_info_bsd): Update call to print_symname.
675 (print_symbol_info_sysv): Likewise.
676 (print_symbol_info_posix): Likewise.
677
5a814d6d
AM
6782020-03-24 Alan Modra <amodra@gmail.com>
679
680 * readelf.c (process_mips_specific): Free iconf on error path.
681
0636b245
NC
6822020-03-23 Nick Clifton <nickc@redhat.com>
683
684 PR 25714
685 * wrstabs.c (stab_pop_type): Replace assertion with error return.
686 * write_stabs_in_sections_debugging_info: Likewise.
687 * stab_enum_type: Likewise.
688 * stab_modify_type: Likewise.
689 * stab_struct_field: Likewise.
690 * stab_end_struct_type: Likewise.
691 * stab_start_class_type: Likewise.
692 * stab_class_static_member: Likewise.
693 * stab_class_baseclass: Likewise.
694 * stab_class_start_method: Likewise.
695 * stab_class_method_var: Likewise.
696 * stab_class_end_method: Likewise.
697 * stab_end_class_type: Likewise.
698 * stab_typedef_type: Likewise.
699 * stab_start_function: Likewise.
700 * stab_end_block: Likewise.
701 * stab_lineno: Likewise.
702
5844b465
NC
7032020-03-20 Nick Clifton <nickc@redhat.com>
704
705 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
706 (process_section_headers): Check the return value from
707 get_compression_header.
708 (dump_section_as_strings): Likewise.
709 (dump_section_as_bytes): Likewise.
710 (load_specific_debug_section): Likewise.
711
3d98c460
L
7122020-03-20 H.J. Lu <hongjiu.lu@intel.com>
713
714 * ar.c (main): Update bfd_plugin_set_program_name call.
715 * nm.c (main): Likewise.
716
f3a08f77
NC
7172020-03-19 Nick Clifton <nickc@redhat.com>
718
719 PR 25676
720 * testsuite/binutils-all/dw4.s: New test source file.
721 * testsuite/binutils-all/nm.exp: Run the new test.
722
ef3df110
L
7232020-03-19 H.J. Lu <hongjiu.lu@intel.com>
724
725 * readelf.c (process_symbol_table): Use unsigned long for si.
726
81a65eb3
AM
7272020-03-19 Alan Modra <amodra@gmail.com>
728
729 * elfcomm.c: Don't include bfd.h or bucomm.h.
730 (program_name): Declare.
731 (process_archive_index_and_symbols): Replace bfd_boolean with int,
732 and substitute FALSE and TRUE.
733 (setup_archive, setup_nested_archive): Likewise.
734 * elfcomm.h: Likewise.
735
1cb7d8b1
AM
7362020-03-19 Alan Modra <amodra@gmail.com>
737
738 * readelf.c (process_archive): Always return via path freeing
739 memory. Formatting.
740
b966f55f
AM
7412020-03-19 Alan Modra <amodra@gmail.com>
742
743 * readelf.c (process_netbsd_elf_note): Validate descsz before
744 accessing descdata. Formatting.
745
645ba681
AM
7462020-03-19 Alan Modra <amodra@gmail.com>
747
748 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
749 * elfcomm.h (setup_archive): Update prototype.
750
28d13567
AM
7512020-03-16 Alan Modra <amodra@gmail.com>
752
753 * readelf.c (get_symbols): New function.
754 (process_relocs, ia64_process_unwind, hppa_process_unwind),
755 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
756
60e63c3e
AM
7572020-03-16 Alan Modra <amodra@gmail.com>
758
759 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
760 Detect shift overflows and check that terminating byte is found.
761 Print an error on a bad uleb128.
762
1bd6175a
AM
7632020-03-14 Alan Modra <amodra@gmail.com>
764
765 * readelf.c (process_file): Clean ba_cache.
766
780f96ae
AM
7672020-03-14 Alan Modra <amodra@gmail.com>
768
769 * elfcomm.h (setup_archive): Update prototype.
770 * elfcomm.c (setup_archive): Add file_size parameter and sanity
771 check longnames_size.
772 (setup_nested_archive): Get file size and pass to setup_archive.
773 * elfedit.c (process_archive): Likewise.
774 * readelf.c (process_archive): Pass filedata->file_size to
775 setup_archive.
776
f761cb13
AM
7772020-03-14 Alan Modra <amodra@gmail.com>
778
779 * readelf.c (dump_section_as_strings): Free memory on error exit.
780 (dump_section_as_bytes, process_notes_at): Likewise.
781 (get_build_id): Free enote.
782
06d949ec
KR
7832020-03-13 Kamil Rytarowski <n54@gmx.com>
784
785 * readelf.c (get_netbsd_elfcore_note_type): Add support for
786 NT_NETBSDCORE_LWPSTATUS notes.
787
fd486f32
AM
7882020-03-13 Alan Modra <amodra@gmail.com>
789
790 * elfcomm.c (get_archive_member_name): Always return malloc'd
791 string or NULL.
792 * elfedit.c (process_archive): Tidy memory on all return paths.
793 * readelf.c (process_archive): Likewise.
794 (process_symbol_table): Likewise.
795 (ba_cache): New, replacing ..
796 (get_symbol_for_build_attribute): ..static vars here. Free
797 strtab and symtab before loading new ones. Reject symtab without
798 valid strtab in loop, breaking out of loop on valid symtab.
799 (process_file): Free ba_cache symtab and strtab here, resetting
800 ba_cache.
801
8fb879cd
AM
8022020-03-12 Alan Modra <amodra@gmail.com>
803
804 * readelf.c (process_section_headers): Don't just set
805 filedata->section_headers NULL, free it first. Similarly for
806 dynamic_symbols, dynamic_strings, dynamic_syminfo and
807 symtab_shndx_list. Zero associated counts too.
808 (process_object): Free symtab_shndx_list.
809 (process_file): Free various allocated filedata tables.
810
5496f3c6
NC
8112020-03-11 Nick Clifton <nickc@redhat.com>
812
813 PR 25611
814 PR 25614
815 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
816 li_segment_size fields.
817 * dwarf.c (read_debug_line_header): Record the address size and
818 segment selector size values (if present) in the lineinfo
819 structure.
820 (display_formatted_table): Warn if the format count is empty but
821 the table itself is not empty.
822 Display the format count and entry count at the start of the table
823 dump.
824 (display_debug_lines_raw): Display the address size and segement
825 selector size fields, if present.
826 * testsuite/binutils-all/dw5.W: Update expected output.
827
9cc89dc0
AM
8282020-03-11 Alan Modra <amodra@gmail.com>
829
830 PR 25651
831 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
832 pad_to_set on second block of code dealing with padding.
833 Replace "c" with "num_sec" and don't recalculate number of
834 sections on second block. Size arrays using sizeof (element)
835 rather than sizeof (element type).
836
41da0822
AM
8372020-03-10 Alan Modra <amodra@gmail.com>
838
839 * objdump.c (disassemble_section): Don't call qsort unless
840 sym count is at least two.
841 (disassemble_data): Don't call memcpy with NULL src.
842
95099889
AM
8432020-03-09 Alan Modra <amodra@gmail.com>
844
845 PR 25645
846 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
847 to get_data rather than multiplying.
848 (dump_ia64_vms_dynamic_relocs): Likewise.
849 (process_version_sections): Correct order of size and nmemb args
850 in get_data call.
851 (process_mips_specific): Likewise.
852
a15de1f5
L
8532020-03-08 H.J. Lu <hongjiu.lu@intel.com>
854
855 * readelf.c (get_dynamic_data): Replace "memory chekers" with
856 "memory checkers" in comments.
857
9979ab66
SM
8582020-03-06 Simon Marchi <simon.marchi@efficios.com>
859
860 PR 25491
861 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
862 * doc/Makefile.in: Re-generate.
863
a0dcf297
NC
8642020-03-06 Nick Clifton <nickc@redhat.com>
865
866 * objcopy.c (check_new_section_flags): New function. Reject the
867 SEC_COFF_SHARED flag if the target is not a COFF binary.
868 (copy_object): Call check_new_section_flags.
869 (setup_section): Likewise.
870 * doc/binutils.texi (objcopy): Add a note that the 'share' section
871 flag cannot be applied to ELF binaries.
872
a9b90127
AM
8732020-03-06 Alan Modra <amodra@gmail.com>
874
875 PR 25637
876 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
877
d1faf7ca
AM
8782020-03-05 Alan Modra <amodra@gmail.com>
879
880 PR 25629
881 * objcopy.c (filter_symbols): Don't segfault on NULL
882 prefix_symbols_string.
883
eef64366
CE
8842020-03-04 Christian Eggers <ceggers@gmx.de>
885
886 * objcopy.c (copy_object): Convert from bytes to octets for
887 --gap-fill and --pad-to.
888
5be2b2f5
NC
8892020-03-03 Nick Clifton <nickc@redhat.com>
890
891 PR 25625
892 * prdbg.c (pr_tag_type): Remove call to abort.
893
b312fea1
AM
8942020-03-02 Aaron Merey <amerey@redhat.com>
895
896 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
897 selection.
898
ba3265d0
NC
8992020-03-02 Nick Clifton <nickc@redhat.com>
900
901 PR 25543
902 * readelf.c (dump_section_as_strings): Display new-line characters
903 as \n and then insert a line break.
904 * testsuite/binutils-all/pr25543.s: New test.
905 * testsuite/binutils-all/pr25543.d: Test driver.
906 * testsuite/binutils-all/readelf.exp: Run the new test.
907
736990c4
NC
9082020-02-27 Nick Clifton <nickc@redhat.com>
909
910 PR 25526
911 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
912 get_data is unable to load the string table.
913
dc1e8a47
AM
9142020-02-26 Alan Modra <amodra@gmail.com>
915
916 * elfedit.c: Indent labels correctly.
917 * readelf.c: Likewise.
918 * resres.c: Likewise.
919
ecda9016
L
9202020-02-25 H.J. Lu <hongjiu.lu@intel.com>
921
922 PR binutils/25584
923 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
924 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
925
83d4d556
NC
9262020-02-24 Nick Clifton <nickc@redhat.com>
927
928 PR 25499
929 * doc/binutils.texi (objdump): Fix typo in description of
930 objdump's -g option.
931
bd0cf5a6
NC
9322020-02-20 Nelson Chu <nelson.chu@sifive.com>
933
934 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
935 is changed.
936
741cb839
EC
9372020-02-19 Jordan Rupprecht <rupprecht@google.com>
938
939 * objdump.c (show_line): call bfd_demangle when using do_demangle.
940
9f1528a1
AB
9412020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
942
943 * configure: Regenerate.
944
3a5d12fb
FS
9452020-02-10 Fangrui Song <maskray@google.com>
946
947 * objcopy.c (parse_flags): Handle "exclude".
948 * doc/binutils.texi: Document the support.
949
678d457f
AM
9502020-02-10 Aaron Merey <amerey@redhat.com>
951
952 * binutils/testsuite/binutils-all/debuginfod.exp:
953 Replace set ::env with setenv.
46471187
AM
954 Start server before setting environment variable.
955 Specify tmpdir as the location of the server's
956 database.
957 Check additional server metrics at start-up.
678d457f 958
e8319fde
NC
9592020-02-07 Nick Clifton <nickc@redhat.com>
960
961 * README-how-to-make-a-release: Add note about updating the
962 GAS/NEWS URL in the next release.
963
9fc0b501
SB
9642020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
965
966 PR 25469
967 * readelf.c (get_machine_flags): Add support for Z80N machine
968 number.
969
e1104d08
NC
9702020-02-07 Nick Clifton <nickc@redhat.com>
971
972 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
973 of the truncated file name.
974
c2e6f744 9752020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
976
977 * objdump.c (print_jump_visualisation): New function.
978 (disassemble_bytes): Call new function.
979
02e0be69
AM
9802020-02-06 Alan Modra <amodra@gmail.com>
981
982 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
983 TCL procedure.
984 (supports_gnu_osabi): New procedure.
985 (is_generic): New, from ld-lib.exp.
986 (supports_gnu_unique): Use the above.
987
e8b79122
AM
9882020-02-04 Alan Modra <amodra@gmail.com>
989
990 * Makefile.am (CFILES): Add od-elf32_avr.c.
991 * Makefile.in: Regenerate.
992 * po/POTFILES.in: Regenerate.
993
27a45f42
AS
9942020-02-03 Andreas Schwab <schwab@linux-m68k.org>
995
996 * readelf.c (dump_relocations, dump_relocations)
997 (decode_arm_unwind_bytecode, process_dynamic_section)
998 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
999 error message.
1000
0b398d69
ST
10012020-02-03 Sergei Trofimovich <siarheit@google.com>
1002
1003 * coffdump.c (program_name): Drop redundant definition.
1004 * srconv.c (program_name): Likewise
1005 * sysdump.c (program_name): Likewise
1006
a8c4d40b
L
10072020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 PR gas/25380
1010 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1011 same file with different section pointers.
1012
cb6ad9bb
NC
10132020-02-01 Nick Clifton <nickc@redhat.com>
1014
1015 * README-how-to-make-a-release: Update with more details on the
1016 release making process.
1017
53943f32
NC
10182020-01-31 Nick Clifton <nickc@redhat.com>
1019
1020 * po/sv.po: Updated Swedish translation.
1021
55be8fd0
NC
10222020-01-28 Nick Clifton <nickc@redhat.com>
1023
1024 * readelf.c (get_build_id): Simplify warning message about corrupt
1025 notes encountered whilst scanning for the build-id.
1026
82ef9cad
RM
10272020-01-27 Roland McGrath <mcgrathr@google.com>
1028
1029 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1030 for overlapping ranges so that (A == B) == (B == A) holds.
1031
e3696f67
AM
10322020-01-27 Alan Modra <amodra@gmail.com>
1033
1034 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1035 case statement with switch statement.
1036
2f796de6
NC
10372020-01-24 Nick Clifton <nickc@redhat.com>
1038
1039 * readelf.c (get_build_id): Fix warning messages about corrupt
1040 notes.
1041
24e648d4
NC
10422020-01-23 Nick Clifton <nickc@redhat.com>
1043
1044 * po/fr.po: Updated French translation.
1045
c48acf6f
YC
10462020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1047
1048 PR 25417
1049 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1050
26916852
NC
10512020-01-20 Nick Clifton <nickc@redhat.com>
1052
1053 * po/pt.po: Updated Portuguese translation.
1054 * po/uk.po: Updated Ukranian translation.
1055
b248e9ce
NC
10562020-01-18 Nick Clifton <nickc@redhat.com>
1057
1058 * README-how-to-make-a-release: Update notes on how to cut a
1059 branch for a release.
1060
1b1bb2c6
NC
10612020-01-18 Nick Clifton <nickc@redhat.com>
1062
1063 * configure: Regenerate.
1064 * po/binutils.pot: Regenerate.
1065
ae774686
NC
10662020-01-18 Nick Clifton <nickc@redhat.com>
1067
1068 Binutils 2.34 branch created.
1069
82a9ed20
TT
10702020-01-17 Thomas Troeger <tstroege@gmx.de>
1071
1072 * objdump.c (jump_info_visualize_address): Discard jumps that are
1073 no longer needed.
1074 (disassemble_bytes): Only compute the maximum level if jumps were
1075 detected.
1076
6a1939f5
NC
10772020-01-13 Nick Clifton <nickc@redhat.com>
1078
c87c17c1 1079 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1080 * testsuite/binutils-all/debuginfod.exp: New tests.
1081
1d67fe3b
TT
10822020-01-13 Thomas Troeger <tstroege@gmx.de>
1083
1084 * objdump.c (visualize_jumps, color_output, extended_color_output)
1085 (detected_jumps): New variables.
1086 (usage): Add the new jump visualization options.
1087 (option_values): Add new option value.
1088 (long_options): Add the new option.
1089 (jump_info_new, jump_info_free): New functions.
1090 (jump_info_min_address, jump_info_max_address): Likewise.
1091 (jump_info_end_address, jump_info_is_start_address): Likewise.
1092 (jump_info_is_end_address, jump_info_size): Likewise.
1093 (jump_info_unlink, jump_info_insert): Likewise.
1094 (jump_info_add_front, jump_info_move_linked): Likewise.
1095 (jump_info_intersect, jump_info_merge): Likewise.
1096 (jump_info_sort, jump_info_visualize_address): Likewise.
1097 (disassemble_jumps): New function - used to locate jumps.
1098 (disassemble_bytes): Add ascii art generation.
1099 (disassemble_section): Add scan to locate jumps.
1100 (main): Parse the new visualization option.
1101 * doc/binutils.texi: Document the new feature.
1102 * NEWS: Mention the new feature.
1103
a788aedd
AM
11042020-01-13 Alan Modra <amodra@gmail.com>
1105
a4f2b7c5
AM
1106 PR 25360
1107 PR 25361
a788aedd
AM
1108 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1109 fde_fc col_type and col_offset.
1110 * readelf.c (apply_relocations): Move symsec check earlier.
1111 (free_debug_section): Free reloc_info.
1112 (process_notes_at): Free pnotes on error path.
1113 (process_object): Free dump_sects here..
1114 (process_archive): ..not here.
1115
805f38bc
AM
11162020-01-13 Alan Modra <amodra@gmail.com>
1117
1118 PR 25362
1119 * nm.c (display_rel_file): Free dyn_syms.
1120
ffebb0bb
NC
11212020-01-09 Nick Clifton <nickc@redhat.com>
1122
1123 PR 25220
1124 * objcopy.c (empty_name): New variable.
1125 (need_sym_before): Prevent an attempt to free a static variable.
1126 (filter_symbols): Avoid strcmp test by checking for pointer
1127 equality.
1128
ade4fd9b
NC
11292020-01-09 Nick Clifton <nickc@redhat.com>
1130
1131 * po/zh_TW.po: Updated Traditional Chinese translation.
1132
11332020-01-09 Aaron Merey <amerey@redhat.com>
1134
1135 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1136 * Makefile.in: Regenerate.
1137 * NEWS: Update.
1138 * config.in: Regenerate.
1139 * configure: Regenerate.
1140 * configure.ac: Call AC_DEBUGINFOD.
1141 * doc/Makefile.in: Regenerate.
1142 * doc/binutils.texi: Add section on using binutils
1143 with debuginfod.
1144 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1145 Query debuginfod servers for the target debug file.
1146 (load_separate_debug_info): Call
1147 debuginfod_fetch_separate_debug_info if configured with
1148 debuginfod.
1149 (load_separate_debug_files): Add file argument to
1150 load_separate_debug_info calls.
1151 * dwarf.h (get_build_id): Add declaration.
1152 * objdump.c (get_build_id): New function. Get build-id of file.
1153 * readelf.c (get_build_id): Likewise.
1154 * testsuite/binutils-all/debuginfod.exp: New tests.
1155 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1156 section.
1157
6655dba2
SB
11582020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1159
1160 * readelf.c: Add support for new Z*) relocations and machine
1161 types.
1162
b14ce8bf
AM
11632020-01-01 Alan Modra <amodra@gmail.com>
1164
1165 Update year range in copyright notice of all files.
1166
0b114740 1167For older changes see ChangeLog-2019
3499769a 1168\f
0b114740 1169Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1170
1171Copying and distribution of this file, with or without modification,
1172are permitted in any medium without royalty provided the copyright
1173notice and this notice are preserved.
1174
1175Local Variables:
1176mode: change-log
1177left-margin: 8
1178fill-column: 74
1179version-control: never
1180End: