From 2bc779d782b10983c8e22c605c2371a2f44155b7 Mon Sep 17 00:00:00 2001
From: Andrew Cagney <cagney@redhat.com>
Date: Wed, 3 Sep 1997 07:36:09 +0000
Subject: [PATCH] Doc directory - README. Make suffix of executables to be run
 on simulator .run

---
 sim/testsuite/.Sanitize                      |  1 +
 sim/testsuite/mips64vr5900el-elf/ChangeLog   |  4 ++++
 sim/testsuite/mips64vr5900el-elf/Makefile.in | 24 ++++++++++----------
 3 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/sim/testsuite/.Sanitize b/sim/testsuite/.Sanitize
index 4164e3afd01..321d4e64df5 100644
--- a/sim/testsuite/.Sanitize
+++ b/sim/testsuite/.Sanitize
@@ -46,6 +46,7 @@ Things-to-lose:
 
 common
 tic80-coff
+README
 
 Do-last:
 
diff --git a/sim/testsuite/mips64vr5900el-elf/ChangeLog b/sim/testsuite/mips64vr5900el-elf/ChangeLog
index 4381f1346d7..7aa3e2248e3 100644
--- a/sim/testsuite/mips64vr5900el-elf/ChangeLog
+++ b/sim/testsuite/mips64vr5900el-elf/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep  3 14:32:42 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+	* Makefile.in (.o.run): Replace .tx59 with .run.
+
 Mon Sep  1 16:58:13 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 
 	* Makefile.in (TESTS): Add t-psrlvw, t-pabsh, t-pabsw.
diff --git a/sim/testsuite/mips64vr5900el-elf/Makefile.in b/sim/testsuite/mips64vr5900el-elf/Makefile.in
index 704b77d688e..3665de68ed6 100644
--- a/sim/testsuite/mips64vr5900el-elf/Makefile.in
+++ b/sim/testsuite/mips64vr5900el-elf/Makefile.in
@@ -157,20 +157,20 @@ sanity:
 
 # Rules for running the tests
 
-.SUFFIXES: .u .uue .ok .ok .tx59 .hi .ko .ko
-.tx59.ok:
+.SUFFIXES: .u .uue .ok .ok .run .hi .ko .ko
+.run.ok:
 	rm -f tmp-$* $*.hi
-	ulimit -t 5 ; $(RUN_FOR_TARGET) $*.tx59 > tmp-$*
+	ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
 	mv tmp-$* $*.ok
-.tx59.hi:
+.run.hi:
 	rm -f tmp-$* $*.hi diff-$*
-	ulimit -t 5 ; $(RUN_FOR_TARGET) $*.tx59 > tmp-$*
+	ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
 	echo "Hello World" | diff - tmp-$* > diff-$*
 	cat tmp-$* diff-$* > $*.hi
-.tx59.ko:
+.run.ko:
 	rm -f tmp-$* $*.ko
 	set +e ; \
-	ulimit -t 5 ; $(RUN_FOR_TARGET) $*.tx59 > tmp-$* ; \
+	ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$* ; \
 	if [ $$? -eq 47 ] ; then \
 	  exit 0 ; \
 	else \
@@ -182,13 +182,13 @@ sanity:
 # Rules for building all the tests and packing them into
 # uuencoded files.
 
-.tx59.u:
-	uuencode < $*.tx59 $*.tx59 > $*.u
+.run.u:
+	uuencode < $*.run $*.run > $*.u
 	@echo "Move $*.u $*.uue"
-.uue.tx59:
+.uue.run:
 	uudecode $(srcdir)/$*.uue
-.o.tx59:
-	$(LD_FOR_TARGET) -Ttext 0xa0020000 -o $*.tx59 $*.o
+.o.run:
+	$(LD_FOR_TARGET) -Ttext 0xa0020000 -o $*.run $*.o
 .s.o:
 	$(AS_FOR_TARGET) -I $(srcdir) $(srcdir)/$*.s -o $*.o