diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-26 21:32:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-31 12:50:50 +0200 |
commit | acc7443a4feb0aa098f12207f2da44c21d382e66 (patch) | |
tree | 2812e797db62c9b8be49ee504427d848181e5054 /libc/sysdeps/linux/metag/jmpbuf-unwind.h | |
parent | 5478c44ceb136a4dc7166bd287684cdbef6ca9ce (diff) |
deduplicate jmpbuf-unwind.h
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/metag/jmpbuf-unwind.h')
-rw-r--r-- | libc/sysdeps/linux/metag/jmpbuf-unwind.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/metag/jmpbuf-unwind.h b/libc/sysdeps/linux/metag/jmpbuf-unwind.h index 175cd7ab0..bf791413b 100644 --- a/libc/sysdeps/linux/metag/jmpbuf-unwind.h +++ b/libc/sysdeps/linux/metag/jmpbuf-unwind.h @@ -1,14 +1,16 @@ /* + * Copyright (C) 2013, Imagination Technologies Ltd. + * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <setjmp.h> +#include <jmpbuf-offsets.h> /* Test if longjmp to JMPBUF would unwind the frame containing a local variable at ADDRESS. */ -#undef _JMPBUF_UNWINDS -#define _JMPBUF_UNWINDS(jmpbuf, address, demangle) \ - ((void *) (address) > (void *) demangle (jmpbuf[JB_SP])) +#define _JMPBUF_UNWINDS(jmpbuf, address) \ + ((void *) (address) > (void *) jmpbuf[JB_SP]) #ifdef __UCLIBC_HAS_THREADS_NATIVE__ #include <stdint.h> |