summaryrefslogtreecommitdiff
path: root/lib/libc/arch/arm/sys/cerror.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/arm/sys/cerror.S')
-rw-r--r--lib/libc/arch/arm/sys/cerror.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/arch/arm/sys/cerror.S b/lib/libc/arch/arm/sys/cerror.S
index 1e93ad300d5..8c941bd0042 100644
--- a/lib/libc/arch/arm/sys/cerror.S
+++ b/lib/libc/arch/arm/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.4 2011/04/04 12:42:39 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.5 2012/08/22 17:19:34 pascal Exp $ */
/* $NetBSD: cerror.S,v 1.5 2003/08/07 16:42:04 agc Exp $ */
/*-
@@ -46,7 +46,7 @@ ASENTRY(_CERROR)
mvn r1, #0x00000000
ldmfd sp!, {r4, pc}
#else
-#ifdef PIC
+#ifdef __PIC__
/* Setup the GOT */
ldr r3, .Lgot
ldr r1, .Lerrno
@@ -61,7 +61,7 @@ ASENTRY(_CERROR)
mvn r1, #0x00000000
mov pc, lr
-#ifdef PIC
+#ifdef __PIC__
.align 0
.Lgot:
.word _C_LABEL(_GLOBAL_OFFSET_TABLE_) - (.L1+8)