summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2006-08-30 23:34:31 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2006-08-30 23:34:31 +0000
commit0598a2ce2991c753761340d2f4e88c745107955f (patch)
treed84a0e366c85cdb828c457c5ec9e1834b5f50747
parent6691f112a4cc1285ad1027778c9839f0fb893841 (diff)
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Update from glibc
ports mainline. git-svn-id: svn://svn.eglibc.org/branches/eglibc-2_3@122 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r--libc/ChangeLog.eglibc5
-rw-r--r--libc/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h27
2 files changed, 15 insertions, 17 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index 57156cb8a..c9d3e7ee1 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,3 +1,8 @@
+2006-08-30 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Update from glibc
+ ports mainline.
+
2006-08-26 Joseph Myers <joseph@codesourcery.com>
* io/test-lfs.c (do_prepare): Give name_len type size_t.
diff --git a/libc/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h b/libc/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
index 6ad11c37c..3da241225 100644
--- a/libc/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
+++ b/libc/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
@@ -1,5 +1,4 @@
-/* Copyright (C) 2000, 2002, 2003, 2004, 2005
- Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -208,16 +207,15 @@
register long __a3 asm("$7") = (long) arg4; \
__asm__ volatile ( \
".set\tnoreorder\n\t" \
- "lw\t$2, %6\n\t" \
"subu\t$29, 32\n\t" \
- "sw\t$2, 16($29)\n\t" \
+ "sw\t%6, 16($29)\n\t" \
cs_init \
"syscall\n\t" \
"addiu\t$29, 32\n\t" \
".set\treorder" \
: "=r" (__v0), "+r" (__a3) \
: input, "r" (__a0), "r" (__a1), "r" (__a2), \
- "m" ((long)arg5) \
+ "r" ((long)arg5) \
: __SYSCALL_CLOBBERS); \
err = __a3; \
_sys_result = __v0; \
@@ -238,18 +236,16 @@
register long __a3 asm("$7") = (long) arg4; \
__asm__ volatile ( \
".set\tnoreorder\n\t" \
- "lw\t$2, %6\n\t" \
- "lw\t$8, %7\n\t" \
"subu\t$29, 32\n\t" \
- "sw\t$2, 16($29)\n\t" \
- "sw\t$8, 20($29)\n\t" \
+ "sw\t%6, 16($29)\n\t" \
+ "sw\t%7, 20($29)\n\t" \
cs_init \
"syscall\n\t" \
"addiu\t$29, 32\n\t" \
".set\treorder" \
: "=r" (__v0), "+r" (__a3) \
: input, "r" (__a0), "r" (__a1), "r" (__a2), \
- "m" ((long)arg5), "m" ((long)arg6) \
+ "r" ((long)arg5), "r" ((long)arg6) \
: __SYSCALL_CLOBBERS); \
err = __a3; \
_sys_result = __v0; \
@@ -270,20 +266,17 @@
register long __a3 asm("$7") = (long) arg4; \
__asm__ volatile ( \
".set\tnoreorder\n\t" \
- "lw\t$2, %6\n\t" \
- "lw\t$8, %7\n\t" \
- "lw\t$9, %8\n\t" \
"subu\t$29, 32\n\t" \
- "sw\t$2, 16($29)\n\t" \
- "sw\t$8, 20($29)\n\t" \
- "sw\t$9, 24($29)\n\t" \
+ "sw\t%6, 16($29)\n\t" \
+ "sw\t%7, 20($29)\n\t" \
+ "sw\t%8, 24($29)\n\t" \
cs_init \
"syscall\n\t" \
"addiu\t$29, 32\n\t" \
".set\treorder" \
: "=r" (__v0), "+r" (__a3) \
: input, "r" (__a0), "r" (__a1), "r" (__a2), \
- "m" ((long)arg5), "m" ((long)arg6), "m" ((long)arg7) \
+ "r" ((long)arg5), "r" ((long)arg6), "r" ((long)arg7) \
: __SYSCALL_CLOBBERS); \
err = __a3; \
_sys_result = __v0; \