about summary refs log tree commit diff
path: root/sysdeps/mips/memset.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/memset.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/memset.S')
-rw-r--r--sysdeps/mips/memset.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/mips/memset.S b/sysdeps/mips/memset.S
index 7825dea880..46811340ec 100644
--- a/sysdeps/mips/memset.S
+++ b/sysdeps/mips/memset.S
@@ -34,6 +34,13 @@
 # define SWHI	swr		/* high part is right in little-endian	*/
 #endif
 
+#ifndef t0
+# define t0 a4
+#endif
+#ifndef t1
+# define t1 a5
+#endif
+
 ENTRY (memset)
 	.set	noreorder