1 |
+ |
/* $MidnightBSD$ */ |
2 |
|
/*- |
3 |
|
* Copyright (c) 1990 The Regents of the University of California. |
4 |
|
* All rights reserved. |
35 |
|
.asciz "@(#)syscall.s 5.1 (Berkeley) 4/23/90" |
36 |
|
#endif /* SYSLIBC_SCCS and not lint */ |
37 |
|
#include <machine/asm.h> |
38 |
< |
__FBSDID("$FreeBSD$"); |
38 |
> |
__FBSDID("$FreeBSD: stable/10/lib/libc/i386/sys/syscall.S 240152 2012-09-05 21:41:05Z jilles $"); |
39 |
|
|
40 |
|
#include "SYS.h" |
41 |
|
|
46 |
|
KERNCALL |
47 |
|
push %ecx /* need to push a word to keep stack frame intact |
48 |
|
upon return; the word must be the return address. */ |
49 |
< |
jb 1f |
49 |
> |
jb HIDENAME(cerror) |
50 |
|
ret |
50 |
– |
1: |
51 |
– |
PIC_PROLOGUE |
52 |
– |
jmp PIC_PLT(HIDENAME(cerror)) |
51 |
|
END(syscall) |
52 |
|
|
53 |
|
.section .note.GNU-stack,"",%progbits |