about summary refs log tree commit diff
path: root/setjmp/bits
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 /setjmp/bits
parent77cdc054e02069d72dcf54a9ad7d7df3a24bcb01 (diff)
downloadglibc-edc5984d4d18296d7aa3d8f4ed8f7336a743170e.tar.gz
glibc-edc5984d4d18296d7aa3d8f4ed8f7336a743170e.tar.xz
glibc-edc5984d4d18296d7aa3d8f4ed8f7336a743170e.zip
Mark setjmp and ucontext functions as non-leaf
Diffstat (limited to 'setjmp/bits')
-rw-r--r--setjmp/bits/setjmp2.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/setjmp/bits/setjmp2.h b/setjmp/bits/setjmp2.h
index b2f8efac4c..ad65d25970 100644
--- a/setjmp/bits/setjmp2.h
+++ b/setjmp/bits/setjmp2.h
@@ -1,5 +1,5 @@
 /* Checking macros for setjmp functions.
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,18 +23,18 @@
 
 /* Variant of the longjmp functions which perform some sanity checking.  */
 #ifdef __REDIRECT_NTH
-extern void __REDIRECT_NTH (longjmp,
-			    (struct __jmp_buf_tag __env[1], int __val),
-			    __longjmp_chk) __attribute__ ((__noreturn__));
-extern void __REDIRECT_NTH (_longjmp,
-			    (struct __jmp_buf_tag __env[1], int __val),
-			    __longjmp_chk) __attribute__ ((__noreturn__));
-extern void __REDIRECT_NTH (siglongjmp,
-			    (struct __jmp_buf_tag __env[1], int __val),
-			    __longjmp_chk) __attribute__ ((__noreturn__));
+extern void __REDIRECT_NTHNL (longjmp,
+			      (struct __jmp_buf_tag __env[1], int __val),
+			      __longjmp_chk) __attribute__ ((__noreturn__));
+extern void __REDIRECT_NTHNL (_longjmp,
+			      (struct __jmp_buf_tag __env[1], int __val),
+			      __longjmp_chk) __attribute__ ((__noreturn__));
+extern void __REDIRECT_NTHNL (siglongjmp,
+			      (struct __jmp_buf_tag __env[1], int __val),
+			      __longjmp_chk) __attribute__ ((__noreturn__));
 #else
 extern void __longjmp_chk (struct __jmp_buf_tag __env[1], int __val),
-     __THROW __attribute__ ((__noreturn__));
+     __THROWNL __attribute__ ((__noreturn__));
 # define longjmp __longjmp_chk
 # define _longjmp __longjmp_chk
 # define siglongjmp __longjmp_chk