[committed] MIPS/LD/testsuite: Make Linux dumps for n64 GOT relocation tests the default
Maciej W. Rozycki
macro@mips.com
Tue Jul 10 00:44:00 GMT 2018
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/testsuite/ld-mips-elf/elf-rel-got-n64-irix.d | 326 ++++++++
ld/testsuite/ld-mips-elf/elf-rel-got-n64-linux.d | 327 --------
ld/testsuite/ld-mips-elf/elf-rel-got-n64.d | 591 +++++++--------
ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d | 440 +++++++++++
ld/testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.d | 445 -----------
ld/testsuite/ld-mips-elf/elf-rel-xgot-n64.d | 823 +++++++++++-----------
ld/testsuite/ld-mips-elf/mips-elf.exp | 9
7 files changed, 1481 insertions(+), 1480 deletions(-)
binutils-ld-mips-test-reloc-n64-default.diff
[Patch attached compressed due to its size.]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-ld-mips-test-reloc-n64-default.diff.bz2
Type: application/octet-stream
Size: 10111 bytes
Desc:
URL: <https://sourceware.org/pipermail/binutils/attachments/20180710/a4c2f783/attachment.obj>
More information about the Binutils
mailing list