[readelf] Fix end_seq entry in -wL. Specifically stop the display of a line number...
authorTom de Vries <tdevries@suse.de>
Fri, 10 Jul 2020 10:25:44 +0000 (11:25 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 10 Jul 2020 10:25:44 +0000 (11:25 +0100)
commitaf2b31864802e6ca75b2c98ce4a4a7deb9d5c608
tree1a7e44415b65182dba2884bd8e9c9c93ef6e074d
parentd882c9889312591a8bfdbc1740938780cd4032bd
[readelf] Fix end_seq entry in -wL.  Specifically stop the display of a line number and is_statement/has-view fields for the End of Sequence operator, as these have no meaning.

binutils* dwarf.c (display_debug_lines_decoded): Don't emit meaningless
information in the end_sequence row.
* testsuite/binutils-all/dw5.W: Update.
* testsuite/binutils-all/objdump.WL: Update.

gas * testsuite/gas/elf/dwarf2-11.d: Update expected output from
readelf's line table decoding.
* testsuite/gas/elf/dwarf2-12.d: Likewise.
* testsuite/gas/elf/dwarf2-13.d: Likewise.
* testsuite/gas/elf/dwarf2-14.d: Likewise.
* testsuite/gas/elf/dwarf2-15.d: Likewise.
* testsuite/gas/elf/dwarf2-16.d: Likewise.
* testsuite/gas/elf/dwarf2-17.d: Likewise.
* testsuite/gas/elf/dwarf2-18.d: Likewise.
* testsuite/gas/elf/dwarf2-19.d: Likewise.
* testsuite/gas/elf/dwarf2-5.d: Likewise.
* testsuite/gas/elf/dwarf2-6.d: Likewise.
* testsuite/gas/elf/dwarf2-7.d: Likewise.
17 files changed:
binutils/ChangeLog
binutils/dwarf.c
binutils/testsuite/binutils-all/dw5.W
binutils/testsuite/binutils-all/objdump.WL
gas/ChangeLog
gas/testsuite/gas/elf/dwarf2-11.d
gas/testsuite/gas/elf/dwarf2-12.d
gas/testsuite/gas/elf/dwarf2-13.d
gas/testsuite/gas/elf/dwarf2-14.d
gas/testsuite/gas/elf/dwarf2-15.d
gas/testsuite/gas/elf/dwarf2-16.d
gas/testsuite/gas/elf/dwarf2-17.d
gas/testsuite/gas/elf/dwarf2-18.d
gas/testsuite/gas/elf/dwarf2-19.d
gas/testsuite/gas/elf/dwarf2-5.d
gas/testsuite/gas/elf/dwarf2-6.d
gas/testsuite/gas/elf/dwarf2-7.d