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/alpha | |
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/alpha')
-rw-r--r-- | lib/libc/alpha/gen/_setjmp.S | 4 | ||||
-rw-r--r-- | lib/libc/alpha/gen/setjmp.S | 4 | ||||
-rw-r--r-- | lib/libc/alpha/gen/sigsetjmp.S | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/alpha/gen/_setjmp.S b/lib/libc/alpha/gen/_setjmp.S index c18462f..0454296 100644 --- a/lib/libc/alpha/gen/_setjmp.S +++ b/lib/libc/alpha/gen/_setjmp.S @@ -45,7 +45,6 @@ .set noreorder XLEAF(_setjmp, 1) -XLEAF(_libc__setjmp, 1) LEAF(___setjmp, 1) LDGP(pv) stq ra, (2 * 8)(a0) /* sc_pc = return address */ @@ -89,8 +88,9 @@ LEAF(___setjmp, 1) RET END(___setjmp) +#ifndef _THREAD_SAFE XLEAF(_longjmp, 2) -XLEAF(_libc__longjmp, 2) +#endif LEAF(___longjmp, 2) LDGP(pv) ldq t0, ((31 + 4) * 8)(a0) /* magic in sc_regs[31] */ diff --git a/lib/libc/alpha/gen/setjmp.S b/lib/libc/alpha/gen/setjmp.S index 4d21f9e..dd03a1a 100644 --- a/lib/libc/alpha/gen/setjmp.S +++ b/lib/libc/alpha/gen/setjmp.S @@ -45,7 +45,6 @@ .set noreorder XLEAF(setjmp, 1) -XLEAF(_libc_setjmp, 1) LEAF(__setjmp, 1) LDGP(pv) stq ra, (2 * 8)(a0) /* sc_pc = return address */ @@ -117,8 +116,9 @@ LEAF(__setjmp, 1) RET END(__setjmp) +#ifndef _THREAD_SAFE XLEAF(longjmp, 2) -XLEAF(_libc_longjmp, 2) +#endif LEAF(__longjmp, 2) LDGP(pv) stq a1, (( 0 + 4) * 8)(a0) /* save return value */ diff --git a/lib/libc/alpha/gen/sigsetjmp.S b/lib/libc/alpha/gen/sigsetjmp.S index 80b38bc..6fb5085 100644 --- a/lib/libc/alpha/gen/sigsetjmp.S +++ b/lib/libc/alpha/gen/sigsetjmp.S @@ -46,7 +46,6 @@ .set noreorder XLEAF(sigsetjmp, 2) -XLEAF(_libc_sigsetjmp, 2) LEAF(__sigsetjmp, 2) LDGP(pv) stq a1, (81 * 8)(a0) /* save the mask */ @@ -56,8 +55,9 @@ Lsavesig: jmp zero, setjmp END(__sigsetjmp) +#ifndef _THREAD_SAFE XLEAF(siglongjmp, 2) -XLEAF(_libc_siglongjmp, 2) +#endif LEAF(__siglongjmp, 2) LDGP(pv) ldq t0, (81 * 8)(a0) /* get the mask */ |