1 2020-08-13 Alan Modra <amodra@gmail.com>
4 * objcopy.c (copy_object): Report file name with endian error.
5 Error and return on abfd->read_only.
7 2020-08-12 Tom Tromey <tromey@adacore.com>
9 * dwarf-mode.el (Version): Now 1.6.
10 (dwarf-die-button-action): Tighten DIE reference regexp.
11 (dwarf-font-lock-keywords): Update name regexp.
13 2020-08-12 Nick Clifton <nickc@redhat.com>
16 * readelf.c (do_demangle): New option flag.
17 (print_symbol): If do_demangle is enabled, demangle the symbol.
18 (enum long_option_values): New enum to hold long option values.
19 (options): Add demangle, no-demangle, recursion-limit and
20 no-recursion-limit options. Alpha sort the table.
21 (usage): Describe the new options.
22 (parse_args): Handle the new options.
23 * NEWS: Mention the new feature.
24 * doc/binutils.texi: Document the new feature.
25 * testsuite/binutils-all/readelf.exp: Test the new feature.
26 * testsuite/binutils-all/mangled.s: New file - assembler source.
27 * testsuite/binutils-all/readelf.demangled: New file - expected
30 2020-08-12 Nick Clifton <nickc@redhat.com>
32 * po/sr.po: Updated Serbian translation.
34 2020-08-10 H.J. Lu <hongjiu.lu@intel.com>
37 * nm.c (with_symbol_versions): Removed.
38 (long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
39 (long_options): Update --with-symbol-versions entry.
40 (print_symbol): Remove the with_symbol_versions check.
41 (main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
43 * doc/binutils.texi: Remove --with-symbol-versions.
45 2020-08-05 Alan Modra <amodra@gmail.com>
48 * objdump.c (load_specific_debug_section): Revert last change.
50 2020-08-05 Alan Modra <amodra@gmail.com>
53 * objdump.c (load_specific_debug_section): Don't malloc space for
54 section contents, use bfd_malloc_and_get_section.
56 2020-07-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
58 * Makefile.am (AM_CPPFLAGS): Add LARGEFILE_CPPFLAGS.
59 * Makefile.in, doc/Makefile.in: Regenerate.
60 * configure: Regenerate.
62 2020-07-30 H.J. Lu <hongjiu.lu@intel.com>
64 * testsuite/binutils-all/i386/compressed-1a.d: Pass --gdwarf-3
66 * testsuite/binutils-all/i386/compressed-1b.d: Likewise.
67 * testsuite/binutils-all/i386/compressed-1c.d: Likewise.
68 * testsuite/binutils-all/x86-64/compressed-1a.d: Likewise.
69 * testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
70 * testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.
72 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
74 * testsuite/binutils-all/mips/global-local-symtab-sort-o32.d:
76 * testsuite/binutils-all/mips/global-local-symtab-sort-o32t.d:
78 * testsuite/binutils-all/mips/global-local-symtab-sort-n32.d:
80 * testsuite/binutils-all/mips/global-local-symtab-sort-n32t.d:
82 * testsuite/binutils-all/mips/global-local-symtab-sort-n64.d:
84 * testsuite/binutils-all/mips/global-local-symtab-sort-n64t.d:
86 * testsuite/binutils-all/mips/global-local-symtab-final-o32.d:
88 * testsuite/binutils-all/mips/global-local-symtab-final-n32.d:
90 * testsuite/binutils-all/mips/global-local-symtab-final-n64.d:
92 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
94 2020-07-29 Maciej W. Rozycki <macro@linux-mips.org>
96 * testsuite/binutils-all/mips/global-local-symtab-o32.d: New
98 * testsuite/binutils-all/mips/global-local-symtab-o32t.d: New
100 * testsuite/binutils-all/mips/global-local-symtab-n32.d: New
102 * testsuite/binutils-all/mips/global-local-symtab-n32t.d: New
104 * testsuite/binutils-all/mips/global-local-symtab-n64.d: New
106 * testsuite/binutils-all/mips/mips.exp: Run the new tests.
108 2020-07-28 H.J. Lu <hongjiu.lu@intel.com>
111 * configure: Regenerated.
113 2020-07-28 H.J. Lu <hongjiu.lu@intel.com>
116 * configure: Regenerated.
118 2020-07-27 Alan Modra <amodra@gmail.com>
120 * objdump.c (dump_section): Don't return without calling
123 2020-07-27 H.J. Lu <hongjiu.lu@intel.com>
125 * doc/binutils.texi: Replace preceeded with preceded.
127 2020-07-26 Maciej W. Rozycki <macro@linux-mips.org>
129 * testsuite/binutils-all/mips/mips.exp (run_dump_test_abi)
130 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64): New
132 (has_newabi): Remove variable.
133 (has_abi, abi_asflags, abi_ldflags): New associative array
135 (irixemul): New variable.
136 Replace `run_dump_test' calls where applicable throughout with
137 `run_dump_test_o32', `run_dump_test_n32' and `run_dump_test_n64'
138 as appropriate. Use `noarch' for tests that require their own
139 architecture setting.
140 * testsuite/binutils-all/mips/mips-ase-1.d: Remove GAS flags.
141 * testsuite/binutils-all/mips/mips-ase-2.d: Likewise.
142 * testsuite/binutils-all/mips/mips-ase-3.d: Likewise.
143 * testsuite/binutils-all/mips/mips-note-2-n32.d: Likewise.
144 * testsuite/binutils-all/mips/mips-note-2-n64.d: Likewise.
145 * testsuite/binutils-all/mips/mips-note-2.d: Likewise.
146 * testsuite/binutils-all/mips/mips-note-2r-n32.d: Likewise.
147 * testsuite/binutils-all/mips/mips-note-2r-n64.d: Likewise.
148 * testsuite/binutils-all/mips/mips-note-2r.d: Likewise.
149 * testsuite/binutils-all/mips/mips-reginfo-n32.d: Likewise.
150 * testsuite/binutils-all/mips/mips-reginfo.d: Likewise.
151 * testsuite/binutils-all/mips/mips16-extend-noinsn.d: Likewise.
152 * testsuite/binutils-all/mips/mips16-pcrel.d: Likewise.
153 * testsuite/binutils-all/mips/mips16-alias.d: Remove `-32' from
155 * testsuite/binutils-all/mips/mips16-extend-insn.d: Likewise.
156 * testsuite/binutils-all/mips/mips16-noalias.d: Likewise.
157 * testsuite/binutils-all/mips/mips16-undecoded.d: Likewise.
158 * testsuite/binutils-all/mips/mips16e2-extend-insn.d: Likewise.
159 * testsuite/binutils-all/mips/mips16e2-undecoded.d: Likewise.
160 * testsuite/binutils-all/mips/mixed-micromips.d: Likewise.
161 * testsuite/binutils-all/mips/mixed-mips16.d: Likewise.
163 2020-07-24 Aaron Merey <amerey@redhat.com>
165 * Makefile.am: Replace LIBDEBUGINFOD with DEBUGINFOD_LIBS.
166 * Makefile.in: Rebuild.
167 * configure: Rebuild.
168 * doc/Makefile.in: Rebuild.
170 2020-07-24 Nick Clifton <nickc@redhat.com>
172 * README-how-to-make-a-release: Various small updates whilst
173 creating the 2.35 release.
175 2020-07-22 Nick Alcock <nick.alcock@oracle.com>
177 * testsuite/lib/binutils-common.exp (run_dump_test): Add 'cc'
180 2020-07-22 Nick Alcock <nick.alcock@oracle.com>
182 * objdump.c (dump_ctf_archive_member): Remove linefeeds.
183 (dump_ctf): Likewise.
185 2020-07-22 Nick Alcock <nick.alcock@oracle.com>
187 * objdump.c (ctf_archive_member): Print CTF errors and warnings.
188 * readelf.c (dump_ctf_archive_member): Likewise.
190 2020-07-22 Nick Clifton <nickc@redhat.com>
192 * readelf.c (parse_args): Silence potential warnings about a
193 memory resource leak when allocating space for ctf option values.
194 (dump_section_as_ctf): Fix typo checking dump_ctf_strtab_name
197 2020-07-21 Nick Clifton <nickc@redhat.com>
199 * po/sv.po: Updated Swedish translation.
201 2020-07-14 Claudiu Zissulescu <claziss@gmail.com>
203 * testsuite/binutils-all/arc/double_regs.s: New test.
204 * testsuite/binutils-all/arc/objdump.exp: Add the above test.
206 2020-07-13 Nick Clifton <nickc@redhat.com>
208 * po/fr.po: Updated French translation.
210 2020-07-13 Alan Modra <amodra@gmail.com>
212 * testsuite/lib/binutils-common.exp (is_pecoff_format): Accept
213 optional machine-os arg.
215 2020-07-11 H.J. Lu <hongjiu.lu@intel.com>
217 * readelf.c (decode_x86_feature_2): Handle
218 GNU_PROPERTY_X86_FEATURE_2_TMM.
220 2020-07-10 Tom de Vries <tdevries@suse.de>
222 * dwarf.c (display_debug_lines_decoded): Don't emit meaningless
223 information in the end_sequence row.
224 * testsuite/binutils-all/dw5.W: Update.
225 * testsuite/binutils-all/objdump.WL: Update.
227 2020-07-09 Alan Modra <amodra@gmail.com>
229 * dlltool.c: Remove powerpc PE support and comments.
230 * configure.ac: Remove powerpc PE dlltool config.
231 * configure: Regenerate.
233 2020-07-09 Nick Clifton <nickc@redhat.com>
235 * rclex.c: Add OWNERDRAW keyword.
236 * rcparse.y: Add OWNERDRAW token.
237 (menuitem_flag) Add BITMAP and OWNERDRAW entries.
238 * resrc.c (write_rc_menuitems): Add support for OWNERDRAW and
240 * windres.c (extended_menuitems): Likewise.
241 * testsuite/binutils-all/windres/menuitem_flags.rc: New test.
243 2020-07-09 Alan Modra <amodra@gmail.com>
245 * readelf (slurp_hppa_unwind_table): Set table_len before use
246 in relocation sanity checks.
248 2020-07-07 Alan Modra <amodra@gmail.com>
250 * testsuite/binutils-all/ar.exp: Use is_xcoff_format.
251 * testsuite/binutils-all/nm.exp: Likewise.
252 * testsuite/binutils-all/copy-2.d: Run only for elf and pe targets.
253 * testsuite/binutils-all/copy-3.d: Run only for elf targets.
254 * testsuite/binutils-all/set-section-alignment.d: Likewise.
255 * testsuite/binutils-all/copy-4.d: Don't run for xcoff.
257 2020-07-07 Alan Modra <amodra@gmail.com>
259 * testsuite/lib/binutils-common.exp (is_xcoff_format): New.
260 * testsuite/binutils-all/objcopy.exp (pr25662): Exclude xcoff.
262 2020-07-06 Nick Clifton <nickc@redhat.com>
264 * po/bg.po: Updated Bulgarian translation.
265 * po/pt.po: Updated Portuguese translation.
266 * po/uk.po: Updated Ukranian translation.
268 2020-07-06 Alan Modra <amodra@gmail.com>
270 * readelf.c (print_dynamic_symbol): Don't sprintf to buffer to
273 2020-07-04 Nick Clifton <nickc@redhat.com>
275 * configure: Regenerate.
276 * po/binutils.pot: Regenerate.
278 2020-07-04 Nick Clifton <nickc@redhat.com>
280 Binutils 2.35 branch created.
282 2020-07-02 Nick Clifton <nickc@redhat.com>
285 * readelf.c (print_symbol): Handle truncation of symbol names.
286 (options): Add -T/--silent-truncation option.
287 (parse_args): Handle the option.
288 (print_dynamic_symbol): Correct calculation of width available to
290 * doc/binutils.texi: Document the -T option to readelf.
291 * NEWS: Mention the new feature.
293 2020-06-30 H.J. Lu <hongjiu.lu@intel.com>
295 * NEWS: Mention x86 NaCl target support removal.
296 * dwarf.c (init_dwarf_regnames_by_bfd_arch_and_mach): Remove
297 x86 NaCl target support.
298 * testsuite/binutils-all/elfedit-1.d: Likewise.
299 * testsuite/binutils-all/i386/i386.exp: Likewise.
300 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
301 * testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
302 * testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
303 * testsuite/binutils-all/x86-64/pr23494b-x32.d: Likewise.
304 * testsuite/binutils-all/x86-64/pr23494b.d: Likewise.
305 * testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
306 * testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
307 * testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
308 * testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
309 * testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
310 * testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
311 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
313 2020-06-30 Nick Clifton <nickc@redhat.com>
315 * dwarf.c (read_and_display_attr_value): Support
316 DW_FORM_GNU_strp_alt when used with DW_AT_dwo_name and
319 2020-06-30 Alan Modra <amodra@gmail.com>
321 * testsuite/binutils-all/readelf.exp (readelf_dump_test): Remove
324 2020-06-29 Hans-Peter Nilsson <hp@bitrange.com>
326 * dwarf.c (display_debug_str_offsets): Rename local variable
327 index to idx. Move to top of function.
329 2020-06-29 Alan Modra <amodra@gmail.com>
331 * dwarf.c: Use C style comments.
334 2020-06-27 Alan Modra <amodra@gmail.com>
336 * elfcomm.c (setup_nested_archive): Set nested_arch->file to NULL
338 (release_archive): Set fields of arch to NULL after freeing.
340 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
342 * readelf.c (dump_section_as_ctf): Support .ctf archives using
343 ctf_arc_bufopen. Automatically load the .ctf member of such
344 archives as the parent of all other members, unless specifically
345 overridden via --ctf-parent. Split out dumping code into...
346 (dump_ctf_archive_member): ... here, as in objdump, and call
347 it once per archive member.
348 (dump_ctf_indent_lines): Code style fix.
350 2020-06-26 Nick Alcock <nick.alcock@oracle.com>
352 * configure.ac [--enable-libctf]: New, default yes.
353 Set ENABLE_LIBCTF accordingly.
354 * Makefile.am [!ENABLE_LIBCTF]: Empty LIBCTF and LIBCTF_NOBFD.
355 * configure: Regenerate.
356 * config.in: Regenerate.
357 * Makefile.in: Regenerate.
358 * aclocal.m4: Regenerate.
359 * objdump.c (usage): Conditionalize portions on ENABLE_LIBCTF.
360 (option_values): Likewise.
361 (long_options): Likewise.
363 (dump_ctf_indent_lines): Conditionalize out when !ENABLE_LIBCTF.
364 (make_ctfsect): Likewise.
365 (dump_ctf_archive_member): Likewise.
366 (dump_ctf) [ENABLE_LIBCTF]: Likewise.
367 (dump_ctf) [!ENABLE_LIBCTF]: New empty stub.
368 * readelf.c (options): Conditionalize portions on ENABLE_LIBCTF.
370 (process_section_contents): Likewise.
371 (shdr_to_ctf_sect): Conditionalize out when !ENABLE_LIBCTF.
372 (dump_ctf_indent_lines): Likewise.
373 (dump_section_as_ctf) [ENABLE_LIBCTF]: Likewise.
375 2020-06-26 Jan Beulich <jbeulich@suse.com>
377 * doc/binutils.texi: Adjust description of x86's -Msuffix. Drop
378 redundant text from x86 specific part of -M section.
380 2020-06-26 Pat Bernardi <bernardi@adacore.com>
382 * readelf.c (display_m68k_gnu_attribute): New function.
383 (process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
385 2020-06-23 H.J. Lu <hongjiu.lu@intel.com>
388 * testsuite/binutils-all/pr26160.dwp.bz2: New file.
389 * testsuite/binutils-all/pr26160.r: Likewise.
390 * testsuite/binutils-all/readelf.exp: Run PR binutils/26160 test.
392 2020-06-23 Nick Clifton <nickc@redhat.com>
395 * dwarf.c (fetch_indexed_string): Detect and handle old style
396 .debug_str_offset tables.
397 (display_debug_str_offsets): Likewise. Also add support for
398 .debug_str_offsets.dwo sections.
400 2020-06-23 H.J. Lu <hongjiu.lu@intel.com>
403 * testsuite/binutils-all/pr26112.o.bz2: New file.
404 * testsuite/binutils-all/pr26112.r: Likewise.
405 * testsuite/binutils-all/readelf.exp: Run PR binutils/26112 test.
407 2020-06-23 Alan Modra <amodra@gmail.com>
409 * testsuite/binutils-all/objdump.exp (bintest.a): Correct
410 remote_file delete command.
412 2020-06-22 Nick Clifton <nickc@redhat.com>
415 * dwarf.c (display_debug_str_offsets): Add code to display the
416 contents of the .debug_str_offsets section.
417 (display_debug_macro): Add support for DW_MACRO_define_strx and
420 2020-06-22 Saagar Jha <saagar@saagarjha.com>
422 * od-macho.c: Dump linkedit data for new load commands.
424 2020-06-19 Alan Modra <amodra@gmail.com>
426 * testsuite/config/default.exp (ld_elf_shared_opt): Don't set.
427 * testsuite/lib/binutils-common.exp (check_relro_support): New proc.
428 (run_dump_test): Use check_relro_support to decide whether to pass
429 extra ld option "-z norelro".
431 2020-06-11 Alan Modra <amodra@gmail.com>
433 * readelf.c (process_mips_specific): Don't alloc memory for
434 Elf_Internal_Options.
436 2020-06-11 Alan Modra <amodra@gmail.com>
438 * readelf.c (process_mips_specific): Assert size of internal
439 types match size of external types, and simplify allocation of
440 internal buffer. Catch possible integer overflow when sanity
441 checking option size. Don't assume options are a regular array.
442 Sanity check reginfo option against option size. Use PRI macros
445 2020-06-10 Ralf Habacker <ralf.habacker@freenet.de>
448 * mclex.c (yylex): Reject lines that reach end-of-file without a
449 terminating newline character.
451 2020-06-08 Nick Clifton <nickc@redhat.com>
454 * doc/binutils.texi (strings): Fix typo.
456 2020-06-08 Nick Clifton <nickc@redhat.com>
459 * dwarf.c (process_debug_info): Check that there is space in the
460 debug_information array before filling in an entry.
462 2020-06-06 Alan Modra <amodra@gmail.com>
464 * doc/binutils.texi (PowerPC -M option): Mention power10 and pwr10.
466 2020-06-05 Joel Anderson <joelanderson333@gmail.com>
469 * mclex.c (yylex): Add test for an empty input stream.
471 2020-06-04 Stephen Casner <casner@acm.org>
473 * testsuite/binutils-all/pr25662-pdp11.s: Alternate source file
474 for test using section pseudo-ops compatible with pdp11.
475 * testsuite/binutils-all/objcopy.exp: Select alternate source.
477 2020-06-04 Jose E. Marchesi <jose.marchesi@oracle.com>
479 * objdump.c (disassemble_data): Set disasm_info.endian_code to
480 disasm_info.endian after the latter is initialized to the
481 endianness reported by BFD.
483 2020-06-04 Alan Modra <amodra@gmail.com>
485 * testsuite/binutils-all/i386/i386.exp: Remove global directive
487 * testsuite/binutils-all/x86-64/objects.exp: Likewise.
488 * testsuite/binutils-all/x86-64/x86-64.exp: Likewise.
490 2020-06-03 Joel Anderson <joelanderson333@gmail.com>
492 * windmc.h (struct mc_node): Add id_typecast field.
493 * mcparse.y (message): Initialise the id_typecast field.
494 * windmc.c (write_dbg): Use the id_typecast field as a parameter
495 when calling write_dbg_define.
496 (write_header): Likewise.
498 2020-06-03 Alan Modra <amodra@gmail.com>
501 * objcopy.c (copy_relocations_in_section): Free relpp on error.
502 Don't accidentally free isection->orelocation.
504 2020-06-02 Alan Modra <amodra@gmail.com>
506 * testsuite/binutils-all/ar.exp (obj): Set up object file name
507 extension. Use throughout. Don't completely exclude non-ELF
508 alpha targets. Run long_filenames test for tic30. Exclude thin
509 archive tests for aix, ecoff and vms.
510 * estsuite/binutils-all/objdump.exp (obj): Set up object file name
511 extension. Use throughout. Don't exclude non-ELF alpha targets
514 2020-05-28 Max Filippov <jcmvbkbc@gmail.com>
516 * MAINTAINERS (Xtensa): Add myself as maintainer.
518 2020-05-23 Alan Modra <amodra@gmail.com>
520 * testsuite/binutils-all/ar.exp (many_files): New test.
522 2020-05-21 Alan Modra <amodra@gmail.com>
524 * addr2line.c: Replace "if (x) free (x)" with "free (x)" throughout.
525 * dlltool.c: Likewise.
526 * elfcomm.c: Likewise.
528 * readelf.c: Likewise.
530 * windmc.c: Likewise.
531 * windres.c: Likewise.
532 * wrstabs.c: Likewise.
534 2020-05-21 Alan Modra <amodra@gmail.com>
536 * readelf.c (get_num_dynamic_syms): Bounds check mipsxlat array
539 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
541 * dwarf.c: Updated since DECLARE_CSR is changed.
543 2020-05-19 H.J. Lu <hjl.tools@gmail.com>
546 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC
547 segment doesn't match the .dynamic section and checks are
549 (struct filedata): Add dynamic_symtab_section and
550 dynamic_strtab_section fields.
551 (process_section_headers): Set dynamic_symtab_section to the
552 .dynsym section. Set dynamic_strtab_section to the .dynstr
554 (process_dynamic_section): Warn if the .dynsym section doesn't
555 match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't
556 DT_STRTAB and DT_STRSZ. But only if checks are enabled.
558 2020-05-19 Alan Modra <amodra@gmail.com>
560 * ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
561 (replace_members): Use bfd_get_filename rather than accessing
562 bfd->filename directly.
563 * arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
564 * binemul.c (do_ar_emul_append): Likewise.
565 * coffgrok.c (coff_grok): Likewise.
567 2020-05-18 Stafford Horne <shorne@gmail.com>
569 * MAINTAINERS (OR1K): Add myself as maintainer.
571 2020-05-07 Andrew Burgess <andrew.burgess@embecosm.com>
573 * doc/binutils.texi: Mention 'entry address' in the set-start and
574 adjust-start options descriptions.
576 2020-05-05 Nick Clifton <nickc@redhat.com>
578 * dwarf.c (do_checks): New global variable.
579 (display_formatted_table): Warn about an unexpected number of
580 columns in the table, if checks are enabled. Do not complain
581 about the lack of data following the number of entries in the
582 table if the table is empty.
583 (display_debug_lines_decoded): Only warn about an unexpected
584 number of columns in a table if checks are enabled.
585 * dwarf.h (do_checks): Add a prototype.
586 * elfcomm.c (error): Remove weak attribute.
588 * readelf.c (do_checks): Delete.
590 (process_section_headers): Only warn about empty sections if
593 2020-05-04 Fangrui Song <maskray@google.com>
595 * objcopy.c (copy_object): Allow empty section.
596 * testsuite/binutils-all/update-section.exp: Add test.
598 2020-05-04 Nick Clifton <nickc@redhat.com>
601 * dwarf.c (display_debug_lines_decoded): Warn if encountering a
602 supicious number of entries for DWARF-5 format directory and file
603 name tables. Do not display file name table header if the table
604 is empty. Do not allocate space for empty tables.
606 2020-05-04 Alan Modra <amodra@gmail.com>
608 * readelf.c (process_nds32_specific): Check size of .nds32_e_flags
609 section. Don't assume endian of host matches nds32 target. Free
612 2020-05-01 Alan Modra <amodra@gmail.com>
613 Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com>
615 * objdump.c (disassemble_bytes): Don't scan for zeros when
616 disassembling zeros. Translate "resuming at file offset" message.
617 Formatting. Replace some signed variables with unsigned.
619 2020-04-30 Alex Coplan <alex.coplan@arm.com>
621 * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new
623 * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise.
625 2020-04-30 Nick Clifton <nickc@redhat.com>
627 * testsuite/lib/binutils-common.exp (check_pie_support): New
630 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
632 * dwarf.c (display_debug_ranges): Ignore duplicate entries in
633 range_entries for the same offset.
635 2020-04-29 Nick Clifton <nickc@redhat.com>
637 * readelf.c (warn): New function - like elfcomm.c version but only
638 produces output if warnings are enabled.
639 (struct options): Add --lint and --enable-checks.
640 (usage): Add entry for --lint.
641 (parse_args): Handle -L. If checks are enabled but no dumps have
642 been selected then enable all dumps.
643 (process_section_headers): Replace long if-then-else sequence with
644 a switch. Add warning messages for empty SHT_REL, SHT_RELA and
645 SHT_PROGBITS sections.
646 (process_file): Do not complain if the file is an archive and lint
647 mode has been enabled.
648 * elfcomm.c (error): Make the function weak.
650 * NEWS: Mention the new feature.
651 * doc/binutils.texi: Document the new feature.
652 * dwarf.h (report_leb_status): Add file name and line number
653 parameters. Include them in the diagnostic output.
654 (READ_ULEB): Pass file and line number to report_leb_status.
655 (READ_SLEB): Likewise.
656 * dwarf.c (read_and_print_leb128): Pass file and line number to
658 * testsuite/binutils-all/readelf.exp: Add test of new feature.
659 * testsuite/binutils-all/zero-sec.s: New test source file.
660 * testsuite/binutils-all/zero-sec.r: Expected output from new
663 2020-04-29 Nick Clifton <nickc@redhat.com>
665 * po/sr.po: Updated Serbian translation.
667 2020-04-26 Alan Modra <amodra@gmail.com>
669 * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was
670 read before dereferencing, and gracefully return. Remove
671 gnu_hash_error variable. Free gnu hash arrays if number of
674 2020-04-24 Alan Modra <amodra@gmail.com>
676 * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains
678 (process_dynamic_section): Call get_num_dynamic_syms once rather
679 than in segment loop. Break out of segment loop on a successful
680 load of dynamic symbols. Formatting.
681 (process_object): Return error status from process_dynamic_section.
683 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com>
685 * elf-bfd.h (elfcore_write_arc_v2): Add prototype.
686 * elf.c (elfcore_grok_arc_v2): New function.
687 (elfcore_grok_note): Call the new function to handle the corresponding
689 (elfcore_write_arc_v2): New function.
690 (elfcore_write_register_note): Call the new function to handle the
691 corresponding pseudo-sections.
693 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
696 * readelf.c (is_none_reloc): Recognize
697 BFD_RELOC_XTENSA_PDIFF{8,16,32} and
698 BFD_RELOC_XTENSA_NDIFF{8,16,32}.
700 2020-04-22 Nick Clifton <nickc@redhat.com>
702 * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer.
704 2020-04-22 Alan Modra <amodra@gmail.com>
706 * readelf.c (archive_file_offset, archive_file_size, dynamic_addr),
707 (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length),
708 (num_dynamic_syms, nbuckets, nchains, buckets, chains),
709 (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains),
710 (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset),
711 (dynamic_syminfo_nent, program_interpreter, dynamic_info),
712 (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info),
713 (dynamic_section, symtab_shndx_list, group_count, section_groups),
714 (section_headers_groups): Move to struct filedata. Update use
717 2020-04-22 Alan Modra <amodra@gmail.com>
719 * readelf.c (struct dump_data): New, used..
720 (cmdline): ..here, and..
721 (struct filedata): ..here. Adjust all uses.
722 (request_dump_bynumber, request_dump, parse_args): Pass in a
723 struct dump_data* rather than Filedata*. Adjust callers.
724 (main): Don't set cmdline.file_name.
726 2020-04-20 Alan Modra <amodra@gmail.com>
728 * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets
731 2020-04-20 Alan Modra <amodra@gmail.com>
733 * readelf.c (process_section_headers): Free dynamic symbols etc.
736 2020-04-20 Alan Modra <amodra@gmail.com>
738 * readelf.c (get_num_dynamic_syms): Formatting. Don't return
739 on error without freeing.
740 (process_dynamic_section): Don't recreate dynamic symbols from
741 dynamic tag info when the dynamic symbols have already been
742 read via section headers.
744 2020-04-17 Fredrik Strupe <fredrik@strupe.net>
746 * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that
747 conditional VDUP instructions are disassembled correctly.
748 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
750 * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing
751 that VDUP instructions (which are conditional in A32) can be
752 disassembled in thumb mode.
753 * testsuite/binutils-all/arm/vdup-cond.s: New file used by
756 2020-04-17 Alan Modra <amodra@gmail.com>
759 * debug.c (debug_class_type_samep): Don't segfault on NULL type.
761 2020-04-16 Alan Modra <amodra@gmail.com>
763 * doc/binutils.texi: Mention --no-show-raw-insn in objdump
764 --no-addresses description.
766 2020-04-15 Alan Modra <amodra@gmail.com>
768 * objdump.c (no_addresses): New static var.
769 (usage): Print help for --no-addresses.
770 (long_options): Add --no-addresses entry.
771 (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address.
772 (disassemble_bytes): Don't print current line address, or reloc
774 * doc/binutils.texi: Document objdump --no-addresses.
776 2020-04-15 Alan Modra <amodra@gmail.com>
779 * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when
780 reading buckets or chains fails.
782 2020-04-15 Alan Modra <amodra@gmail.com>
784 * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
787 2020-04-15 Alan Modra <amodra@gmail.com>
789 * readelf.c (get_group_flags): Translate text.
790 (get_file_type, get_symbol_binding, get_symbol_type),
791 (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer.
793 2020-04-15 Alan Modra <amodra@gmail.com>
796 * readelf.c (get_num_dynamic_syms): Typo fix.
798 2020-04-14 Alan Modra <amodra@gmail.com>
800 * readelf.c (process_mips_specific): Free eopt and iopt. Avoid
801 possibility of overflow when checking number of conflicts.
803 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
806 * readelf.c (nbuckets): New.
810 (ngnubuckets): Likewise.
811 (gnubuckets): Likewise.
812 (gnuchains): Likewise.
813 (mipsxlat): Likewise.
814 (ngnuchains): Likewise.
815 (gnusymidx): Likewise.
816 (VALID_SYMBOL_NAME): Likewise.
817 (VALID_DYNAMIC_NAME): Use it.
818 (get_dynamic_data): Moved before process_dynamic_section.
819 (get_num_dynamic_syms): New function.
820 (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH,
821 DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol
822 table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string
824 (get_symbol_index_type): Don't print "bad section index" when
825 there is no section header.
826 (print_dynamic_symbol): Rewrite.
827 (process_symbol_table): Call print_dynamic_symbol to dump dynamic
830 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
832 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't
833 enable on *-*-solaris*.
835 2020-03-30 Nick Clifton <nickc@redhat.com>
838 * objcopy.c (copy_object): When copying PE format files set the
839 timestamp field in the pe_data structure if the preserve_dates
841 * testsuite/binutils-all/objcopy.exp (objcopy_test) Use
842 --preserve-dates in place of the -p option, in order to make its
845 2020-03-28 Alan Modra <amodra@gmail.com>
847 * testsuite/binutils-all/objcopy.exp (objcopy_test): Only
848 clear_xfail hppa*-*-*elf*. Revert mips xfails.
850 2020-03-28 Alan Modra <amodra@gmail.com>
852 * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails
853 from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x
854 but do xfail spu, mipstx39 and mips-sgi-irix for the executable
855 test. Pass "-p" to objcopy for the executable test.
857 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
860 * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to
861 specify whether an object file or executable should be built and tested.
862 Change test names to report whether an object file or executable is
864 * testsuite/binutils-all/pr25662.ld: New test.
865 * testsuite/binutils-all/pr25662.s: New test.
867 2020-03-27 Alan Modra <amodra@gmail.com>
869 * readelf.c (process_archive): Don't double free qualified_name.
870 Don't break out of loop with "negative" archive_file_size, just
871 set file offset to max.
873 2020-03-25 Alan Modra <amodra@gmail.com>
875 * readelf.c (process_archive): Prevent endless loop.
877 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
880 * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name
881 with bfd_get_symbol_version_string.
882 (print_symbo): Pass TRUE to bfd_get_symbol_version_string.
883 * objdump.c (objdump_print_symname): Likewise.
885 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
888 * nm.c (SYM_NAME): Removed.
889 (print_symname): Add a pointer to struct extended_symbol_info
890 argument. Call _bfd_elf_get_symbol_version_name to get symbol
892 (print_symdef_entry): Pass NULL to print_symname.
893 (print_symbol_info_bsd): Update call to print_symname.
894 (print_symbol_info_sysv): Likewise.
895 (print_symbol_info_posix): Likewise.
897 2020-03-24 Alan Modra <amodra@gmail.com>
899 * readelf.c (process_mips_specific): Free iconf on error path.
901 2020-03-23 Nick Clifton <nickc@redhat.com>
904 * wrstabs.c (stab_pop_type): Replace assertion with error return.
905 * write_stabs_in_sections_debugging_info: Likewise.
906 * stab_enum_type: Likewise.
907 * stab_modify_type: Likewise.
908 * stab_struct_field: Likewise.
909 * stab_end_struct_type: Likewise.
910 * stab_start_class_type: Likewise.
911 * stab_class_static_member: Likewise.
912 * stab_class_baseclass: Likewise.
913 * stab_class_start_method: Likewise.
914 * stab_class_method_var: Likewise.
915 * stab_class_end_method: Likewise.
916 * stab_end_class_type: Likewise.
917 * stab_typedef_type: Likewise.
918 * stab_start_function: Likewise.
919 * stab_end_block: Likewise.
920 * stab_lineno: Likewise.
922 2020-03-20 Nick Clifton <nickc@redhat.com>
924 * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT.
925 (process_section_headers): Check the return value from
926 get_compression_header.
927 (dump_section_as_strings): Likewise.
928 (dump_section_as_bytes): Likewise.
929 (load_specific_debug_section): Likewise.
931 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
933 * ar.c (main): Update bfd_plugin_set_program_name call.
934 * nm.c (main): Likewise.
936 2020-03-19 Nick Clifton <nickc@redhat.com>
939 * testsuite/binutils-all/dw4.s: New test source file.
940 * testsuite/binutils-all/nm.exp: Run the new test.
942 2020-03-19 H.J. Lu <hongjiu.lu@intel.com>
944 * readelf.c (process_symbol_table): Use unsigned long for si.
946 2020-03-19 Alan Modra <amodra@gmail.com>
948 * elfcomm.c: Don't include bfd.h or bucomm.h.
949 (program_name): Declare.
950 (process_archive_index_and_symbols): Replace bfd_boolean with int,
951 and substitute FALSE and TRUE.
952 (setup_archive, setup_nested_archive): Likewise.
953 * elfcomm.h: Likewise.
955 2020-03-19 Alan Modra <amodra@gmail.com>
957 * readelf.c (process_archive): Always return via path freeing
960 2020-03-19 Alan Modra <amodra@gmail.com>
962 * readelf.c (process_netbsd_elf_note): Validate descsz before
963 accessing descdata. Formatting.
965 2020-03-19 Alan Modra <amodra@gmail.com>
967 * elfcomm.c (setup_archive): Make file_size an off_t. Comment.
968 * elfcomm.h (setup_archive): Update prototype.
970 2020-03-16 Alan Modra <amodra@gmail.com>
972 * readelf.c (get_symbols): New function.
973 (process_relocs, ia64_process_unwind, hppa_process_unwind),
974 (arm_process_unwind, get_symbol_for_build_attribute): Use it.
976 2020-03-16 Alan Modra <amodra@gmail.com>
978 * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts.
979 Detect shift overflows and check that terminating byte is found.
980 Print an error on a bad uleb128.
982 2020-03-14 Alan Modra <amodra@gmail.com>
984 * readelf.c (process_file): Clean ba_cache.
986 2020-03-14 Alan Modra <amodra@gmail.com>
988 * elfcomm.h (setup_archive): Update prototype.
989 * elfcomm.c (setup_archive): Add file_size parameter and sanity
990 check longnames_size.
991 (setup_nested_archive): Get file size and pass to setup_archive.
992 * elfedit.c (process_archive): Likewise.
993 * readelf.c (process_archive): Pass filedata->file_size to
996 2020-03-14 Alan Modra <amodra@gmail.com>
998 * readelf.c (dump_section_as_strings): Free memory on error exit.
999 (dump_section_as_bytes, process_notes_at): Likewise.
1000 (get_build_id): Free enote.
1002 2020-03-13 Kamil Rytarowski <n54@gmx.com>
1004 * readelf.c (get_netbsd_elfcore_note_type): Add support for
1005 NT_NETBSDCORE_LWPSTATUS notes.
1007 2020-03-13 Alan Modra <amodra@gmail.com>
1009 * elfcomm.c (get_archive_member_name): Always return malloc'd
1011 * elfedit.c (process_archive): Tidy memory on all return paths.
1012 * readelf.c (process_archive): Likewise.
1013 (process_symbol_table): Likewise.
1014 (ba_cache): New, replacing ..
1015 (get_symbol_for_build_attribute): ..static vars here. Free
1016 strtab and symtab before loading new ones. Reject symtab without
1017 valid strtab in loop, breaking out of loop on valid symtab.
1018 (process_file): Free ba_cache symtab and strtab here, resetting
1021 2020-03-12 Alan Modra <amodra@gmail.com>
1023 * readelf.c (process_section_headers): Don't just set
1024 filedata->section_headers NULL, free it first. Similarly for
1025 dynamic_symbols, dynamic_strings, dynamic_syminfo and
1026 symtab_shndx_list. Zero associated counts too.
1027 (process_object): Free symtab_shndx_list.
1028 (process_file): Free various allocated filedata tables.
1030 2020-03-11 Nick Clifton <nickc@redhat.com>
1034 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
1035 li_segment_size fields.
1036 * dwarf.c (read_debug_line_header): Record the address size and
1037 segment selector size values (if present) in the lineinfo
1039 (display_formatted_table): Warn if the format count is empty but
1040 the table itself is not empty.
1041 Display the format count and entry count at the start of the table
1043 (display_debug_lines_raw): Display the address size and segement
1044 selector size fields, if present.
1045 * testsuite/binutils-all/dw5.W: Update expected output.
1047 2020-03-11 Alan Modra <amodra@gmail.com>
1050 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
1051 pad_to_set on second block of code dealing with padding.
1052 Replace "c" with "num_sec" and don't recalculate number of
1053 sections on second block. Size arrays using sizeof (element)
1054 rather than sizeof (element type).
1056 2020-03-10 Alan Modra <amodra@gmail.com>
1058 * objdump.c (disassemble_section): Don't call qsort unless
1059 sym count is at least two.
1060 (disassemble_data): Don't call memcpy with NULL src.
1062 2020-03-09 Alan Modra <amodra@gmail.com>
1065 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
1066 to get_data rather than multiplying.
1067 (dump_ia64_vms_dynamic_relocs): Likewise.
1068 (process_version_sections): Correct order of size and nmemb args
1070 (process_mips_specific): Likewise.
1072 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
1074 * readelf.c (get_dynamic_data): Replace "memory chekers" with
1075 "memory checkers" in comments.
1077 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
1080 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
1081 * doc/Makefile.in: Re-generate.
1083 2020-03-06 Nick Clifton <nickc@redhat.com>
1085 * objcopy.c (check_new_section_flags): New function. Reject the
1086 SEC_COFF_SHARED flag if the target is not a COFF binary.
1087 (copy_object): Call check_new_section_flags.
1088 (setup_section): Likewise.
1089 * doc/binutils.texi (objcopy): Add a note that the 'share' section
1090 flag cannot be applied to ELF binaries.
1092 2020-03-06 Alan Modra <amodra@gmail.com>
1095 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
1097 2020-03-05 Alan Modra <amodra@gmail.com>
1100 * objcopy.c (filter_symbols): Don't segfault on NULL
1101 prefix_symbols_string.
1103 2020-03-04 Christian Eggers <ceggers@gmx.de>
1105 * objcopy.c (copy_object): Convert from bytes to octets for
1106 --gap-fill and --pad-to.
1108 2020-03-03 Nick Clifton <nickc@redhat.com>
1111 * prdbg.c (pr_tag_type): Remove call to abort.
1113 2020-03-02 Aaron Merey <amerey@redhat.com>
1115 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
1118 2020-03-02 Nick Clifton <nickc@redhat.com>
1121 * readelf.c (dump_section_as_strings): Display new-line characters
1122 as \n and then insert a line break.
1123 * testsuite/binutils-all/pr25543.s: New test.
1124 * testsuite/binutils-all/pr25543.d: Test driver.
1125 * testsuite/binutils-all/readelf.exp: Run the new test.
1127 2020-02-27 Nick Clifton <nickc@redhat.com>
1130 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
1131 get_data is unable to load the string table.
1133 2020-02-26 Alan Modra <amodra@gmail.com>
1135 * elfedit.c: Indent labels correctly.
1136 * readelf.c: Likewise.
1137 * resres.c: Likewise.
1139 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
1142 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
1143 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
1145 2020-02-24 Nick Clifton <nickc@redhat.com>
1148 * doc/binutils.texi (objdump): Fix typo in description of
1149 objdump's -g option.
1151 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
1153 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
1156 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
1158 * objdump.c (show_line): call bfd_demangle when using do_demangle.
1160 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
1162 * configure: Regenerate.
1164 2020-02-10 Fangrui Song <maskray@google.com>
1166 * objcopy.c (parse_flags): Handle "exclude".
1167 * doc/binutils.texi: Document the support.
1169 2020-02-10 Aaron Merey <amerey@redhat.com>
1171 * binutils/testsuite/binutils-all/debuginfod.exp:
1172 Replace set ::env with setenv.
1173 Start server before setting environment variable.
1174 Specify tmpdir as the location of the server's
1176 Check additional server metrics at start-up.
1178 2020-02-07 Nick Clifton <nickc@redhat.com>
1180 * README-how-to-make-a-release: Add note about updating the
1181 GAS/NEWS URL in the next release.
1183 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1186 * readelf.c (get_machine_flags): Add support for Z80N machine
1189 2020-02-07 Nick Clifton <nickc@redhat.com>
1191 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
1192 of the truncated file name.
1194 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
1196 * objdump.c (print_jump_visualisation): New function.
1197 (disassemble_bytes): Call new function.
1199 2020-02-06 Alan Modra <amodra@gmail.com>
1201 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
1203 (supports_gnu_osabi): New procedure.
1204 (is_generic): New, from ld-lib.exp.
1205 (supports_gnu_unique): Use the above.
1207 2020-02-04 Alan Modra <amodra@gmail.com>
1209 * Makefile.am (CFILES): Add od-elf32_avr.c.
1210 * Makefile.in: Regenerate.
1211 * po/POTFILES.in: Regenerate.
1213 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
1215 * readelf.c (dump_relocations, dump_relocations)
1216 (decode_arm_unwind_bytecode, process_dynamic_section)
1217 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
1220 2020-02-03 Sergei Trofimovich <siarheit@google.com>
1222 * coffdump.c (program_name): Drop redundant definition.
1223 * srconv.c (program_name): Likewise
1224 * sysdump.c (program_name): Likewise
1226 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1229 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
1230 same file with different section pointers.
1232 2020-02-01 Nick Clifton <nickc@redhat.com>
1234 * README-how-to-make-a-release: Update with more details on the
1235 release making process.
1237 2020-01-31 Nick Clifton <nickc@redhat.com>
1239 * po/sv.po: Updated Swedish translation.
1241 2020-01-28 Nick Clifton <nickc@redhat.com>
1243 * readelf.c (get_build_id): Simplify warning message about corrupt
1244 notes encountered whilst scanning for the build-id.
1246 2020-01-27 Roland McGrath <mcgrathr@google.com>
1248 * objcopy.c (compare_gnu_build_notes): Fix comparison results
1249 for overlapping ranges so that (A == B) == (B == A) holds.
1251 2020-01-27 Alan Modra <amodra@gmail.com>
1253 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
1254 case statement with switch statement.
1256 2020-01-24 Nick Clifton <nickc@redhat.com>
1258 * readelf.c (get_build_id): Fix warning messages about corrupt
1261 2020-01-23 Nick Clifton <nickc@redhat.com>
1263 * po/fr.po: Updated French translation.
1265 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1268 * readelf.c (get_alpha_symbol_other): Fix error message typo.
1270 2020-01-20 Nick Clifton <nickc@redhat.com>
1272 * po/pt.po: Updated Portuguese translation.
1273 * po/uk.po: Updated Ukranian translation.
1275 2020-01-18 Nick Clifton <nickc@redhat.com>
1277 * README-how-to-make-a-release: Update notes on how to cut a
1278 branch for a release.
1280 2020-01-18 Nick Clifton <nickc@redhat.com>
1282 * configure: Regenerate.
1283 * po/binutils.pot: Regenerate.
1285 2020-01-18 Nick Clifton <nickc@redhat.com>
1287 Binutils 2.34 branch created.
1289 2020-01-17 Thomas Troeger <tstroege@gmx.de>
1291 * objdump.c (jump_info_visualize_address): Discard jumps that are
1293 (disassemble_bytes): Only compute the maximum level if jumps were
1296 2020-01-13 Nick Clifton <nickc@redhat.com>
1298 * objdump.c (disassemble_bytes): Remove C99-ism.
1299 * testsuite/binutils-all/debuginfod.exp: New tests.
1301 2020-01-13 Thomas Troeger <tstroege@gmx.de>
1303 * objdump.c (visualize_jumps, color_output, extended_color_output)
1304 (detected_jumps): New variables.
1305 (usage): Add the new jump visualization options.
1306 (option_values): Add new option value.
1307 (long_options): Add the new option.
1308 (jump_info_new, jump_info_free): New functions.
1309 (jump_info_min_address, jump_info_max_address): Likewise.
1310 (jump_info_end_address, jump_info_is_start_address): Likewise.
1311 (jump_info_is_end_address, jump_info_size): Likewise.
1312 (jump_info_unlink, jump_info_insert): Likewise.
1313 (jump_info_add_front, jump_info_move_linked): Likewise.
1314 (jump_info_intersect, jump_info_merge): Likewise.
1315 (jump_info_sort, jump_info_visualize_address): Likewise.
1316 (disassemble_jumps): New function - used to locate jumps.
1317 (disassemble_bytes): Add ascii art generation.
1318 (disassemble_section): Add scan to locate jumps.
1319 (main): Parse the new visualization option.
1320 * doc/binutils.texi: Document the new feature.
1321 * NEWS: Mention the new feature.
1323 2020-01-13 Alan Modra <amodra@gmail.com>
1327 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
1328 fde_fc col_type and col_offset.
1329 * readelf.c (apply_relocations): Move symsec check earlier.
1330 (free_debug_section): Free reloc_info.
1331 (process_notes_at): Free pnotes on error path.
1332 (process_object): Free dump_sects here..
1333 (process_archive): ..not here.
1335 2020-01-13 Alan Modra <amodra@gmail.com>
1338 * nm.c (display_rel_file): Free dyn_syms.
1340 2020-01-09 Nick Clifton <nickc@redhat.com>
1343 * objcopy.c (empty_name): New variable.
1344 (need_sym_before): Prevent an attempt to free a static variable.
1345 (filter_symbols): Avoid strcmp test by checking for pointer
1348 2020-01-09 Nick Clifton <nickc@redhat.com>
1350 * po/zh_TW.po: Updated Traditional Chinese translation.
1352 2020-01-09 Aaron Merey <amerey@redhat.com>
1354 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
1355 * Makefile.in: Regenerate.
1357 * config.in: Regenerate.
1358 * configure: Regenerate.
1359 * configure.ac: Call AC_DEBUGINFOD.
1360 * doc/Makefile.in: Regenerate.
1361 * doc/binutils.texi: Add section on using binutils
1363 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
1364 Query debuginfod servers for the target debug file.
1365 (load_separate_debug_info): Call
1366 debuginfod_fetch_separate_debug_info if configured with
1368 (load_separate_debug_files): Add file argument to
1369 load_separate_debug_info calls.
1370 * dwarf.h (get_build_id): Add declaration.
1371 * objdump.c (get_build_id): New function. Get build-id of file.
1372 * readelf.c (get_build_id): Likewise.
1373 * testsuite/binutils-all/debuginfod.exp: New tests.
1374 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
1377 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1379 * readelf.c: Add support for new Z*) relocations and machine
1382 2020-01-01 Alan Modra <amodra@gmail.com>
1384 Update year range in copyright notice of all files.
1386 For older changes see ChangeLog-2019
1388 Copyright (C) 2020 Free Software Foundation, Inc.
1390 Copying and distribution of this file, with or without modification,
1391 are permitted in any medium without royalty provided the copyright
1392 notice and this notice are preserved.
1398 version-control: never