]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
s390: Simplify linker libgot-1 tests
authorJens Remus <jremus@linux.ibm.com>
Thu, 12 Feb 2026 12:44:01 +0000 (13:44 +0100)
committerJens Remus <jremus@linux.ibm.com>
Thu, 12 Feb 2026 12:44:01 +0000 (13:44 +0100)
commit7340fa361a52a57ef2f7d66860836c76e3abf9e7
tree42b0c4888064e145ce9d59a5f52e93feb7a5e5b4
parent1dc561f96d038156a49daa4c175a1ddb65a4469d
s390: Simplify linker libgot-1 tests

This applies Alan's x86 commit df865c395a62 ("libgot-1 testcases")
simplifications to the respective s390 linker tests.  With Alan's words:

There is no need for multiple tests of readelf --got-contents,
nor should the matching be so strict that changes in section layout
force editing of the testsuite.

ld/testsuite/
* ld-s390/binutils.exp (libgot-1*): Reduce number of tests.
* ld-s390/libgot_64-1.rd: New test.
* ld-s390/libgot_64-1a.rd: Remove.
* ld-s390/libgot_64-1b.rd: Likewise.
* ld-s390/libgot_64-1c.rd: Likewise.
* ld-s390/libgot_64-1d.rd: Likewise.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
ld/testsuite/ld-s390/binutils.exp
ld/testsuite/ld-s390/libgot_64-1.rd [new file with mode: 0644]
ld/testsuite/ld-s390/libgot_64-1a.rd [deleted file]
ld/testsuite/ld-s390/libgot_64-1b.rd [deleted file]
ld/testsuite/ld-s390/libgot_64-1c.rd [deleted file]
ld/testsuite/ld-s390/libgot_64-1d.rd [deleted file]