MIPS/LD/testsuite: mips-elf-flags: Use `-h' only with `readelf'
authorMaciej W. Rozycki <macro@imgtec.com>
Tue, 27 Jun 2017 01:58:27 +0000 (02:58 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Tue, 27 Jun 2017 01:58:27 +0000 (02:58 +0100)
commitb1a2d7a0e57abc06e6ec99c88ca9992780f45f71
treebe34cfc98152fc55d928d224e6f2217947a59c35
parenta6cbf936e3dce68114d28cdf60d510a3f78a6d40
MIPS/LD/testsuite: mips-elf-flags: Use `-h' only with `readelf'

For the purpose of link-time object compatibility handling verification
code in the `good_combination' procedure from the `mips-elf-flags.exp'
test script only examines the `e_flags' member of the ELF file header
and ignores data from any ELF program or section headers present.  Use
`readelf -h' rather than `readelf --headers' then to obtain data for
examination, avoiding unnecessary processing to extract this extraneous
information.

ld/
* testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):
Use `readelf -h' rather than `readelf --headers'.
ld/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf-flags.exp