1 |
+ |
/* $MidnightBSD$ */ |
2 |
|
/*- |
3 |
|
* Copyright (c) 1990 The Regents of the University of California. |
4 |
|
* All rights reserved. |
35 |
|
.asciz "@(#)exect.s 5.1 (Berkeley) 4/23/90" |
36 |
|
#endif /* SYSLIBC_SCCS and not lint */ |
37 |
|
#include <machine/asm.h> |
38 |
< |
__MBSDID("$MidnightBSD$"); |
38 |
> |
__FBSDID("$FreeBSD: stable/10/lib/libc/amd64/sys/exect.S 240178 2012-09-06 20:59:49Z jilles $"); |
39 |
|
|
40 |
|
#include "SYS.h" |
41 |
|
#include <machine/psl.h> |
48 |
|
pushq %r8 |
49 |
|
popfq |
50 |
|
KERNCALL |
50 |
– |
#ifdef PIC |
51 |
– |
movq PIC_GOT(HIDENAME(cerror)),%rdx |
52 |
– |
jmp *%rdx |
53 |
– |
#else |
51 |
|
jmp HIDENAME(cerror) |
55 |
– |
#endif |
52 |
|
END(exect) |
53 |
|
|
54 |
|
.section .note.GNU-stack,"",%progbits |