summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/arm/bsd-_setjmp.S4
-rw-r--r--libc/sysdeps/linux/arm/bsd-setjmp.S4
-rw-r--r--libc/sysdeps/linux/arm/setjmp.S3
-rw-r--r--libc/sysdeps/linux/frv/setjmp.S5
-rw-r--r--libc/sysdeps/linux/hppa/setjmp.S5
-rw-r--r--libc/sysdeps/linux/vax/clone.S2
-rw-r--r--libc/sysdeps/linux/x86_64/bsd-_setjmp.S4
7 files changed, 0 insertions, 27 deletions
diff --git a/libc/sysdeps/linux/arm/bsd-_setjmp.S b/libc/sysdeps/linux/arm/bsd-_setjmp.S
index 4e36143f8..f70073266 100644
--- a/libc/sysdeps/linux/arm/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/arm/bsd-_setjmp.S
@@ -21,10 +21,6 @@
We cannot do it in C because it must be a tail-call, so frame-unwinding
in setjmp doesn't clobber the state restored by longjmp. */
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
-
.global _setjmp
.type _setjmp,%function
.align 2
diff --git a/libc/sysdeps/linux/arm/bsd-setjmp.S b/libc/sysdeps/linux/arm/bsd-setjmp.S
index e803d1583..6253c6675 100644
--- a/libc/sysdeps/linux/arm/bsd-setjmp.S
+++ b/libc/sysdeps/linux/arm/bsd-setjmp.S
@@ -21,10 +21,6 @@
We cannot do it in C because it must be a tail-call, so frame-unwinding
in setjmp doesn't clobber the state restored by longjmp. */
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
-
.global setjmp
.type setjmp,%function
.align 2
diff --git a/libc/sysdeps/linux/arm/setjmp.S b/libc/sysdeps/linux/arm/setjmp.S
index dea6f5675..ceea96a40 100644
--- a/libc/sysdeps/linux/arm/setjmp.S
+++ b/libc/sysdeps/linux/arm/setjmp.S
@@ -18,9 +18,6 @@
02111-1307 USA. */
#include <features.h>
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
.global __sigsetjmp
.type __sigsetjmp,%function
diff --git a/libc/sysdeps/linux/frv/setjmp.S b/libc/sysdeps/linux/frv/setjmp.S
index 455e61178..66008d12a 100644
--- a/libc/sysdeps/linux/frv/setjmp.S
+++ b/libc/sysdeps/linux/frv/setjmp.S
@@ -1,8 +1,3 @@
-#include <features.h>
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
-
.text
/* This just does a tail-call to `__sigsetjmp (ARG, 0)'.
diff --git a/libc/sysdeps/linux/hppa/setjmp.S b/libc/sysdeps/linux/hppa/setjmp.S
index c2ba4fb1b..fdc4c424b 100644
--- a/libc/sysdeps/linux/hppa/setjmp.S
+++ b/libc/sysdeps/linux/hppa/setjmp.S
@@ -17,11 +17,6 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#define _ASM
-#define _SETJMP_H
-#include <bits/setjmp.h>
-
-
.text
.align 4
.import __sigjmp_save, code
diff --git a/libc/sysdeps/linux/vax/clone.S b/libc/sysdeps/linux/vax/clone.S
index 0e9331e64..086adc685 100644
--- a/libc/sysdeps/linux/vax/clone.S
+++ b/libc/sysdeps/linux/vax/clone.S
@@ -18,8 +18,6 @@
/* clone() is even more special than fork() as it mucks with stacks
and invokes a function in the right context after its all over. */
-#include <features.h>
-#include <bits/errno.h>
#include <sys/syscall.h>
#warning "This file contains a hardcoded constant for SYS_clone"
diff --git a/libc/sysdeps/linux/x86_64/bsd-_setjmp.S b/libc/sysdeps/linux/x86_64/bsd-_setjmp.S
index 91c587988..d5f9ae1b8 100644
--- a/libc/sysdeps/linux/x86_64/bsd-_setjmp.S
+++ b/libc/sysdeps/linux/x86_64/bsd-_setjmp.S
@@ -21,10 +21,6 @@
We cannot do it in C because it must be a tail-call, so frame-unwinding
in setjmp doesn't clobber the state restored by longjmp. */
-#define _ASM
-#define _SETJMP_H
-#include <bits/setjmp.h>
-
.global _setjmp
.type _setjmp,%function
.align 16