MIPS/LD/testsuite: Make Linux dumps for n64 GOT relocation tests the default
authorMaciej W. Rozycki <macro@mips.com>
Tue, 10 Jul 2018 00:28:46 +0000 (01:28 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Tue, 10 Jul 2018 00:28:46 +0000 (01:28 +0100)
commit7153abac62fd8d7f20a307c85e3aa77a020ffc42
treed7a9a4b05e6be178146523bf72bc80438a8451e4
parentaa4bd7e6aef39f3d9264901fbb31473bd639bdd5
MIPS/LD/testsuite: Make Linux dumps for n64 GOT relocation tests the default

The current default dumps for n64 GOT relocation tests only work for
IRIX targets really, while the Linux dumps are suitable for non-Linux
targets as well.  Make the Linux dumps the default then and handle the
IRIX ones as a special case.

Define an `irix' variable as a shorthand for `[istarget *-*-irix*]' and
use it for these n64 GOT relocation tests as well as export class call
relocation tests.

ld/
* testsuite/ld-mips-elf/elf-rel-got-n64.d: Rename to...
* testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: ... this.
* testsuite/ld-mips-elf/elf-rel-got-n64-linux.d: Rename to...
* testsuite/ld-mips-elf/elf-rel-got-n64.d: ... this.
* testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Rename to...
* testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: ... this.
* testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.dd: Rename to...
* testsuite/ld-mips-elf/elf-rel-xgot-n64.d: ... this.
* testsuite/ld-mips-elf/mips-elf.exp: Update accordingly.
Define `irix' as a shorthand for `[istarget *-*-irix*]' and use
it throughout.
ld/ChangeLog
ld/testsuite/ld-mips-elf/elf-rel-got-n64-irix.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d [deleted file]
ld/testsuite/ld-mips-elf/elf-rel-got-n64.d
ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d [deleted file]
ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d
ld/testsuite/ld-mips-elf/mips-elf.exp
This page took 0.035001 seconds and 4 git commands to generate.