fix TLS memory leak with dlopen
[uclibc-ng.git] / libc / sysdeps / linux / h8300 / jmpbuf-unwind.h
blobfe3f758a2bb41dbec91667db94c24c95d1b7332b
1 /*
2 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
4 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
5 */
7 #include <setjmp.h>
9 /* Test if longjmp to JMPBUF would unwind the frame
10 containing a local variable at ADDRESS. */
11 #define _JMPBUF_UNWINDS(jmpbuf, address) \
12 ((void *) (address) < (void *) (jmpbuf)->__regs[3])