summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-19 03:09:06 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-19 03:09:06 -0800
commitde2101834f0c80e38008e8d1d1848ab94ce2341e (patch)
treee41e3459f66daa646013d8c09dfae63a27b6dad5 /libpthread/nptl/sysdeps/unix/sysv/linux/sh
parent4e9f93bb64c5815b071393ca738cb14b8624e605 (diff)
more fixes for x86_64 nptl
also cleanup some PIC (should be __PIC__) that snuck in Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S4
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
index 542804862..25c75c54a 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S
@@ -234,7 +234,7 @@ __lll_timedlock_wait:
# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
mov.l .Lhave, r1
-# ifdef PIC
+# ifdef __PIC__
mova .Lgot, r0
mov.l .Lgot, r12
add r0, r12
@@ -284,7 +284,7 @@ __lll_timedlock_wait:
mov.l @r15+, r12
.align 2
-# ifdef PIC
+# ifdef __PIC__
.Lgot:
.long _GLOBAL_OFFSET_TABLE_
.Lhave:
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S
index 774442f23..7fb61b273 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S
@@ -215,7 +215,7 @@ sem_wait_cleanup:
DEC (@(NWAITERS,r8), r2)
.LcallUR:
mov.l .Lresume, r1
-#ifdef PIC
+#ifdef __PIC__
add r12, r1
#endif
jsr @r1
@@ -224,7 +224,7 @@ sem_wait_cleanup:
.align 2
.Lresume:
-#ifdef PIC
+#ifdef __PIC__
.long _Unwind_Resume@GOTOFF
#else
.long _Unwind_Resume