diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S | 4 | ||||
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S | 4 |
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 |