summaryrefslogtreecommitdiff
path: root/lib/libc/arch/sparc/string/ffs.S
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/sparc/string/ffs.S
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/sparc/string/ffs.S')
-rw-r--r--lib/libc/arch/sparc/string/ffs.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/sparc/string/ffs.S b/lib/libc/arch/sparc/string/ffs.S
index eb1788a02cb..ae885d896c4 100644
--- a/lib/libc/arch/sparc/string/ffs.S
+++ b/lib/libc/arch/sparc/string/ffs.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs.S,v 1.4 2005/08/07 16:40:15 espie Exp $ */
+/* $OpenBSD: ffs.S,v 1.5 2012/08/22 17:19:35 pascal Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -49,7 +49,7 @@
* that ffstab[0] must be -24 so that ffs(0) will return 0.
*/
ENTRY(ffs)
-#ifdef PIC
+#ifdef __PIC__
PICCY_SET(ffstab, %o2, %o5)
#else
set ffstab, %o2