diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-20 21:58:27 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-20 21:58:27 +0000 |
commit | 303a1b5e43d1ba6712cacc54c1948573df74cac3 (patch) | |
tree | a136b1278296a9a9300e66b22e1c30ea04829651 /lib/libc/amd64/gen/sigsetjmp.S | |
parent | d28faf45be05bed11d5dbd509470a4449f5d1714 (diff) | |
download | FreeBSD-src-303a1b5e43d1ba6712cacc54c1948573df74cac3.zip FreeBSD-src-303a1b5e43d1ba6712cacc54c1948573df74cac3.tar.gz |
Remove unnecessary alternate entry points for *setjmp(). Make the main
entry point the standard name when not compiling libc_r (for example,
longjmp is the main entry point instead of __longjmp).
Suggested by: bde
Diffstat (limited to 'lib/libc/amd64/gen/sigsetjmp.S')
-rw-r--r-- | lib/libc/amd64/gen/sigsetjmp.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/amd64/gen/sigsetjmp.S b/lib/libc/amd64/gen/sigsetjmp.S index 2449094..13c0dc7 100644 --- a/lib/libc/amd64/gen/sigsetjmp.S +++ b/lib/libc/amd64/gen/sigsetjmp.S @@ -59,8 +59,7 @@ * use sigreturn() if sigreturn() works. */ -ALTENTRY(sigsetjmp) -ENTRY(__sigsetjmp) +ENTRY(sigsetjmp) movl 8(%esp),%eax movl 4(%esp),%ecx movl %eax,44(%ecx) @@ -90,10 +89,12 @@ ENTRY(__sigsetjmp) xorl %eax,%eax ret -#ifndef _THREAD_SAFE -ALTENTRY(siglongjmp) -#endif +#ifdef _THREAD_SAFE ENTRY(__siglongjmp) +#else +ALTENTRY(__siglongjmp) +ENTRY(siglongjmp) +#endif movl 4(%esp),%edx cmpl $0,44(%edx) jz 2f |