summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64/gen/_setjmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/amd64/gen/_setjmp.S')
-rw-r--r--lib/libc/amd64/gen/_setjmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/amd64/gen/_setjmp.S b/lib/libc/amd64/gen/_setjmp.S
index 21ab880f..64606c5 100644
--- a/lib/libc/amd64/gen/_setjmp.S
+++ b/lib/libc/amd64/gen/_setjmp.S
@@ -54,7 +54,6 @@
#include "DEFS.h"
ALTENTRY(_setjmp)
-ALTENTRY(_libc__setjmp)
ENTRY(___setjmp)
movl 4(%esp),%eax
movl 0(%esp),%edx
@@ -68,8 +67,9 @@ ENTRY(___setjmp)
xorl %eax,%eax
ret
+#ifndef _THREAD_SAFE
ALTENTRY(_longjmp)
-ALTENTRY(_libc__longjmp)
+#endif
ENTRY(___longjmp)
movl 4(%esp),%edx
movl 8(%esp),%eax
OpenPOWER on IntegriCloud