]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
gdb/jit: skip jit symbol lookup if already detected the symbols don't exist
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
84dc5f0b
NC
12020-07-21 Nick Clifton <nickc@redhat.com>
2
3 * po/sv.po: Updated Swedish translation.
4
570b0ed6
CZ
52020-07-14 Claudiu Zissulescu <claziss@gmail.com>
6
7 * testsuite/binutils-all/arc/double_regs.s: New test.
8 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
9
0a5c31d1
NC
102020-07-13 Nick Clifton <nickc@redhat.com>
11
12 * po/fr.po: Updated French translation.
13
7a34d0ea
AM
142020-07-13 Alan Modra <amodra@gmail.com>
15
16 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
17 optional machine-os arg.
18
a308b89d
L
192020-07-11 H.J. Lu <hongjiu.lu@intel.com>
20
21 * readelf.c (decode_x86_feature_2): Handle
22 GNU_PROPERTY_X86_FEATURE_2_TMM.
23
af2b3186
TV
242020-07-10 Tom de Vries <tdevries@suse.de>
25
26 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
27 information in the end_sequence row.
28 * testsuite/binutils-all/dw5.W: Update.
29 * testsuite/binutils-all/objdump.WL: Update.
30
fe49679d
AM
312020-07-09 Alan Modra <amodra@gmail.com>
32
33 * dlltool.c: Remove powerpc PE support and comments.
34 * configure.ac: Remove powerpc PE dlltool config.
35 * configure: Regenerate.
36
d90171de
NC
372020-07-09 Nick Clifton <nickc@redhat.com>
38
39 * rclex.c: Add OWNERDRAW keyword.
40 * rcparse.y: Add OWNERDRAW token.
41 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
42 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
43 BITMAP flags.
44 * windres.c (extended_menuitems): Likewise.
45 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
46
e3fdc001
AM
472020-07-09 Alan Modra <amodra@gmail.com>
48
49 * readelf (slurp_hppa_unwind_table): Set table_len before use
50 in relocation sanity checks.
51
5a2296ac
AM
522020-07-07 Alan Modra <amodra@gmail.com>
53
54 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
55 * testsuite/binutils-all/nm.exp: Likewise.
56 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
57 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
58 * testsuite/binutils-all/set-section-alignment.d: Likewise.
59 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
60
efd0ed58
AM
612020-07-07 Alan Modra <amodra@gmail.com>
62
63 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
64 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
65
17550be7
NC
662020-07-06 Nick Clifton <nickc@redhat.com>
67
68 * po/bg.po: Updated Bulgarian translation.
69 * po/pt.po: Updated Portuguese translation.
70 * po/uk.po: Updated Ukranian translation.
71
ddb43bab
AM
722020-07-06 Alan Modra <amodra@gmail.com>
73
74 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
75 find string length.
76
b19d852d
NC
772020-07-04 Nick Clifton <nickc@redhat.com>
78
79 * configure: Regenerate.
80 * po/binutils.pot: Regenerate.
81
b115b9fd
NC
822020-07-04 Nick Clifton <nickc@redhat.com>
83
84 Binutils 2.35 branch created.
85
0942c7ab
NC
862020-07-02 Nick Clifton <nickc@redhat.com>
87
88 PR 26028
89 * readelf.c (print_symbol): Handle truncation of symbol names.
90 (options): Add -T/--silent-truncation option.
91 (parse_args): Handle the option.
92 (print_dynamic_symbol): Correct calculation of width available to
93 display symbol name.
94 * doc/binutils.texi: Document the -T option to readelf.
95 * NEWS: Mention the new feature.
96
bbd19b19
L
972020-06-30 H.J. Lu <hongjiu.lu@intel.com>
98
99 * NEWS: Mention x86 NaCl target support removal.
100 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
101 x86 NaCl target support.
102 * testsuite/binutils-all/elfedit-1.d: Likewise.
103 * testsuite/binutils-all/i386/i386.exp: Likewise.
104 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
105 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
106 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
107 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
108 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
109 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
110 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
111 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
112 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
113 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
114 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
115 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
116
5568cc9e
NC
1172020-06-30 Nick Clifton <nickc@redhat.com>
118
119 * dwarf.c (read_and_display_attr_value): Support
120 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
121 DW_AT_comp_dir.
122
d74b88ed
AM
1232020-06-30 Alan Modra <amodra@gmail.com>
124
125 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
126 xfail for nds32.
127
9f27c364
HPN
1282020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
129
130 * dwarf.c (display_debug_str_offsets): Rename local variable
131 index to idx. Move to top of function.
132
279edac5
AM
1332020-06-29 Alan Modra <amodra@gmail.com>
134
135 * dwarf.c: Use C style comments.
136 * resrc.c: Likewise.
137
cfc16775
AM
1382020-06-27 Alan Modra <amodra@gmail.com>
139
140 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
141 after freeing.
142 (release_archive): Set fields of arch to NULL after freeing.
143
2f6ecaed
NA
1442020-06-26 Nick Alcock <nick.alcock@oracle.com>
145
146 * readelf.c (dump_section_as_ctf): Support .ctf archives using
147 ctf_arc_bufopen. Automatically load the .ctf member of such
148 archives as the parent of all other members, unless specifically
149 overridden via --ctf-parent. Split out dumping code into...
150 (dump_ctf_archive_member): ... here, as in objdump, and call
151 it once per archive member.
152 (dump_ctf_indent_lines): Code style fix.
153
094e34f2
NA
1542020-06-26 Nick Alcock <nick.alcock@oracle.com>
155
156 * configure.ac [--enable-libctf]: New, default yes.
157 Set ENABLE_LIBCTF accordingly.
158 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
159 * configure: Regenerate.
160 * config.in: Regenerate.
161 * Makefile.in: Regenerate.
162 * aclocal.m4: Regenerate.
163 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
164 (option_values): Likewise.
165 (long_options): Likewise.
166 (main): Likewise.
167 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
168 (make_ctfsect): Likewise.
169 (dump_ctf_archive_member): Likewise.
170 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
171 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
172 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
173 (usage): Likewise.
174 (process_section_contents): Likewise.
175 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
176 (dump_ctf_indent_lines): Likewise.
177 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
178
2a1bb84c
JB
1792020-06-26 Jan Beulich <jbeulich@suse.com>
180
181 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
182 redundant text from x86 specific part of -M section.
183
85f7484a
PB
1842020-06-26 Pat Bernardi <bernardi@adacore.com>
185
186 * readelf.c (display_m68k_gnu_attribute): New function.
187 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
188
d0dded5b
L
1892020-06-23 H.J. Lu <hongjiu.lu@intel.com>
190
191 PR binutils/26160
192 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
193 * testsuite/binutils-all/pr26160.r: Likewise.
194 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
195
39f381cb
NC
1962020-06-23 Nick Clifton <nickc@redhat.com>
197
198 PR 26160
199 * dwarf.c (fetch_indexed_string): Detect and handle old style
200 .debug_str_offset tables.
201 (display_debug_str_offsets): Likewise. Also add support for
202 .debug_str_offsets.dwo sections.
203
80fda85c
L
2042020-06-23 H.J. Lu <hongjiu.lu@intel.com>
205
206 PR binutils/26112
207 * testsuite/binutils-all/pr26112.o.bz2: New file.
208 * testsuite/binutils-all/pr26112.r: Likewise.
209 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
210
d081ffff
AM
2112020-06-23 Alan Modra <amodra@gmail.com>
212
213 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
214 remote_file delete command.
215
e4b7104b
NC
2162020-06-22 Nick Clifton <nickc@redhat.com>
217
218 PR 26112
219 * dwarf.c (display_debug_str_offsets): Add code to display the
220 contents of the .debug_str_offsets section.
221 (display_debug_macro): Add support for DW_MACRO_define_strx and
222 DW_MACRO_undef_strx.
223
d768f160
SJ
2242020-06-22 Saagar Jha <saagar@saagarjha.com>
225
226 * od-macho.c: Dump linkedit data for new load commands.
227
5fd104ad
AM
2282020-06-19 Alan Modra <amodra@gmail.com>
229
230 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
231 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
232 (run_dump_test): Use check_relro_support to decide whether to pass
233 extra ld option "-z norelro".
234
fd17d1e6
AM
2352020-06-11 Alan Modra <amodra@gmail.com>
236
237 * readelf.c (process_mips_specific): Don't alloc memory for
238 Elf_Internal_Options.
239
d0c4e780
AM
2402020-06-11 Alan Modra <amodra@gmail.com>
241
242 * readelf.c (process_mips_specific): Assert size of internal
243 types match size of external types, and simplify allocation of
244 internal buffer. Catch possible integer overflow when sanity
245 checking option size. Don't assume options are a regular array.
246 Sanity check reginfo option against option size. Use PRI macros
247 when printing.
248
25065fcd
RH
2492020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
250
251 PR 26082
252 * mclex.c (yylex): Reject lines that reach end-of-file without a
253 terminating newline character.
254
b37a7714
NC
2552020-06-08 Nick Clifton <nickc@redhat.com>
256
257 PR 26093
258 * doc/binutils.texi (strings): Fix typo.
259
c4b2f181
NC
2602020-06-08 Nick Clifton <nickc@redhat.com>
261
262 PR 26086
263 * dwarf.c (process_debug_info): Check that there is space in the
264 debug_information array before filling in an entry.
265
1424c35d
AM
2662020-06-06 Alan Modra <amodra@gmail.com>
267
268 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
269
8affa48a
JA
2702020-06-05 Joel Anderson <joelanderson333@gmail.com>
271
272 PR 26082
273 * mclex.c (yylex): Add test for an empty input stream.
274
8eca5c7d
SC
2752020-06-04 Stephen Casner <casner@acm.org>
276
277 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
278 for test using section pseudo-ops compatible with pdp11.
279 * testsuite/binutils-all/objcopy.exp: Select alternate source.
280
b3db6d07
JM
2812020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
282
283 * objdump.c (disassemble_data): Set disasm_info.endian_code to
284 disasm_info.endian after the latter is initialized to the
285 endianness reported by BFD.
286
0a4f37af
AM
2872020-06-04 Alan Modra <amodra@gmail.com>
288
289 * testsuite/binutils-all/i386/i386.exp: Remove global directive
290 outside proc body.
291 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
292 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
293
913e0fd4
JA
2942020-06-03 Joel Anderson <joelanderson333@gmail.com>
295
296 * windmc.h (struct mc_node): Add id_typecast field.
297 * mcparse.y (message): Initialise the id_typecast field.
298 * windmc.c (write_dbg): Use the id_typecast field as a parameter
299 when calling write_dbg_define.
300 (write_header): Likewise.
301
4a322448
AM
3022020-06-03 Alan Modra <amodra@gmail.com>
303
304 PR 26069
305 * objcopy.c (copy_relocations_in_section): Free relpp on error.
306 Don't accidentally free isection->orelocation.
307
0bee4d1c
AM
3082020-06-02 Alan Modra <amodra@gmail.com>
309
310 * testsuite/binutils-all/ar.exp (obj): Set up object file name
311 extension. Use throughout. Don't completely exclude non-ELF
312 alpha targets. Run long_filenames test for tic30. Exclude thin
313 archive tests for aix, ecoff and vms.
314 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
315 extension. Use throughout. Don't exclude non-ELF alpha targets
316 from "bintest.a".
317
ab7ad287
MF
3182020-05-28 Max Filippov <jcmvbkbc@gmail.com>
319
320 * MAINTAINERS (Xtensa): Add myself as maintainer.
321
3f3c3608
AM
3222020-05-23 Alan Modra <amodra@gmail.com>
323
324 * testsuite/binutils-all/ar.exp (many_files): New test.
325
9db70fc3
AM
3262020-05-21 Alan Modra <amodra@gmail.com>
327
328 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
329 * dlltool.c: Likewise.
330 * elfcomm.c: Likewise.
331 * rddbg.c: Likewise.
332 * readelf.c: Likewise.
333 * stabs.c: Likewise.
334 * windmc.c: Likewise.
335 * windres.c: Likewise.
336 * wrstabs.c: Likewise.
337
c31ab5a0
AM
3382020-05-21 Alan Modra <amodra@gmail.com>
339
340 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
341 access.
342
8f595e9b
NC
3432020-05-20 Nelson Chu <nelson.chu@sifive.com>
344
345 * dwarf.c: Updated since DECLARE_CSR is changed.
346
8ac10c5b
L
3472020-05-19 H.J. Lu <hjl.tools@gmail.com>
348
349 PR binutils/25809
350 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
351 segment doesn't match the .dynamic section and checks are
352 enabled.
353 (struct filedata): Add dynamic_symtab_section and
354 dynamic_strtab_section fields.
355 (process_section_headers): Set dynamic_symtab_section to the
356 .dynsym section. Set dynamic_strtab_section to the .dynstr
357 section.
358 (process_dynamic_section): Warn if the .dynsym section doesn't
359 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
360 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
361
c177f377
AM
3622020-05-19 Alan Modra <amodra@gmail.com>
363
364 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
365 (replace_members): Use bfd_get_filename rather than accessing
366 bfd->filename directly.
367 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
368 * binemul.c (do_ar_emul_append): Likewise.
369 * coffgrok.c (coff_grok): Likewise.
370
83d27139
SH
3712020-05-18 Stafford Horne <shorne@gmail.com>
372
373 * MAINTAINERS (OR1K): Add myself as maintainer.
374
d11a9fab
AB
3752020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
376
377 * doc/binutils.texi: Mention 'entry address' in the set-start and
378 adjust-start options descriptions.
379
546cb2d8
NC
3802020-05-05 Nick Clifton <nickc@redhat.com>
381
382 * dwarf.c (do_checks): New global variable.
383 (display_formatted_table): Warn about an unexpected number of
384 columns in the table, if checks are enabled. Do not complain
385 about the lack of data following the number of entries in the
386 table if the table is empty.
387 (display_debug_lines_decoded): Only warn about an unexpected
388 number of columns in a table if checks are enabled.
389 * dwarf.h (do_checks): Add a prototype.
390 * elfcomm.c (error): Remove weak attribute.
391 (warn): Likewise.
392 * readelf.c (do_checks): Delete.
393 (warn): Delete.
394 (process_section_headers): Only warn about empty sections if
395 checks are enabled.
396
e052e2ba
FS
3972020-05-04 Fangrui Song <maskray@google.com>
398
399 * objcopy.c (copy_object): Allow empty section.
400 * testsuite/binutils-all/update-section.exp: Add test.
401
070b775f
NC
4022020-05-04 Nick Clifton <nickc@redhat.com>
403
404 PR 25917
405 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
406 supicious number of entries for DWARF-5 format directory and file
407 name tables. Do not display file name table header if the table
408 is empty. Do not allocate space for empty tables.
409
9c7b8e9b
AM
4102020-05-04 Alan Modra <amodra@gmail.com>
411
412 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
413 section. Don't assume endian of host matches nds32 target. Free
414 buffer.
415
60832332
AM
4162020-05-01 Alan Modra <amodra@gmail.com>
417 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
418
419 * objdump.c (disassemble_bytes): Don't scan for zeros when
420 disassembling zeros. Translate "resuming at file offset" message.
421 Formatting. Replace some signed variables with unsigned.
422
09c1e68a
AC
4232020-04-30 Alex Coplan <alex.coplan@arm.com>
424
425 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
426 disassembly.
427 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
428
8a8a1171
NC
4292020-04-30 Nick Clifton <nickc@redhat.com>
430
431 * testsuite/lib/binutils-common.exp (check_pie_support): New
432 proc.
433
cb4c35cf
AB
4342020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
435
436 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
437 range_entries for the same offset.
438
1b513401
NC
4392020-04-29 Nick Clifton <nickc@redhat.com>
440
441 * readelf.c (warn): New function - like elfcomm.c version but only
442 produces output if warnings are enabled.
443 (struct options): Add --lint and --enable-checks.
444 (usage): Add entry for --lint.
445 (parse_args): Handle -L. If checks are enabled but no dumps have
446 been selected then enable all dumps.
447 (process_section_headers): Replace long if-then-else sequence with
448 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
449 SHT_PROGBITS sections.
450 (process_file): Do not complain if the file is an archive and lint
451 mode has been enabled.
452 * elfcomm.c (error): Make the function weak.
453 (warn): Likewise.
454 * NEWS: Mention the new feature.
455 * doc/binutils.texi: Document the new feature.
456 * dwarf.h (report_leb_status): Add file name and line number
457 parameters. Include them in the diagnostic output.
458 (READ_ULEB): Pass file and line number to report_leb_status.
459 (READ_SLEB): Likewise.
460 * dwarf.c (read_and_print_leb128): Pass file and line number to
461 report_leb_status.
462 * testsuite/binutils-all/readelf.exp: Add test of new feature.
463 * testsuite/binutils-all/zero-sec.s: New test source file.
464 * testsuite/binutils-all/zero-sec.r: Expected output from new
465 test.
466
c2e71e57
NC
4672020-04-29 Nick Clifton <nickc@redhat.com>
468
469 * po/sr.po: Updated Serbian translation.
470
90837ea7
AM
4712020-04-26 Alan Modra <amodra@gmail.com>
472
473 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
474 read before dereferencing, and gracefully return. Remove
475 gnu_hash_error variable. Free gnu hash arrays if number of
476 syms found is zero.
477
2482f306
AM
4782020-04-24 Alan Modra <amodra@gmail.com>
479
480 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
481 non-zero.
482 (process_dynamic_section): Call get_num_dynamic_syms once rather
483 than in segment loop. Break out of segment loop on a successful
484 load of dynamic symbols. Formatting.
485 (process_object): Return error status from process_dynamic_section.
486
27456742
AK
4872020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
488
489 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
490 * elf.c (elfcore_grok_arc_v2): New function.
491 (elfcore_grok_note): Call the new function to handle the corresponding
492 note.
493 (elfcore_write_arc_v2): New function.
494 (elfcore_write_register_note): Call the new function to handle the
495 corresponding pseudo-sections.
496
30ce8e47
MF
4972020-04-22 Max Filippov <jcmvbkbc@gmail.com>
498
499 PR ld/25861
500 * readelf.c (is_none_reloc): Recognize
501 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
502 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
503
33b5a830
NC
5042020-04-22 Nick Clifton <nickc@redhat.com>
505
506 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
507
978c4450
AM
5082020-04-22 Alan Modra <amodra@gmail.com>
509
510 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
511 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
512 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
513 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
514 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
515 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
516 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
517 (dynamic_section, symtab_shndx_list, group_count, section_groups),
518 (section_headers_groups): Move to struct filedata. Update use
519 throughout file.
520
6431e409
AM
5212020-04-22 Alan Modra <amodra@gmail.com>
522
523 * readelf.c (struct dump_data): New, used..
524 (cmdline): ..here, and..
525 (struct filedata): ..here. Adjust all uses.
526 (request_dump_bynumber, request_dump, parse_args): Pass in a
527 struct dump_data* rather than Filedata*. Adjust callers.
528 (main): Don't set cmdline.file_name.
529
a5e0be5c
AM
5302020-04-20 Alan Modra <amodra@gmail.com>
531
532 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
533 and nbuckets.
534
8ff66993
AM
5352020-04-20 Alan Modra <amodra@gmail.com>
536
537 * readelf.c (process_section_headers): Free dynamic symbols etc.
538 earlier.
539
ceb9bf11
AM
5402020-04-20 Alan Modra <amodra@gmail.com>
541
542 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
543 on error without freeing.
544 (process_dynamic_section): Don't recreate dynamic symbols from
545 dynamic tag info when the dynamic symbols have already been
546 read via section headers.
547
e409955d
FS
5482020-04-17 Fredrik Strupe <fredrik@strupe.net>
549
550 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
551 conditional VDUP instructions are disassembled correctly.
552 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
553 vdup-cond.d.
554 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
555 that VDUP instructions (which are conditional in A32) can be
556 disassembled in thumb mode.
557 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
558 vdup-thumb.d.
559
ca3f923f
AM
5602020-04-17 Alan Modra <amodra@gmail.com>
561
562 PR 25840
563 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
564
937f6614
AM
5652020-04-16 Alan Modra <amodra@gmail.com>
566
567 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
568 --no-addresses description.
569
b1bc1394
AM
5702020-04-15 Alan Modra <amodra@gmail.com>
571
572 * objdump.c (no_addresses): New static var.
573 (usage): Print help for --no-addresses.
574 (long_options): Add --no-addresses entry.
575 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
576 (disassemble_bytes): Don't print current line address, or reloc
577 address.
578 * doc/binutils.texi: Document objdump --no-addresses.
579
001890e1
AM
5802020-04-15 Alan Modra <amodra@gmail.com>
581
582 PR 25822
583 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
584 reading buckets or chains fails.
585
b71d4fa7
AM
5862020-04-15 Alan Modra <amodra@gmail.com>
587
588 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
589 etc. after freeing.
590
89246a0e
AM
5912020-04-15 Alan Modra <amodra@gmail.com>
592
593 * readelf.c (get_group_flags): Translate text.
594 (get_file_type, get_symbol_binding, get_symbol_type),
595 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
596
c98a4545
AM
5972020-04-15 Alan Modra <amodra@gmail.com>
598
599 PR 25821
600 * readelf.c (get_num_dynamic_syms): Typo fix.
601
645f43a8
AM
6022020-04-14 Alan Modra <amodra@gmail.com>
603
604 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
605 possibility of overflow when checking number of conflicts.
606
10ca4b04
L
6072020-04-14 H.J. Lu <hongjiu.lu@intel.com>
608
609 PR binutils/25707
610 * readelf.c (nbuckets): New.
611 (nchains): Likewise.
612 (buckets): Likewise.
613 (chains): Likewise.
614 (ngnubuckets): Likewise.
615 (gnubuckets): Likewise.
616 (gnuchains): Likewise.
617 (mipsxlat): Likewise.
618 (ngnuchains): Likewise.
619 (gnusymidx): Likewise.
620 (VALID_SYMBOL_NAME): Likewise.
621 (VALID_DYNAMIC_NAME): Use it.
622 (get_dynamic_data): Moved before process_dynamic_section.
623 (get_num_dynamic_syms): New function.
624 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
625 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
626 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
627 table.
628 (get_symbol_index_type): Don't print "bad section index" when
629 there is no section header.
630 (print_dynamic_symbol): Rewrite.
631 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
632 symbol table.
633
bb897477
RO
6342020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
635
636 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
637 enable on *-*-solaris*.
638
00386881
NC
6392020-03-30 Nick Clifton <nickc@redhat.com>
640
641 PR binutils/25662
642 * objcopy.c (copy_object): When copying PE format files set the
643 timestamp field in the pe_data structure if the preserve_dates
644 flag is set.
645 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
646 --preserve-dates in place of the -p option, in order to make its
647 effect more obvious.
648
0a6a8b59
AM
6492020-03-28 Alan Modra <amodra@gmail.com>
650
651 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
652 clear_xfail hppa*-*-*elf*. Revert mips xfails.
653
6a81c59b
AM
6542020-03-28 Alan Modra <amodra@gmail.com>
655
656 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
657 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
658 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
659 test. Pass "-p" to objcopy for the executable test.
660
1fafefd5
JL
6612020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
662
663 PR binutils/25662
664 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
665 specify whether an object file or executable should be built and tested.
666 Change test names to report whether an object file or executable is
667 being tested.
668 * testsuite/binutils-all/pr25662.ld: New test.
669 * testsuite/binutils-all/pr25662.s: New test.
670
80e2a3b6
AM
6712020-03-27 Alan Modra <amodra@gmail.com>
672
673 * readelf.c (process_archive): Don't double free qualified_name.
674 Don't break out of loop with "negative" archive_file_size, just
675 set file offset to max.
676
4c836627
AM
6772020-03-25 Alan Modra <amodra@gmail.com>
678
679 * readelf.c (process_archive): Prevent endless loop.
680
1081065c
L
6812020-03-24 H.J. Lu <hongjiu.lu@intel.com>
682
683 PR binutils/25708
684 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
685 with bfd_get_symbol_version_string.
686 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
687 * objdump.c (objdump_print_symname): Likewise.
688
7e6e972f
L
6892020-03-24 H.J. Lu <hongjiu.lu@intel.com>
690
691 PR binutils/25708
692 * nm.c (SYM_NAME): Removed.
693 (print_symname): Add a pointer to struct extended_symbol_info
694 argument. Call _bfd_elf_get_symbol_version_name to get symbol
695 version.
696 (print_symdef_entry): Pass NULL to print_symname.
697 (print_symbol_info_bsd): Update call to print_symname.
698 (print_symbol_info_sysv): Likewise.
699 (print_symbol_info_posix): Likewise.
700
5a814d6d
AM
7012020-03-24 Alan Modra <amodra@gmail.com>
702
703 * readelf.c (process_mips_specific): Free iconf on error path.
704
0636b245
NC
7052020-03-23 Nick Clifton <nickc@redhat.com>
706
707 PR 25714
708 * wrstabs.c (stab_pop_type): Replace assertion with error return.
709 * write_stabs_in_sections_debugging_info: Likewise.
710 * stab_enum_type: Likewise.
711 * stab_modify_type: Likewise.
712 * stab_struct_field: Likewise.
713 * stab_end_struct_type: Likewise.
714 * stab_start_class_type: Likewise.
715 * stab_class_static_member: Likewise.
716 * stab_class_baseclass: Likewise.
717 * stab_class_start_method: Likewise.
718 * stab_class_method_var: Likewise.
719 * stab_class_end_method: Likewise.
720 * stab_end_class_type: Likewise.
721 * stab_typedef_type: Likewise.
722 * stab_start_function: Likewise.
723 * stab_end_block: Likewise.
724 * stab_lineno: Likewise.
725
5844b465
NC
7262020-03-20 Nick Clifton <nickc@redhat.com>
727
728 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
729 (process_section_headers): Check the return value from
730 get_compression_header.
731 (dump_section_as_strings): Likewise.
732 (dump_section_as_bytes): Likewise.
733 (load_specific_debug_section): Likewise.
734
3d98c460
L
7352020-03-20 H.J. Lu <hongjiu.lu@intel.com>
736
737 * ar.c (main): Update bfd_plugin_set_program_name call.
738 * nm.c (main): Likewise.
739
f3a08f77
NC
7402020-03-19 Nick Clifton <nickc@redhat.com>
741
742 PR 25676
743 * testsuite/binutils-all/dw4.s: New test source file.
744 * testsuite/binutils-all/nm.exp: Run the new test.
745
ef3df110
L
7462020-03-19 H.J. Lu <hongjiu.lu@intel.com>
747
748 * readelf.c (process_symbol_table): Use unsigned long for si.
749
81a65eb3
AM
7502020-03-19 Alan Modra <amodra@gmail.com>
751
752 * elfcomm.c: Don't include bfd.h or bucomm.h.
753 (program_name): Declare.
754 (process_archive_index_and_symbols): Replace bfd_boolean with int,
755 and substitute FALSE and TRUE.
756 (setup_archive, setup_nested_archive): Likewise.
757 * elfcomm.h: Likewise.
758
1cb7d8b1
AM
7592020-03-19 Alan Modra <amodra@gmail.com>
760
761 * readelf.c (process_archive): Always return via path freeing
762 memory. Formatting.
763
b966f55f
AM
7642020-03-19 Alan Modra <amodra@gmail.com>
765
766 * readelf.c (process_netbsd_elf_note): Validate descsz before
767 accessing descdata. Formatting.
768
645ba681
AM
7692020-03-19 Alan Modra <amodra@gmail.com>
770
771 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
772 * elfcomm.h (setup_archive): Update prototype.
773
28d13567
AM
7742020-03-16 Alan Modra <amodra@gmail.com>
775
776 * readelf.c (get_symbols): New function.
777 (process_relocs, ia64_process_unwind, hppa_process_unwind),
778 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
779
60e63c3e
AM
7802020-03-16 Alan Modra <amodra@gmail.com>
781
782 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
783 Detect shift overflows and check that terminating byte is found.
784 Print an error on a bad uleb128.
785
1bd6175a
AM
7862020-03-14 Alan Modra <amodra@gmail.com>
787
788 * readelf.c (process_file): Clean ba_cache.
789
780f96ae
AM
7902020-03-14 Alan Modra <amodra@gmail.com>
791
792 * elfcomm.h (setup_archive): Update prototype.
793 * elfcomm.c (setup_archive): Add file_size parameter and sanity
794 check longnames_size.
795 (setup_nested_archive): Get file size and pass to setup_archive.
796 * elfedit.c (process_archive): Likewise.
797 * readelf.c (process_archive): Pass filedata->file_size to
798 setup_archive.
799
f761cb13
AM
8002020-03-14 Alan Modra <amodra@gmail.com>
801
802 * readelf.c (dump_section_as_strings): Free memory on error exit.
803 (dump_section_as_bytes, process_notes_at): Likewise.
804 (get_build_id): Free enote.
805
06d949ec
KR
8062020-03-13 Kamil Rytarowski <n54@gmx.com>
807
808 * readelf.c (get_netbsd_elfcore_note_type): Add support for
809 NT_NETBSDCORE_LWPSTATUS notes.
810
fd486f32
AM
8112020-03-13 Alan Modra <amodra@gmail.com>
812
813 * elfcomm.c (get_archive_member_name): Always return malloc'd
814 string or NULL.
815 * elfedit.c (process_archive): Tidy memory on all return paths.
816 * readelf.c (process_archive): Likewise.
817 (process_symbol_table): Likewise.
818 (ba_cache): New, replacing ..
819 (get_symbol_for_build_attribute): ..static vars here. Free
820 strtab and symtab before loading new ones. Reject symtab without
821 valid strtab in loop, breaking out of loop on valid symtab.
822 (process_file): Free ba_cache symtab and strtab here, resetting
823 ba_cache.
824
8fb879cd
AM
8252020-03-12 Alan Modra <amodra@gmail.com>
826
827 * readelf.c (process_section_headers): Don't just set
828 filedata->section_headers NULL, free it first. Similarly for
829 dynamic_symbols, dynamic_strings, dynamic_syminfo and
830 symtab_shndx_list. Zero associated counts too.
831 (process_object): Free symtab_shndx_list.
832 (process_file): Free various allocated filedata tables.
833
5496f3c6
NC
8342020-03-11 Nick Clifton <nickc@redhat.com>
835
836 PR 25611
837 PR 25614
838 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
839 li_segment_size fields.
840 * dwarf.c (read_debug_line_header): Record the address size and
841 segment selector size values (if present) in the lineinfo
842 structure.
843 (display_formatted_table): Warn if the format count is empty but
844 the table itself is not empty.
845 Display the format count and entry count at the start of the table
846 dump.
847 (display_debug_lines_raw): Display the address size and segement
848 selector size fields, if present.
849 * testsuite/binutils-all/dw5.W: Update expected output.
850
9cc89dc0
AM
8512020-03-11 Alan Modra <amodra@gmail.com>
852
853 PR 25651
854 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
855 pad_to_set on second block of code dealing with padding.
856 Replace "c" with "num_sec" and don't recalculate number of
857 sections on second block. Size arrays using sizeof (element)
858 rather than sizeof (element type).
859
41da0822
AM
8602020-03-10 Alan Modra <amodra@gmail.com>
861
862 * objdump.c (disassemble_section): Don't call qsort unless
863 sym count is at least two.
864 (disassemble_data): Don't call memcpy with NULL src.
865
95099889
AM
8662020-03-09 Alan Modra <amodra@gmail.com>
867
868 PR 25645
869 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
870 to get_data rather than multiplying.
871 (dump_ia64_vms_dynamic_relocs): Likewise.
872 (process_version_sections): Correct order of size and nmemb args
873 in get_data call.
874 (process_mips_specific): Likewise.
875
a15de1f5
L
8762020-03-08 H.J. Lu <hongjiu.lu@intel.com>
877
878 * readelf.c (get_dynamic_data): Replace "memory chekers" with
879 "memory checkers" in comments.
880
9979ab66
SM
8812020-03-06 Simon Marchi <simon.marchi@efficios.com>
882
883 PR 25491
884 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
885 * doc/Makefile.in: Re-generate.
886
a0dcf297
NC
8872020-03-06 Nick Clifton <nickc@redhat.com>
888
889 * objcopy.c (check_new_section_flags): New function. Reject the
890 SEC_COFF_SHARED flag if the target is not a COFF binary.
891 (copy_object): Call check_new_section_flags.
892 (setup_section): Likewise.
893 * doc/binutils.texi (objcopy): Add a note that the 'share' section
894 flag cannot be applied to ELF binaries.
895
a9b90127
AM
8962020-03-06 Alan Modra <amodra@gmail.com>
897
898 PR 25637
899 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
900
d1faf7ca
AM
9012020-03-05 Alan Modra <amodra@gmail.com>
902
903 PR 25629
904 * objcopy.c (filter_symbols): Don't segfault on NULL
905 prefix_symbols_string.
906
eef64366
CE
9072020-03-04 Christian Eggers <ceggers@gmx.de>
908
909 * objcopy.c (copy_object): Convert from bytes to octets for
910 --gap-fill and --pad-to.
911
5be2b2f5
NC
9122020-03-03 Nick Clifton <nickc@redhat.com>
913
914 PR 25625
915 * prdbg.c (pr_tag_type): Remove call to abort.
916
b312fea1
AM
9172020-03-02 Aaron Merey <amerey@redhat.com>
918
919 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
920 selection.
921
ba3265d0
NC
9222020-03-02 Nick Clifton <nickc@redhat.com>
923
924 PR 25543
925 * readelf.c (dump_section_as_strings): Display new-line characters
926 as \n and then insert a line break.
927 * testsuite/binutils-all/pr25543.s: New test.
928 * testsuite/binutils-all/pr25543.d: Test driver.
929 * testsuite/binutils-all/readelf.exp: Run the new test.
930
736990c4
NC
9312020-02-27 Nick Clifton <nickc@redhat.com>
932
933 PR 25526
934 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
935 get_data is unable to load the string table.
936
dc1e8a47
AM
9372020-02-26 Alan Modra <amodra@gmail.com>
938
939 * elfedit.c: Indent labels correctly.
940 * readelf.c: Likewise.
941 * resres.c: Likewise.
942
ecda9016
L
9432020-02-25 H.J. Lu <hongjiu.lu@intel.com>
944
945 PR binutils/25584
946 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
947 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
948
83d4d556
NC
9492020-02-24 Nick Clifton <nickc@redhat.com>
950
951 PR 25499
952 * doc/binutils.texi (objdump): Fix typo in description of
953 objdump's -g option.
954
bd0cf5a6
NC
9552020-02-20 Nelson Chu <nelson.chu@sifive.com>
956
957 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
958 is changed.
959
741cb839
EC
9602020-02-19 Jordan Rupprecht <rupprecht@google.com>
961
962 * objdump.c (show_line): call bfd_demangle when using do_demangle.
963
9f1528a1
AB
9642020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
965
966 * configure: Regenerate.
967
3a5d12fb
FS
9682020-02-10 Fangrui Song <maskray@google.com>
969
970 * objcopy.c (parse_flags): Handle "exclude".
971 * doc/binutils.texi: Document the support.
972
678d457f
AM
9732020-02-10 Aaron Merey <amerey@redhat.com>
974
975 * binutils/testsuite/binutils-all/debuginfod.exp:
976 Replace set ::env with setenv.
46471187
AM
977 Start server before setting environment variable.
978 Specify tmpdir as the location of the server's
979 database.
980 Check additional server metrics at start-up.
678d457f 981
e8319fde
NC
9822020-02-07 Nick Clifton <nickc@redhat.com>
983
984 * README-how-to-make-a-release: Add note about updating the
985 GAS/NEWS URL in the next release.
986
9fc0b501
SB
9872020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
988
989 PR 25469
990 * readelf.c (get_machine_flags): Add support for Z80N machine
991 number.
992
e1104d08
NC
9932020-02-07 Nick Clifton <nickc@redhat.com>
994
995 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
996 of the truncated file name.
997
c2e6f744 9982020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
ece12829
TT
999
1000 * objdump.c (print_jump_visualisation): New function.
1001 (disassemble_bytes): Call new function.
1002
02e0be69
AM
10032020-02-06 Alan Modra <amodra@gmail.com>
1004
1005 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1006 TCL procedure.
1007 (supports_gnu_osabi): New procedure.
1008 (is_generic): New, from ld-lib.exp.
1009 (supports_gnu_unique): Use the above.
1010
e8b79122
AM
10112020-02-04 Alan Modra <amodra@gmail.com>
1012
1013 * Makefile.am (CFILES): Add od-elf32_avr.c.
1014 * Makefile.in: Regenerate.
1015 * po/POTFILES.in: Regenerate.
1016
27a45f42
AS
10172020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1018
1019 * readelf.c (dump_relocations, dump_relocations)
1020 (decode_arm_unwind_bytecode, process_dynamic_section)
1021 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1022 error message.
1023
0b398d69
ST
10242020-02-03 Sergei Trofimovich <siarheit@google.com>
1025
1026 * coffdump.c (program_name): Drop redundant definition.
1027 * srconv.c (program_name): Likewise
1028 * sysdump.c (program_name): Likewise
1029
a8c4d40b
L
10302020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1031
1032 PR gas/25380
1033 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1034 same file with different section pointers.
1035
cb6ad9bb
NC
10362020-02-01 Nick Clifton <nickc@redhat.com>
1037
1038 * README-how-to-make-a-release: Update with more details on the
1039 release making process.
1040
53943f32
NC
10412020-01-31 Nick Clifton <nickc@redhat.com>
1042
1043 * po/sv.po: Updated Swedish translation.
1044
55be8fd0
NC
10452020-01-28 Nick Clifton <nickc@redhat.com>
1046
1047 * readelf.c (get_build_id): Simplify warning message about corrupt
1048 notes encountered whilst scanning for the build-id.
1049
82ef9cad
RM
10502020-01-27 Roland McGrath <mcgrathr@google.com>
1051
1052 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1053 for overlapping ranges so that (A == B) == (B == A) holds.
1054
e3696f67
AM
10552020-01-27 Alan Modra <amodra@gmail.com>
1056
1057 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1058 case statement with switch statement.
1059
2f796de6
NC
10602020-01-24 Nick Clifton <nickc@redhat.com>
1061
1062 * readelf.c (get_build_id): Fix warning messages about corrupt
1063 notes.
1064
24e648d4
NC
10652020-01-23 Nick Clifton <nickc@redhat.com>
1066
1067 * po/fr.po: Updated French translation.
1068
c48acf6f
YC
10692020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1070
1071 PR 25417
1072 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1073
26916852
NC
10742020-01-20 Nick Clifton <nickc@redhat.com>
1075
1076 * po/pt.po: Updated Portuguese translation.
1077 * po/uk.po: Updated Ukranian translation.
1078
b248e9ce
NC
10792020-01-18 Nick Clifton <nickc@redhat.com>
1080
1081 * README-how-to-make-a-release: Update notes on how to cut a
1082 branch for a release.
1083
1b1bb2c6
NC
10842020-01-18 Nick Clifton <nickc@redhat.com>
1085
1086 * configure: Regenerate.
1087 * po/binutils.pot: Regenerate.
1088
ae774686
NC
10892020-01-18 Nick Clifton <nickc@redhat.com>
1090
1091 Binutils 2.34 branch created.
1092
82a9ed20
TT
10932020-01-17 Thomas Troeger <tstroege@gmx.de>
1094
1095 * objdump.c (jump_info_visualize_address): Discard jumps that are
1096 no longer needed.
1097 (disassemble_bytes): Only compute the maximum level if jumps were
1098 detected.
1099
6a1939f5
NC
11002020-01-13 Nick Clifton <nickc@redhat.com>
1101
c87c17c1 1102 * objdump.c (disassemble_bytes): Remove C99-ism.
6a1939f5
NC
1103 * testsuite/binutils-all/debuginfod.exp: New tests.
1104
1d67fe3b
TT
11052020-01-13 Thomas Troeger <tstroege@gmx.de>
1106
1107 * objdump.c (visualize_jumps, color_output, extended_color_output)
1108 (detected_jumps): New variables.
1109 (usage): Add the new jump visualization options.
1110 (option_values): Add new option value.
1111 (long_options): Add the new option.
1112 (jump_info_new, jump_info_free): New functions.
1113 (jump_info_min_address, jump_info_max_address): Likewise.
1114 (jump_info_end_address, jump_info_is_start_address): Likewise.
1115 (jump_info_is_end_address, jump_info_size): Likewise.
1116 (jump_info_unlink, jump_info_insert): Likewise.
1117 (jump_info_add_front, jump_info_move_linked): Likewise.
1118 (jump_info_intersect, jump_info_merge): Likewise.
1119 (jump_info_sort, jump_info_visualize_address): Likewise.
1120 (disassemble_jumps): New function - used to locate jumps.
1121 (disassemble_bytes): Add ascii art generation.
1122 (disassemble_section): Add scan to locate jumps.
1123 (main): Parse the new visualization option.
1124 * doc/binutils.texi: Document the new feature.
1125 * NEWS: Mention the new feature.
1126
a788aedd
AM
11272020-01-13 Alan Modra <amodra@gmail.com>
1128
a4f2b7c5
AM
1129 PR 25360
1130 PR 25361
a788aedd
AM
1131 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1132 fde_fc col_type and col_offset.
1133 * readelf.c (apply_relocations): Move symsec check earlier.
1134 (free_debug_section): Free reloc_info.
1135 (process_notes_at): Free pnotes on error path.
1136 (process_object): Free dump_sects here..
1137 (process_archive): ..not here.
1138
805f38bc
AM
11392020-01-13 Alan Modra <amodra@gmail.com>
1140
1141 PR 25362
1142 * nm.c (display_rel_file): Free dyn_syms.
1143
ffebb0bb
NC
11442020-01-09 Nick Clifton <nickc@redhat.com>
1145
1146 PR 25220
1147 * objcopy.c (empty_name): New variable.
1148 (need_sym_before): Prevent an attempt to free a static variable.
1149 (filter_symbols): Avoid strcmp test by checking for pointer
1150 equality.
1151
ade4fd9b
NC
11522020-01-09 Nick Clifton <nickc@redhat.com>
1153
1154 * po/zh_TW.po: Updated Traditional Chinese translation.
1155
11562020-01-09 Aaron Merey <amerey@redhat.com>
1157
1158 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1159 * Makefile.in: Regenerate.
1160 * NEWS: Update.
1161 * config.in: Regenerate.
1162 * configure: Regenerate.
1163 * configure.ac: Call AC_DEBUGINFOD.
1164 * doc/Makefile.in: Regenerate.
1165 * doc/binutils.texi: Add section on using binutils
1166 with debuginfod.
1167 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1168 Query debuginfod servers for the target debug file.
1169 (load_separate_debug_info): Call
1170 debuginfod_fetch_separate_debug_info if configured with
1171 debuginfod.
1172 (load_separate_debug_files): Add file argument to
1173 load_separate_debug_info calls.
1174 * dwarf.h (get_build_id): Add declaration.
1175 * objdump.c (get_build_id): New function. Get build-id of file.
1176 * readelf.c (get_build_id): Likewise.
1177 * testsuite/binutils-all/debuginfod.exp: New tests.
1178 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1179 section.
1180
6655dba2
SB
11812020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1182
1183 * readelf.c: Add support for new Z*) relocations and machine
1184 types.
1185
b14ce8bf
AM
11862020-01-01 Alan Modra <amodra@gmail.com>
1187
1188 Update year range in copyright notice of all files.
1189
0b114740 1190For older changes see ChangeLog-2019
3499769a 1191\f
0b114740 1192Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1193
1194Copying and distribution of this file, with or without modification,
1195are permitted in any medium without royalty provided the copyright
1196notice and this notice are preserved.
1197
1198Local Variables:
1199mode: change-log
1200left-margin: 8
1201fill-column: 74
1202version-control: never
1203End: