From 75903038bc52105bc7479fe5f2b75f22f10c1c50 Mon Sep 17 00:00:00 2001 From: jasone Date: Wed, 12 Jan 2000 09:23:48 +0000 Subject: Add three-tier symbol naming in support of POSIX thread cancellation points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read(). --- lib/libc/amd64/gen/sigsetjmp.S | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/libc/amd64/gen/sigsetjmp.S') diff --git a/lib/libc/amd64/gen/sigsetjmp.S b/lib/libc/amd64/gen/sigsetjmp.S index 7338e1c..09ca554 100644 --- a/lib/libc/amd64/gen/sigsetjmp.S +++ b/lib/libc/amd64/gen/sigsetjmp.S @@ -59,8 +59,9 @@ * use sigreturn() if sigreturn() works. */ -.globl CNAME(__sigsetjmp); CNAME(__sigsetjmp): -ENTRY(sigsetjmp) +ALTENTRY(sigsetjmp) +ALTENTRY(_libc_sigsetjmp) +ENTRY(__sigsetjmp) movl 8(%esp),%eax movl 4(%esp),%ecx movl %eax,44(%ecx) @@ -90,8 +91,9 @@ ENTRY(sigsetjmp) xorl %eax,%eax ret -.globl CNAME(__siglongjmp); CNAME(__siglongjmp): -ENTRY(siglongjmp) +ALTENTRY(siglongjmp) +ALTENTRY(_libc_siglongjmp) +ENTRY(__siglongjmp) movl 4(%esp),%edx cmpl $0,44(%edx) jz 2f -- cgit v1.1