summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-08-09 21:35:19 -0400
committerRich Felker <dalias@aerifal.cx>2012-08-09 21:35:19 -0400
commit83b42d94bd1009da6a95052d9ef0edeb1c73c8e4 (patch)
treece40bd49b43764a54d667906bd5432ba791d3297
parentb3c4cc121f70faea45389fe7ddc1127ed5cbd8bb (diff)
downloadmusl-83b42d94bd1009da6a95052d9ef0edeb1c73c8e4.tar.gz
musl-83b42d94bd1009da6a95052d9ef0edeb1c73c8e4.tar.bz2
musl-83b42d94bd1009da6a95052d9ef0edeb1c73c8e4.tar.xz
musl-83b42d94bd1009da6a95052d9ef0edeb1c73c8e4.zip
add defines for number of sigset_t bytes syscalls expect
yet another gratuitous mips incompatibility...
-rw-r--r--arch/arm/bits/syscall.h2
-rw-r--r--arch/i386/bits/syscall.h2
-rw-r--r--arch/mips/bits/syscall.h2
-rw-r--r--arch/x86_64/bits/syscall.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/bits/syscall.h b/arch/arm/bits/syscall.h
index 816d7b05..9932c9e5 100644
--- a/arch/arm/bits/syscall.h
+++ b/arch/arm/bits/syscall.h
@@ -3,6 +3,8 @@
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
+#define __SYSCALL_SSLEN 8
+
long (__syscall)(long, ...);
static inline long __syscall0(long n)
diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h
index 37b339c0..4b574e99 100644
--- a/arch/i386/bits/syscall.h
+++ b/arch/i386/bits/syscall.h
@@ -3,6 +3,8 @@
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
#define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x))
+#define __SYSCALL_SSLEN 8
+
static inline long __syscall0(long __n)
{
unsigned long __ret;
diff --git a/arch/mips/bits/syscall.h b/arch/mips/bits/syscall.h
index 868ce0fe..6c51bab9 100644
--- a/arch/mips/bits/syscall.h
+++ b/arch/mips/bits/syscall.h
@@ -3,6 +3,8 @@
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
+#define __SYSCALL_SSLEN 16
+
long (__syscall)(long, ...);
static inline long __syscall0(long n)
diff --git a/arch/x86_64/bits/syscall.h b/arch/x86_64/bits/syscall.h
index 61a67a70..567cfcb7 100644
--- a/arch/x86_64/bits/syscall.h
+++ b/arch/x86_64/bits/syscall.h
@@ -1,6 +1,8 @@
#define __SYSCALL_LL_E(x) (x)
#define __SYSCALL_LL_O(x) (x)
+#define __SYSCALL_SSLEN 8
+
static inline long __syscall0(long __n)
{
unsigned long __ret;