From 14647468df0b45ecf15223ee6a14ae50304b1f11 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 13 Mar 2011 21:24:42 +0100 Subject: make use of jmpbuf-offsets.h and jmpbuf-unwind.h Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/x86_64/__longjmp.S | 5 +---- libc/sysdeps/linux/x86_64/bsd-setjmp.S | 5 ----- libc/sysdeps/linux/x86_64/setjmp.S | 5 +---- 3 files changed, 2 insertions(+), 13 deletions(-) (limited to 'libc/sysdeps/linux/x86_64') diff --git a/libc/sysdeps/linux/x86_64/__longjmp.S b/libc/sysdeps/linux/x86_64/__longjmp.S index db2928bf0..4dc329bec 100644 --- a/libc/sysdeps/linux/x86_64/__longjmp.S +++ b/libc/sysdeps/linux/x86_64/__longjmp.S @@ -16,10 +16,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include -#define _ASM -#define _SETJMP_H -#include +#include /* Jump to the position specified by ENV, causing the setjmp call there to return VAL, or 1 if VAL is 0. diff --git a/libc/sysdeps/linux/x86_64/bsd-setjmp.S b/libc/sysdeps/linux/x86_64/bsd-setjmp.S index 889efa6ce..8f68f5c62 100644 --- a/libc/sysdeps/linux/x86_64/bsd-setjmp.S +++ b/libc/sysdeps/linux/x86_64/bsd-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 -#include - .global setjmp .type setjmp,%function setjmp: diff --git a/libc/sysdeps/linux/x86_64/setjmp.S b/libc/sysdeps/linux/x86_64/setjmp.S index 3a0f30b52..68c3e4df1 100644 --- a/libc/sysdeps/linux/x86_64/setjmp.S +++ b/libc/sysdeps/linux/x86_64/setjmp.S @@ -17,10 +17,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#define _ASM -#define _SETJMP_H -#include -#include +#include .global __sigsetjmp .type __sigsetjmp,%function -- cgit v1.2.3