summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sh/SYS.h
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2012-08-22 17:19:36 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2012-08-22 17:19:36 +0000
commit0b17a3ce8acce6123900b78334061ec5da7fff13 (patch)
tree899daa1fa911a22452f013b57bb5873909dd7ed4 /lib/libc/arch/sh/SYS.h
parent9e13e109aa5166fac25ad417e38996ce27251c67 (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/sh/SYS.h')
-rw-r--r--lib/libc/arch/sh/SYS.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/sh/SYS.h b/lib/libc/arch/sh/SYS.h
index f15fbed39ed..81dcfb9873f 100644
--- a/lib/libc/arch/sh/SYS.h
+++ b/lib/libc/arch/sh/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.3 2011/04/04 12:42:39 guenther Exp $ */
+/* $OpenBSD: SYS.h,v 1.4 2012/08/22 17:19:35 pascal Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -74,7 +74,7 @@
SYSENTRY(x); \
SYSTRAP(y)
-#ifdef PIC
+#ifdef __PIC__
#define JUMP_CERROR \
mov r0, r4; \