MIPS: Fix `readelf -S bintest' test for n64 targets
authorYunQiang Su <yunqiang.su@cipunited.com>
Tue, 3 Oct 2023 11:41:02 +0000 (12:41 +0100)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Tue, 3 Oct 2023 11:41:02 +0000 (12:41 +0100)
commit1c9b44fe07569b6ed99557faa87d5b1c21413fbf
treed2cae0e383238afc00ce182a05885ba09442120c
parent8c7125feaaa495b2aa0fed6cd077e35d0d90df43
MIPS: Fix `readelf -S bintest' test for n64 targets

Add a 64-bit traditional MIPS dump variant for the `readelf -S bintest'
test from binutils-all/readelf.exp, using a filename suffix according to
the rules set there, removing:

FAIL: readelf -S bintest

regressions with `mips64-linux-gnuabi64', `mips64el-linux-gnuabi64',
`mips64-openbsd', and `mips64el-openbsd' targets, which default to the
n64 ABI and consequently produce a section layout that is different from
what the generic dump pattern covers.

Co-Authored-By: Maciej W. Rozycki <macro@orcam.me.uk>
binutils/
* testsuite/binutils-all/readelf.s-64-tmips: New test variant.
binutils/testsuite/binutils-all/readelf.s-64-tmips [new file with mode: 0644]