diff options
Diffstat (limited to 'lib/libc/i386/gen/setjmp.S')
-rw-r--r-- | lib/libc/i386/gen/setjmp.S | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/libc/i386/gen/setjmp.S b/lib/libc/i386/gen/setjmp.S index 89efa92..078b2eb 100644 --- a/lib/libc/i386/gen/setjmp.S +++ b/lib/libc/i386/gen/setjmp.S @@ -33,12 +33,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: setjmp.S,v 1.3 1995/01/23 01:27:08 davidg Exp $ + * $Id: setjmp.S,v 1.4 1996/01/22 00:00:53 julian Exp $ */ #if defined(LIBC_RCS) && !defined(lint) .text - .asciz "$Id: setjmp.S,v 1.3 1995/01/23 01:27:08 davidg Exp $" + .asciz "$Id: setjmp.S,v 1.4 1996/01/22 00:00:53 julian Exp $" #endif /* LIBC_RCS and not lint */ /* @@ -59,13 +59,15 @@ ENTRY(_thread_sys_setjmp) #else ENTRY(setjmp) #endif + PIC_PROLOGUE pushl $0 #ifdef _THREAD_SAFE - call PIC_PLT(__thread_sys_sigblock) + call PIC_PLT(CNAME(_thread_sys_sigblock)) #else - call PIC_PLT(_sigblock) + call PIC_PLT(CNAME(sigblock)) #endif popl %edx + PIC_EPILOGUE movl 4(%esp),%ecx movl 0(%esp),%edx movl %edx, 0(%ecx) @@ -85,13 +87,15 @@ ENTRY(_thread_sys_longjmp) ENTRY(longjmp) #endif movl 4(%esp),%edx + PIC_PROLOGUE pushl 24(%edx) #ifdef _THREAD_SAFE - call PIC_PLT(__thread_sys_sigsetmask) + call PIC_PLT(CNAME(_thread_sys_sigsetmask)) #else - call PIC_PLT(_sigsetmask) /* XXX this is not reentrant */ + call PIC_PLT(CNAME(sigsetmask)) /* XXX this is not reentrant */ #endif popl %eax + PIC_EPILOGUE movl 4(%esp),%edx movl 8(%esp),%eax movl 0(%edx),%ecx |