Replaced pops with adds.
This commit is contained in:
parent
26eccb0a9b
commit
b4bd7fea24
|
@ -34,12 +34,12 @@
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)setjmp.s 5.1 (Berkeley) 4/23/90
|
* from: @(#)setjmp.s 5.1 (Berkeley) 4/23/90
|
||||||
* $Id: setjmp.S,v 1.5 1994/01/27 06:34:06 mycroft Exp $
|
* $Id: setjmp.S,v 1.6 1994/12/24 01:16:44 jtc Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(LIBC_SCCS)
|
#if defined(LIBC_SCCS)
|
||||||
.text
|
.text
|
||||||
.asciz "$Id: setjmp.S,v 1.5 1994/01/27 06:34:06 mycroft Exp $"
|
.asciz "$Id: setjmp.S,v 1.6 1994/12/24 01:16:44 jtc Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -62,7 +62,7 @@ ENTRY(setjmp)
|
||||||
#else
|
#else
|
||||||
call _sigblock
|
call _sigblock
|
||||||
#endif
|
#endif
|
||||||
popl %edx
|
addl $4,%esp
|
||||||
movl 4(%esp),%ecx
|
movl 4(%esp),%ecx
|
||||||
movl 0(%esp),%edx
|
movl 0(%esp),%edx
|
||||||
movl %edx, 0(%ecx)
|
movl %edx, 0(%ecx)
|
||||||
|
@ -83,7 +83,7 @@ ENTRY(longjmp)
|
||||||
#else
|
#else
|
||||||
call _sigsetmask
|
call _sigsetmask
|
||||||
#endif
|
#endif
|
||||||
popl %eax
|
addl $4,%esp
|
||||||
movl 4(%esp),%edx
|
movl 4(%esp),%edx
|
||||||
movl 8(%esp),%eax
|
movl 8(%esp),%eax
|
||||||
movl 0(%edx),%ecx
|
movl 0(%edx),%ecx
|
||||||
|
|
Loading…
Reference in New Issue