Change the output of readelf's note display so that the "Data size" column header...
authorNick Clifton <nickc@redhat.com>
Thu, 8 Aug 2019 16:04:31 +0000 (17:04 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 8 Aug 2019 16:04:31 +0000 (17:04 +0100)
commitdbe15e4e1dda8e20cc347ced751631d49a5f57de
tree790a819649f83dde0259f8312fe4743e34d8a4c6
parent7b1dd701059ead8f3af3c081fc9727b9883a74c3
Change the output of readelf's note display so that the "Data size" column header is left justified.

PR 24887
binutils* readelf.c (process_notes_at): Left justify the "Data size"
column heading.
* testsuite/binutils-all/i386/empty.d: Adjust for new output format.
* testsuite/binutils-all/i386/ibt.d: Likewise.
* testsuite/binutils-all/i386/pr21231a.d: Likewise.
* testsuite/binutils-all/i386/pr21231b.d: Likewise.
* testsuite/binutils-all/i386/shstk.d: Likewise.
* testsuite/binutils-all/note-2-32.d: Likewise.
* testsuite/binutils-all/note-2-64.d: Likewise.
* testsuite/binutils-all/x86-64/empty-x32.d: Likewise.
* testsuite/binutils-all/x86-64/empty.d: Likewise.
* testsuite/binutils-all/x86-64/ibt-x32.d: Likewise.
* testsuite/binutils-all/x86-64/ibt.d: Likewise.
* testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494a-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494a.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494c.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494d.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e-x32.d: Likewise.
* testsuite/binutils-all/x86-64/pr23494e.d: Likewise.
* testsuite/binutils-all/x86-64/shstk-x32.d: Likewise.
* testsuite/binutils-all/x86-64/shstk.d: Likewise.

ld * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
from readelf.
* testsuite/ld-aarch64/bti-plt-4.d: Likewise.
* testsuite/ld-aarch64/bti-plt-6.d: Likewise.
* testsuite/ld-aarch64/bti-plt-7.d: Likewise.
* testsuite/ld-aarch64/bti-warn.d: Likewise.
* testsuite/ld-aarch64/property-bti-pac1.d: Likewise.
* testsuite/ld-aarch64/property-bti-pac2.d: Likewise.
* testsuite/ld-aarch64/property-bti-pac3.d: Likewise.
* testsuite/ld-elf/x86-feature-1a.rd: Likewise.
* testsuite/ld-elf/x86-feature-1b.rd: Likewise.
* testsuite/ld-elf/x86-feature-1c.rd: Likewise.
* testsuite/ld-elf/x86-feature-1d.rd: Likewise.
* testsuite/ld-elf/x86-feature-1e.rd: Likewise.
* testsuite/ld-i386/ibt-plt-2d.d: Likewise.
* testsuite/ld-i386/ibt-plt-3d.d: Likewise.
* testsuite/ld-i386/pr23372a.d: Likewise.
* testsuite/ld-i386/pr23372c.d: Likewise.
* testsuite/ld-i386/pr23486a.d: Likewise.
* testsuite/ld-i386/pr23486b.d: Likewise.
* testsuite/ld-i386/pr23486c.d: Likewise.
* testsuite/ld-i386/pr23486d.d: Likewise.
* testsuite/ld-i386/pr24322a.d: Likewise.
* testsuite/ld-i386/pr24322b.d: Likewise.
* testsuite/ld-i386/property-x86-3.d: Likewise.
* testsuite/ld-i386/property-x86-4a.d: Likewise.
* testsuite/ld-i386/property-x86-5.d: Likewise.
* testsuite/ld-i386/property-x86-cet1.d: Likewise.
* testsuite/ld-i386/property-x86-cet2a.d: Likewise.
* testsuite/ld-i386/property-x86-cet5a.d: Likewise.
* testsuite/ld-i386/property-x86-cet5b.d: Likewise.
* testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
* testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
* testsuite/ld-i386/property-x86-ibt2.d: Likewise.
* testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
* testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
* testsuite/ld-i386/property-x86-ibt4.d: Likewise.
* testsuite/ld-i386/property-x86-ibt5.d: Likewise.
* testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
* testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
* testsuite/ld-i386/property-x86-shstk2.d: Likewise.
* testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
* testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
* testsuite/ld-i386/property-x86-shstk4.d: Likewise.
* testsuite/ld-i386/property-x86-shstk5.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
* testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
* testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
* testsuite/ld-x86-64/pr23372a.d: Likewise.
* testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
* testsuite/ld-x86-64/pr23372c.d: Likewise.
* testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486a.d: Likewise.
* testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486b.d: Likewise.
* testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486c.d: Likewise.
* testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
* testsuite/ld-x86-64/pr23486d.d: Likewise.
* testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
* testsuite/ld-x86-64/pr24322a.d: Likewise.
* testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
* testsuite/ld-x86-64/pr24322b.d: Likewise.
* testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458a.d: Likewise.
* testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458b.d: Likewise.
* testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
* testsuite/ld-x86-64/pr24458c.d: Likewise.
* testsuite/ld-x86-64/property-1.r: Likewise.
* testsuite/ld-x86-64/property-1a.r: Likewise.
* testsuite/ld-x86-64/property-2.r: Likewise.
* testsuite/ld-x86-64/property-2a.r: Likewise.
* testsuite/ld-x86-64/property-3.r: Likewise.
* testsuite/ld-x86-64/property-3a.r: Likewise.
* testsuite/ld-x86-64/property-4.r: Likewise.
* testsuite/ld-x86-64/property-4a.r: Likewise.
* testsuite/ld-x86-64/property-5.r: Likewise.
* testsuite/ld-x86-64/property-5a.r: Likewise.
* testsuite/ld-x86-64/property-6.r: Likewise.
* testsuite/ld-x86-64/property-7.r: Likewise.
* testsuite/ld-x86-64/property-7a.r: Likewise.
* testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-3.d: Likewise.
* testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-4a.d: Likewise.
* testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-5.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
* testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.

gas * testsuite/gas/i386/property-1.d: Adjust for new output format
from readelf.
* testsuite/gas/i386/property-2.d: Likewise.
* testsuite/gas/i386/x86-64-property-1.d: Likewise.
* testsuite/gas/i386/x86-64-property-2.d: Likewise.
156 files changed:
binutils/ChangeLog
binutils/readelf.c
binutils/testsuite/binutils-all/i386/empty.d
binutils/testsuite/binutils-all/i386/ibt.d
binutils/testsuite/binutils-all/i386/pr21231a.d
binutils/testsuite/binutils-all/i386/pr21231b.d
binutils/testsuite/binutils-all/i386/shstk.d
binutils/testsuite/binutils-all/note-2-32.d
binutils/testsuite/binutils-all/note-2-64.d
binutils/testsuite/binutils-all/x86-64/empty-x32.d
binutils/testsuite/binutils-all/x86-64/empty.d
binutils/testsuite/binutils-all/x86-64/ibt-x32.d
binutils/testsuite/binutils-all/x86-64/ibt.d
binutils/testsuite/binutils-all/x86-64/pr21231a.d
binutils/testsuite/binutils-all/x86-64/pr21231b.d
binutils/testsuite/binutils-all/x86-64/pr23494a-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494a.d
binutils/testsuite/binutils-all/x86-64/pr23494c-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494c.d
binutils/testsuite/binutils-all/x86-64/pr23494d-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494d.d
binutils/testsuite/binutils-all/x86-64/pr23494e-x32.d
binutils/testsuite/binutils-all/x86-64/pr23494e.d
binutils/testsuite/binutils-all/x86-64/shstk-x32.d
binutils/testsuite/binutils-all/x86-64/shstk.d
gas/ChangeLog
gas/testsuite/gas/i386/property-1.d
gas/testsuite/gas/i386/property-2.d
gas/testsuite/gas/i386/x86-64-property-1.d
gas/testsuite/gas/i386/x86-64-property-2.d
ld/ChangeLog
ld/testsuite/ld-aarch64/bti-plt-2.d
ld/testsuite/ld-aarch64/bti-plt-4.d
ld/testsuite/ld-aarch64/bti-plt-6.d
ld/testsuite/ld-aarch64/bti-plt-7.d
ld/testsuite/ld-aarch64/bti-warn.d
ld/testsuite/ld-aarch64/property-bti-pac1.d
ld/testsuite/ld-aarch64/property-bti-pac2.d
ld/testsuite/ld-aarch64/property-bti-pac3.d
ld/testsuite/ld-elf/x86-feature-1a.rd
ld/testsuite/ld-elf/x86-feature-1b.rd
ld/testsuite/ld-elf/x86-feature-1c.rd
ld/testsuite/ld-elf/x86-feature-1d.rd
ld/testsuite/ld-elf/x86-feature-1e.rd
ld/testsuite/ld-i386/ibt-plt-2d.d
ld/testsuite/ld-i386/ibt-plt-3d.d
ld/testsuite/ld-i386/pr23372a.d
ld/testsuite/ld-i386/pr23372c.d
ld/testsuite/ld-i386/pr23486a.d
ld/testsuite/ld-i386/pr23486b.d
ld/testsuite/ld-i386/pr23486c.d
ld/testsuite/ld-i386/pr23486d.d
ld/testsuite/ld-i386/pr24322a.d
ld/testsuite/ld-i386/pr24322b.d
ld/testsuite/ld-i386/property-x86-3.d
ld/testsuite/ld-i386/property-x86-4a.d
ld/testsuite/ld-i386/property-x86-5.d
ld/testsuite/ld-i386/property-x86-cet1.d
ld/testsuite/ld-i386/property-x86-cet2a.d
ld/testsuite/ld-i386/property-x86-cet5a.d
ld/testsuite/ld-i386/property-x86-cet5b.d
ld/testsuite/ld-i386/property-x86-ibt1a.d
ld/testsuite/ld-i386/property-x86-ibt1b.d
ld/testsuite/ld-i386/property-x86-ibt2.d
ld/testsuite/ld-i386/property-x86-ibt3a.d
ld/testsuite/ld-i386/property-x86-ibt3b.d
ld/testsuite/ld-i386/property-x86-ibt4.d
ld/testsuite/ld-i386/property-x86-ibt5.d
ld/testsuite/ld-i386/property-x86-shstk1a.d
ld/testsuite/ld-i386/property-x86-shstk1b.d
ld/testsuite/ld-i386/property-x86-shstk2.d
ld/testsuite/ld-i386/property-x86-shstk3a.d
ld/testsuite/ld-i386/property-x86-shstk3b.d
ld/testsuite/ld-i386/property-x86-shstk4.d
ld/testsuite/ld-i386/property-x86-shstk5.d
ld/testsuite/ld-x86-64/ibt-plt-2d-x32.d
ld/testsuite/ld-x86-64/ibt-plt-2d.d
ld/testsuite/ld-x86-64/ibt-plt-3d-x32.d
ld/testsuite/ld-x86-64/ibt-plt-3d.d
ld/testsuite/ld-x86-64/pr23372a-x32.d
ld/testsuite/ld-x86-64/pr23372a.d
ld/testsuite/ld-x86-64/pr23372c-x32.d
ld/testsuite/ld-x86-64/pr23372c.d
ld/testsuite/ld-x86-64/pr23486a-x32.d
ld/testsuite/ld-x86-64/pr23486a.d
ld/testsuite/ld-x86-64/pr23486b-x32.d
ld/testsuite/ld-x86-64/pr23486b.d
ld/testsuite/ld-x86-64/pr23486c-x32.d
ld/testsuite/ld-x86-64/pr23486c.d
ld/testsuite/ld-x86-64/pr23486d-x32.d
ld/testsuite/ld-x86-64/pr23486d.d
ld/testsuite/ld-x86-64/pr24322a-x32.d
ld/testsuite/ld-x86-64/pr24322a.d
ld/testsuite/ld-x86-64/pr24322b-x32.d
ld/testsuite/ld-x86-64/pr24322b.d
ld/testsuite/ld-x86-64/pr24458a-x32.d
ld/testsuite/ld-x86-64/pr24458a.d
ld/testsuite/ld-x86-64/pr24458b-x32.d
ld/testsuite/ld-x86-64/pr24458b.d
ld/testsuite/ld-x86-64/pr24458c-x32.d
ld/testsuite/ld-x86-64/pr24458c.d
ld/testsuite/ld-x86-64/property-1.r
ld/testsuite/ld-x86-64/property-1a.r
ld/testsuite/ld-x86-64/property-2.r
ld/testsuite/ld-x86-64/property-2a.r
ld/testsuite/ld-x86-64/property-3.r
ld/testsuite/ld-x86-64/property-3a.r
ld/testsuite/ld-x86-64/property-4.r
ld/testsuite/ld-x86-64/property-4a.r
ld/testsuite/ld-x86-64/property-5.r
ld/testsuite/ld-x86-64/property-5a.r
ld/testsuite/ld-x86-64/property-6.r
ld/testsuite/ld-x86-64/property-7.r
ld/testsuite/ld-x86-64/property-7a.r
ld/testsuite/ld-x86-64/property-x86-3-x32.d
ld/testsuite/ld-x86-64/property-x86-3.d
ld/testsuite/ld-x86-64/property-x86-4a-x32.d
ld/testsuite/ld-x86-64/property-x86-4a.d
ld/testsuite/ld-x86-64/property-x86-5-x32.d
ld/testsuite/ld-x86-64/property-x86-5.d
ld/testsuite/ld-x86-64/property-x86-cet1-x32.d
ld/testsuite/ld-x86-64/property-x86-cet1.d
ld/testsuite/ld-x86-64/property-x86-cet2a-x32.d
ld/testsuite/ld-x86-64/property-x86-cet2a.d
ld/testsuite/ld-x86-64/property-x86-cet5a-x32.d
ld/testsuite/ld-x86-64/property-x86-cet5a.d
ld/testsuite/ld-x86-64/property-x86-cet5b-x32.d
ld/testsuite/ld-x86-64/property-x86-cet5b.d
ld/testsuite/ld-x86-64/property-x86-ibt1a-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt1a.d
ld/testsuite/ld-x86-64/property-x86-ibt1b-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt1b.d
ld/testsuite/ld-x86-64/property-x86-ibt2-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt2.d
ld/testsuite/ld-x86-64/property-x86-ibt3a-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt3a.d
ld/testsuite/ld-x86-64/property-x86-ibt3b-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt3b.d
ld/testsuite/ld-x86-64/property-x86-ibt4-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt4.d
ld/testsuite/ld-x86-64/property-x86-ibt5-x32.d
ld/testsuite/ld-x86-64/property-x86-ibt5.d
ld/testsuite/ld-x86-64/property-x86-shstk1a-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk1a.d
ld/testsuite/ld-x86-64/property-x86-shstk1b-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk1b.d
ld/testsuite/ld-x86-64/property-x86-shstk2-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk2.d
ld/testsuite/ld-x86-64/property-x86-shstk3a-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk3a.d
ld/testsuite/ld-x86-64/property-x86-shstk3b-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk3b.d
ld/testsuite/ld-x86-64/property-x86-shstk4-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk4.d
ld/testsuite/ld-x86-64/property-x86-shstk5-x32.d
ld/testsuite/ld-x86-64/property-x86-shstk5.d