about summary refs log tree commit diff
path: root/sysdeps/mips/memcpy.S
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:31:28 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-14 05:31:28 +0000
commit5ace1393645876e733698cc05dac51a8bfbec965 (patch)
treee08cb7f2ca53b792474e54da13dd31e1bdc8a171 /sysdeps/mips/memcpy.S
parent1b12a2cb728fc49d2282a058c0b67b708186fb2b (diff)
downloadglibc-5ace1393645876e733698cc05dac51a8bfbec965.tar.gz
glibc-5ace1393645876e733698cc05dac51a8bfbec965.tar.xz
glibc-5ace1393645876e733698cc05dac51a8bfbec965.zip
* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis. * sysdeps/mips/memset.S: Likewise. * sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11 depending on the ABI.
	* sysdeps/mips/memcpy.S: Map t0-3 to a4-7 on new abis.
	* sysdeps/mips/memset.S: Likewise.
	* sysdeps/mips/sys/regdef.h: Alias a4-7 or t0-3 to $8-11
	depending on the ABI.

2003-03-14  Alexandre Oliva  <aoliva@redhat.com>
Diffstat (limited to 'sysdeps/mips/memcpy.S')
-rw-r--r--sysdeps/mips/memcpy.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/mips/memcpy.S b/sysdeps/mips/memcpy.S
index 3d49ac976b..c77f1b8d97 100644
--- a/sysdeps/mips/memcpy.S
+++ b/sysdeps/mips/memcpy.S
@@ -40,6 +40,19 @@
 #  define SWLO	swl		/* low part is left in little-endian	*/
 #endif
 
+#ifndef t0
+# define t0 a4
+#endif
+#ifndef t1
+# define t1 a5
+#endif
+#ifndef t2
+# define t2 a6
+#endif
+#ifndef t3
+# define t3 a7
+#endif
+
 ENTRY (memcpy)
 	.set	noreorder