diff options
author | jasone <jasone@FreeBSD.org> | 2000-01-19 07:01:40 +0000 |
---|---|---|
committer | jasone <jasone@FreeBSD.org> | 2000-01-19 07:01:40 +0000 |
commit | 2c6582da15d1ca764e0434cfacf0ab1cc7fe11f0 (patch) | |
tree | aa690adcd4e46b747900d19971328e29c0fa502a /lib/libc/amd64/gen | |
parent | bfcdbb750811389b1a6daf4c2fd36f4648abd3c6 (diff) | |
download | FreeBSD-src-2c6582da15d1ca764e0434cfacf0ab1cc7fe11f0.zip FreeBSD-src-2c6582da15d1ca764e0434cfacf0ab1cc7fe11f0.tar.gz |
Make minor entry point changes to support libc_r.
Diffstat (limited to 'lib/libc/amd64/gen')
-rw-r--r-- | lib/libc/amd64/gen/_setjmp.S | 4 | ||||
-rw-r--r-- | lib/libc/amd64/gen/setjmp.S | 4 | ||||
-rw-r--r-- | lib/libc/amd64/gen/sigsetjmp.S | 4 |
3 files changed, 6 insertions, 6 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 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 diff --git a/lib/libc/amd64/gen/sigsetjmp.S b/lib/libc/amd64/gen/sigsetjmp.S index 09ca554..2449094 100644 --- a/lib/libc/amd64/gen/sigsetjmp.S +++ b/lib/libc/amd64/gen/sigsetjmp.S @@ -60,7 +60,6 @@ */ ALTENTRY(sigsetjmp) -ALTENTRY(_libc_sigsetjmp) ENTRY(__sigsetjmp) movl 8(%esp),%eax movl 4(%esp),%ecx @@ -91,8 +90,9 @@ ENTRY(__sigsetjmp) xorl %eax,%eax ret +#ifndef _THREAD_SAFE ALTENTRY(siglongjmp) -ALTENTRY(_libc_siglongjmp) +#endif ENTRY(__siglongjmp) movl 4(%esp),%edx cmpl $0,44(%edx) |