Use PIC_PLT macro with the function calls (as was done with setjmp()).
This commit is contained in:
parent
79591d04bc
commit
34d1aad0c1
@ -34,15 +34,16 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)setjmp.s 5.1 (Berkeley) 4/23/90"
|
||||
* $Id: sigsetjmp.S,v 1.4 1993/10/21 01:48:17 jtc Exp $
|
||||
* $Id: sigsetjmp.S,v 1.5 1993/10/21 01:59:44 jtc Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS)
|
||||
.text
|
||||
.asciz "$Id: sigsetjmp.S,v 1.4 1993/10/21 01:48:17 jtc Exp $"
|
||||
.asciz "$Id: sigsetjmp.S,v 1.5 1993/10/21 01:59:44 jtc Exp $"
|
||||
#endif
|
||||
|
||||
#include "DEFS.h"
|
||||
#include "SYS.h"
|
||||
|
||||
ENTRY(sigsetjmp)
|
||||
movl 8(%esp),%eax
|
||||
@ -51,7 +52,7 @@ ENTRY(sigsetjmp)
|
||||
testl %eax,%eax
|
||||
jz 1f
|
||||
pushl $0
|
||||
call _sigblock
|
||||
call PIC_PLT(_sigblock)
|
||||
addl $4,%esp
|
||||
movl 4(%esp),%ecx
|
||||
movl %eax,28(%ecx)
|
||||
@ -70,7 +71,7 @@ ENTRY(siglongjmp)
|
||||
cmpl $0,24(%edx)
|
||||
jz 1f
|
||||
pushl 28(%edx)
|
||||
call _sigsetmask
|
||||
call PIC_PLT(_sigsetmask)
|
||||
addl $4,%esp
|
||||
1: movl 4(%esp),%edx
|
||||
movl 8(%esp),%eax
|
||||
|
@ -34,15 +34,16 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)setjmp.s 5.1 (Berkeley) 4/23/90"
|
||||
* $Id: sigsetjmp.s,v 1.4 1993/10/21 01:48:17 jtc Exp $
|
||||
* $Id: sigsetjmp.s,v 1.5 1993/10/21 01:59:44 jtc Exp $
|
||||
*/
|
||||
|
||||
#if defined(LIBC_SCCS)
|
||||
.text
|
||||
.asciz "$Id: sigsetjmp.s,v 1.4 1993/10/21 01:48:17 jtc Exp $"
|
||||
.asciz "$Id: sigsetjmp.s,v 1.5 1993/10/21 01:59:44 jtc Exp $"
|
||||
#endif
|
||||
|
||||
#include "DEFS.h"
|
||||
#include "SYS.h"
|
||||
|
||||
ENTRY(sigsetjmp)
|
||||
movl 8(%esp),%eax
|
||||
@ -51,7 +52,7 @@ ENTRY(sigsetjmp)
|
||||
testl %eax,%eax
|
||||
jz 1f
|
||||
pushl $0
|
||||
call _sigblock
|
||||
call PIC_PLT(_sigblock)
|
||||
addl $4,%esp
|
||||
movl 4(%esp),%ecx
|
||||
movl %eax,28(%ecx)
|
||||
@ -70,7 +71,7 @@ ENTRY(siglongjmp)
|
||||
cmpl $0,24(%edx)
|
||||
jz 1f
|
||||
pushl 28(%edx)
|
||||
call _sigsetmask
|
||||
call PIC_PLT(_sigsetmask)
|
||||
addl $4,%esp
|
||||
1: movl 4(%esp),%edx
|
||||
movl 8(%esp),%eax
|
||||
|
Loading…
Reference in New Issue
Block a user