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 /sys/arch/sparc/include/profile.h | |
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 'sys/arch/sparc/include/profile.h')
-rw-r--r-- | sys/arch/sparc/include/profile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/profile.h b/sys/arch/sparc/include/profile.h index 972b8d476f5..ad607e94c70 100644 --- a/sys/arch/sparc/include/profile.h +++ b/sys/arch/sparc/include/profile.h @@ -1,4 +1,4 @@ -/* $OpenBSD: profile.h,v 1.8 2003/06/02 23:27:54 millert Exp $ */ +/* $OpenBSD: profile.h,v 1.9 2012/08/22 17:19:35 pascal Exp $ */ /* $NetBSD: profile.h,v 1.8 1997/02/01 20:56:40 mrg Exp $ */ /* @@ -53,7 +53,7 @@ #define _MCOUNT_ENTRY "mcount" #endif -#ifdef PIC +#ifdef __PIC__ /* Inline expansion of PICCY_SET() (see <machine/asm.h>). */ #define MCOUNT \ __asm__(".global " _MCOUNT_ENTRY);\ |