summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2011-11-11 10:29:08 +0100
committerAndreas Schwab <schwab@redhat.com>2011-11-11 11:11:07 +0100
commitedc5984d4d18296d7aa3d8f4ed8f7336a743170e (patch)
tree7d594b20d25452b3b51a4de37e55ca05c20c31a5 /misc
parent77cdc054e02069d72dcf54a9ad7d7df3a24bcb01 (diff)
downloadglibc-edc5984d4d18296d7aa3d8f4ed8f7336a743170e.tar.gz
Mark setjmp and ucontext functions as non-leaf
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/cdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
index 16cf557b39..c856e87a07 100644
--- a/misc/sys/cdefs.h
+++ b/misc/sys/cdefs.h
@@ -192,9 +192,13 @@
# ifdef __cplusplus
# define __REDIRECT_NTH(name, proto, alias) \
name proto __THROW __asm__ (__ASMNAME (#alias))
+# define __REDIRECT_NTHNL(name, proto, alias) \
+ name proto __THROWNL __asm__ (__ASMNAME (#alias))
# else
# define __REDIRECT_NTH(name, proto, alias) \
name proto __asm__ (__ASMNAME (#alias)) __THROW
+# define __REDIRECT_NTHNL(name, proto, alias) \
+ name proto __asm__ (__ASMNAME (#alias)) __THROWNL
# endif
# define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
# define __ASMNAME2(prefix, cname) __STRING (prefix) cname