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(SYSLIBC_RCS) && !defined(lint) 38 .text |
39 .asciz "$FreeBSD: head/lib/libc/amd64/sys/vfork.S 87006 2001-11-27 20:51:26Z jhb $" |
40#endif /* SYSLIBC_RCS and not lint */ 41 42#include "SYS.h" 43 44 .weak _vfork 45 .set _vfork,__sys_vfork 46 .weak vfork 47 .set vfork,__sys_vfork 48ENTRY(__sys_vfork) 49 popl %ecx /* my rta into ecx */ |
50 mov $SYS_vfork,%eax |
51 KERNCALL 52 jb 1f 53 jmp *%ecx 541: 55 pushl %ecx 56 PIC_PROLOGUE 57 jmp PIC_PLT(HIDENAME(cerror)) |