summaryrefslogtreecommitdiff
path: root/lib/libc/arch/hppa
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/hppa')
-rw-r--r--lib/libc/arch/hppa/sys/brk.S6
-rw-r--r--lib/libc/arch/hppa/sys/cerror.S4
-rw-r--r--lib/libc/arch/hppa/sys/sbrk.S6
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/arch/hppa/sys/brk.S b/lib/libc/arch/hppa/sys/brk.S
index 84588130c22..2163e5ae3af 100644
--- a/lib/libc/arch/hppa/sys/brk.S
+++ b/lib/libc/arch/hppa/sys/brk.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: brk.S,v 1.14 2006/01/05 22:13:55 kettenis Exp $ */
+/* $OpenBSD: brk.S,v 1.15 2012/08/22 17:19:34 pascal Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -37,7 +37,7 @@ minbrk
.long end
SYSENTRY(brk)
-#ifdef PIC
+#ifdef __PIC__
addil LT%minbrk, r19
ldw RT%minbrk(r1), t1
ldw 0(t1), t2
@@ -52,7 +52,7 @@ SYSENTRY(brk)
SYSCALL(break)
ldw HPPA_FRAME_ARG(0)(sp), arg0
-#ifdef PIC
+#ifdef __PIC__
addil LT%__curbrk, r19
ldw RT%__curbrk(r1), t1
bv r0(rp)
diff --git a/lib/libc/arch/hppa/sys/cerror.S b/lib/libc/arch/hppa/sys/cerror.S
index fb9998fb6da..fbec5adfd92 100644
--- a/lib/libc/arch/hppa/sys/cerror.S
+++ b/lib/libc/arch/hppa/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.5 2011/04/04 12:42:39 guenther Exp $ */
+/* $OpenBSD: cerror.S,v 1.6 2012/08/22 17:19:34 pascal Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -32,7 +32,7 @@ WEAK_ALIAS(__cerror, ___cerror)
.import errno, data
ENTRY(___cerror,0)
-#ifdef PIC
+#ifdef __PIC__
addil LT%errno, r19
ldw RT%errno(r1), r1
stw t1, 0(r1)
diff --git a/lib/libc/arch/hppa/sys/sbrk.S b/lib/libc/arch/hppa/sys/sbrk.S
index 1813d6ad85e..91ccd18c21c 100644
--- a/lib/libc/arch/hppa/sys/sbrk.S
+++ b/lib/libc/arch/hppa/sys/sbrk.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbrk.S,v 1.13 2006/01/05 22:13:55 kettenis Exp $ */
+/* $OpenBSD: sbrk.S,v 1.14 2012/08/22 17:19:34 pascal Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -36,7 +36,7 @@ __curbrk
.long end
SYSENTRY(sbrk)
-#ifdef PIC
+#ifdef __PIC__
addil LT%__curbrk, r19
ldw RT%__curbrk(r1), t1
ldw 0(t1), t2
@@ -49,7 +49,7 @@ SYSENTRY(sbrk)
SYSCALL(break)
-#ifdef PIC
+#ifdef __PIC__
addil LT%__curbrk, r19
ldw RT%__curbrk(r1), t1
#else