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 4162c1e..211c8a5 100644
--- a/lib/libc/amd64/gen/setjmp.S
+++ b/lib/libc/amd64/gen/setjmp.S
@@ -55,7 +55,6 @@
#include "SYS.h"
ALTENTRY(setjmp)
-ALTENTRY(_libc_setjmp)
ENTRY(__setjmp)
movl 4(%esp),%ecx
PIC_PROLOGUE
@@ -82,8 +81,9 @@ ENTRY(__setjmp)
xorl %eax,%eax
ret
+#ifndef _THREAD_SAFE
ALTENTRY(longjmp)
-ALTENTRY(_libc_longjmp)
+#endif
ENTRY(__longjmp)
movl 4(%esp),%edx
PIC_PROLOGUE
OpenPOWER on IntegriCloud