Deleted Added
full compact
Ovfork.S (165903) Ovfork.S (184548)
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

--- 20 unchanged lines hidden (view full) ---

29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#if defined(SYSLIBC_SCCS) && !defined(lint)
34 .asciz "@(#)Ovfork.s 5.1 (Berkeley) 4/23/90"
35#endif /* SYSLIBC_SCCS and not lint */
36#include <machine/asm.h>
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

--- 20 unchanged lines hidden (view full) ---

29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#if defined(SYSLIBC_SCCS) && !defined(lint)
34 .asciz "@(#)Ovfork.s 5.1 (Berkeley) 4/23/90"
35#endif /* SYSLIBC_SCCS and not lint */
36#include <machine/asm.h>
37__FBSDID("$FreeBSD: head/lib/libc/i386/sys/Ovfork.S 165903 2007-01-09 00:28:16Z imp $");
37__FBSDID("$FreeBSD: head/lib/libc/i386/sys/Ovfork.S 184548 2008-11-02 01:28:47Z peter $");
38
39#include "SYS.h"
40
41 .weak _vfork
42 .set _vfork,__sys_vfork
43 .weak vfork
44 .set vfork,__sys_vfork
45ENTRY(__sys_vfork)
46 popl %ecx /* my rta into ecx */
47 mov $SYS_vfork,%eax
48 KERNCALL
49 jb 1f
50 jmp *%ecx
511:
52 pushl %ecx
53 PIC_PROLOGUE
54 jmp PIC_PLT(HIDENAME(cerror))
38
39#include "SYS.h"
40
41 .weak _vfork
42 .set _vfork,__sys_vfork
43 .weak vfork
44 .set vfork,__sys_vfork
45ENTRY(__sys_vfork)
46 popl %ecx /* my rta into ecx */
47 mov $SYS_vfork,%eax
48 KERNCALL
49 jb 1f
50 jmp *%ecx
511:
52 pushl %ecx
53 PIC_PROLOGUE
54 jmp PIC_PLT(HIDENAME(cerror))
55END(__sys_vfork)