Deleted Added
full compact
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/amd64/gen/setjmp.S 81586 2001-08-13 14:06:34Z ru $"
39 .asciz "$FreeBSD: head/lib/libc/amd64/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 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 restored.
50 */
51
52#include "DEFS.h"
53#include "SYS.h"
54
55ENTRY(setjmp)
56 movl 4(%esp),%ecx
57 PIC_PROLOGUE
58 leal 28(%ecx), %eax
59 pushl %eax /* (sigset_t*)oset */
60 pushl $0 /* (sigset_t*)set */

--- 43 unchanged lines hidden ---
52#include "SYS.h"
53
54ENTRY(setjmp)
55 movl 4(%esp),%ecx
56 PIC_PROLOGUE
57 leal 28(%ecx), %eax
58 pushl %eax /* (sigset_t*)oset */
59 pushl $0 /* (sigset_t*)set */

--- 43 unchanged lines hidden ---