diff options
author | Jason Evans <jasone@FreeBSD.org> | 2000-01-20 21:58:27 +0000 |
---|---|---|
committer | Jason Evans <jasone@FreeBSD.org> | 2000-01-20 21:58:27 +0000 |
commit | bafd6b2f76534972a79463e3cace6f52a2c7624b (patch) | |
tree | 3bcc9c20494ca9308101dd516d3b6aa4702eb843 /lib/libc/amd64/gen/_setjmp.S | |
parent | beab1ec9b51c96ff64dd6d4caf3db4315ef9df45 (diff) |
Notes
Diffstat (limited to 'lib/libc/amd64/gen/_setjmp.S')
-rw-r--r-- | lib/libc/amd64/gen/_setjmp.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/amd64/gen/_setjmp.S b/lib/libc/amd64/gen/_setjmp.S index 64606c52ac968..9c66308dc502d 100644 --- a/lib/libc/amd64/gen/_setjmp.S +++ b/lib/libc/amd64/gen/_setjmp.S @@ -53,8 +53,7 @@ #include "DEFS.h" -ALTENTRY(_setjmp) -ENTRY(___setjmp) +ENTRY(_setjmp) movl 4(%esp),%eax movl 0(%esp),%edx movl %edx, 0(%eax) /* rta */ @@ -67,10 +66,12 @@ ENTRY(___setjmp) xorl %eax,%eax ret -#ifndef _THREAD_SAFE -ALTENTRY(_longjmp) -#endif +#ifdef _THREAD_SAFE ENTRY(___longjmp) +#else +ALTENTRY(___longjmp) +ENTRY(_longjmp) +#endif movl 4(%esp),%edx movl 8(%esp),%eax movl 0(%edx),%ecx |