summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-06-27 04:01:29 +0000
committerKhem Raj <kraj@mvista.com>2008-06-27 04:01:29 +0000
commitd3f9546960f56c05624e2932a899db7f1d38a480 (patch)
tree6c63cec6c57ad8060a4b6ef983b3b24ece5fc87c /libpthread/nptl/sysdeps/unix/sysv
parentda3e789d079c47fea519270269e0c63dd5d497e2 (diff)
downloaduClibc-alpine-d3f9546960f56c05624e2932a899db7f1d38a480.tar.bz2
uClibc-alpine-d3f9546960f56c05624e2932a899db7f1d38a480.tar.xz
Sync build machinery stuff from trunk. Some more fixed for mips nptl port
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch2
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/mips/sysdep.h9
2 files changed, 9 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch
index 8011cc087..b5a21342b 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/Makefile.arch
@@ -5,7 +5,7 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-libpthread_SSRC = pt-clone.S pt-vfork.S
+libpthread_SSRC = pt-vfork.S
libpthread_CSRC = pthread_once.c
libc_a_CSRC = fork.c
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/sysdep.h b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/sysdep.h
index b8c5280ab..01c1a2891 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/sysdep.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/sysdep.h
@@ -75,7 +75,7 @@
#undef INTERNAL_SYSCALL_NCS
#define INTERNAL_SYSCALL_NCS(number, err, nr, args...) \
internal_syscall##nr (= number, , "r" (__v0), err, args)
-
+#undef internal_syscall0
#define internal_syscall0(ncs_init, cs_init, input, err, dummy...) \
({ \
long _sys_result; \
@@ -97,6 +97,7 @@
_sys_result; \
})
+#undef internal_syscall1
#define internal_syscall1(ncs_init, cs_init, input, err, arg1) \
({ \
long _sys_result; \
@@ -119,6 +120,7 @@
_sys_result; \
})
+#undef internal_syscall2
#define internal_syscall2(ncs_init, cs_init, input, err, arg1, arg2) \
({ \
long _sys_result; \
@@ -142,6 +144,7 @@
_sys_result; \
})
+#undef internal_syscall3
#define internal_syscall3(ncs_init, cs_init, input, err, arg1, arg2, arg3)\
({ \
long _sys_result; \
@@ -166,6 +169,7 @@
_sys_result; \
})
+#undef internal_syscall4
#define internal_syscall4(ncs_init, cs_init, input, err, arg1, arg2, arg3, arg4)\
({ \
long _sys_result; \
@@ -196,6 +200,7 @@
of GCC 3.4.3, this is sufficient. */
#define FORCE_FRAME_POINTER alloca (4)
+#undef internal_syscall5
#define internal_syscall5(ncs_init, cs_init, input, err, arg1, arg2, arg3, arg4, arg5)\
({ \
long _sys_result; \
@@ -225,6 +230,7 @@
_sys_result; \
})
+#undef internal_syscall6
#define internal_syscall6(ncs_init, cs_init, input, err, arg1, arg2, arg3, arg4, arg5, arg6)\
({ \
long _sys_result; \
@@ -255,6 +261,7 @@
_sys_result; \
})
+#undef internal_syscall7
#define internal_syscall7(ncs_init, cs_init, input, err, arg1, arg2, arg3, arg4, arg5, arg6, arg7)\
({ \
long _sys_result; \