_setjmp.S (81586) | _setjmp.S (85437) |
---|---|
1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 22 unchanged lines hidden (view full) --- 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#if defined(LIBC_RCS) && !defined(lint) 38 .text | 1/*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 22 unchanged lines hidden (view full) --- 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#if defined(LIBC_RCS) && !defined(lint) 38 .text |
39 .asciz "$FreeBSD: head/lib/libc/i386/gen/_setjmp.S 81586 2001-08-13 14:06:34Z ru $" | 39 .asciz "$FreeBSD: head/lib/libc/i386/gen/_setjmp.S 85437 2001-10-24 20:29:14Z peter $" |
40#endif /* LIBC_RCS and not lint */ 41 42/* 43 * C library -- _setjmp, _longjmp 44 * 45 * _longjmp(a,v) 46 * will generate a "return(v)" from the last call to 47 * _setjmp(a) 48 * by restoring registers from the environment 'a'. 49 * The previous signal state is NOT restored. 50 */ 51 | 40#endif /* LIBC_RCS and not lint */ 41 42/* 43 * C library -- _setjmp, _longjmp 44 * 45 * _longjmp(a,v) 46 * will generate a "return(v)" from the last call to 47 * _setjmp(a) 48 * by restoring registers from the environment 'a'. 49 * The previous signal state is NOT restored. 50 */ 51 |
52#include "DEFS.h" | 52#include <machine/asm.h> |
53 54ENTRY(_setjmp) 55 movl 4(%esp),%eax 56 movl 0(%esp),%edx 57 movl %edx, 0(%eax) /* rta */ 58 movl %ebx, 4(%eax) 59 movl %esp, 8(%eax) 60 movl %ebp,12(%eax) --- 24 unchanged lines hidden --- | 53 54ENTRY(_setjmp) 55 movl 4(%esp),%eax 56 movl 0(%esp),%edx 57 movl %edx, 0(%eax) /* rta */ 58 movl %ebx, 4(%eax) 59 movl %esp, 8(%eax) 60 movl %ebp,12(%eax) --- 24 unchanged lines hidden --- |