diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-22 17:19:36 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-22 17:19:36 +0000 |
commit | 0b17a3ce8acce6123900b78334061ec5da7fff13 (patch) | |
tree | 899daa1fa911a22452f013b57bb5873909dd7ed4 /lib/libc/arch/amd64/sys/Ovfork.S | |
parent | 9e13e109aa5166fac25ad417e38996ce27251c67 (diff) |
Convert cpp | as rules in bsd.lib.mk and lib/libc/sys/Makefile.inc to pure cc
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.
ok matthew@, conceptually ok kurt@
Diffstat (limited to 'lib/libc/arch/amd64/sys/Ovfork.S')
-rw-r--r-- | lib/libc/arch/amd64/sys/Ovfork.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/amd64/sys/Ovfork.S b/lib/libc/arch/amd64/sys/Ovfork.S index 98407ff38fa..84986ffbef9 100644 --- a/lib/libc/arch/amd64/sys/Ovfork.S +++ b/lib/libc/arch/amd64/sys/Ovfork.S @@ -1,4 +1,4 @@ -/* $OpenBSD: Ovfork.S,v 1.2 2005/12/13 00:10:48 jsg Exp $ */ +/* $OpenBSD: Ovfork.S,v 1.3 2012/08/22 17:19:34 pascal Exp $ */ /* $NetBSD: Ovfork.S,v 1.2 2002/06/03 18:30:33 fvdl Exp $ */ /*- @@ -55,7 +55,7 @@ SYSENTRY(vfork) jmp *%r9 err: pushq %r9 -#ifdef PIC +#ifdef __PIC__ movq PIC_GOT(CERROR), %rcx jmp *%rcx #else |