From acc7443a4feb0aa098f12207f2da44c21d382e66 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 26 Jul 2016 21:32:47 +0200 Subject: deduplicate jmpbuf-unwind.h Reviewed-by: Max Filippov --- libc/sysdeps/linux/metag/bits/setjmp.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libc/sysdeps/linux/metag/bits/setjmp.h') diff --git a/libc/sysdeps/linux/metag/bits/setjmp.h b/libc/sysdeps/linux/metag/bits/setjmp.h index 8ad4b12d2..d80a355b0 100644 --- a/libc/sysdeps/linux/metag/bits/setjmp.h +++ b/libc/sysdeps/linux/metag/bits/setjmp.h @@ -28,17 +28,7 @@ */ #define _JBLEN 24 -#if defined (__USE_MISC) || defined (_ASM) -#define JB_SP 0 -#endif -#ifndef _ASM typedef int __jmp_buf[_JBLEN] __attribute__((aligned (8))); -#endif - -/* Test if longjmp to JMPBUF would unwind the frame - containing a local variable at ADDRESS. */ -#define _JMPBUF_UNWINDS(jmpbuf, address) \ - ((void *) (address) > (void *) (jmpbuf)[JB_SP]) #endif /* bits/setjmp.h */ -- cgit v1.2.3