This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] 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/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.]

Attachment: binutils-ld-mips-test-reloc-n64-default.diff.bz2
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]