diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-12-16 08:48:08 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-12-16 08:48:08 +0100 |
commit | 5418c5ea2ab6a8e82421ebbf8060e52b5b1710a7 (patch) | |
tree | ffe44dcf7fb721cfa23ed6cdc799a9bd2b649941 /libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S | |
parent | fae10d41d1262170f272bb5e183becd44ff94f66 (diff) |
build: Get rids of PIC macro using compiler flag __PIC__ instead
Based on Peter Mazinger's comments on a recent commit, I decided
to get rids of all occurrences of PIC changing them to __PIC__
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S index 75ce425f8..5812488b2 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S @@ -55,7 +55,7 @@ __pthread_cond_timedwait: mov r4, r8 mov r5, r9 mov r6, r13 -#ifdef PIC +#ifdef __PIC__ mova .Lgot0, r0 mov.l .Lgot0, r12 add r0, r12 @@ -79,7 +79,7 @@ __pthread_cond_timedwait: bt 2f bra 1f nop -#ifdef PIC +#ifdef __PIC__ .align 2 .Lgot0: .long _GLOBAL_OFFSET_TABLE_ @@ -610,7 +610,7 @@ __condvar_tw_cleanup: .LcallUR: mov.l .Lresume, r1 -#ifdef PIC +#ifdef __PIC__ add r12, r1 #endif jsr @r1 @@ -625,7 +625,7 @@ __condvar_tw_cleanup: .Lmlocki5: .long __pthread_mutex_cond_lock-.Lmlocki5b .Lresume: -#ifdef PIC +#ifdef __PIC__ .long _Unwind_Resume@GOTOFF #else .long _Unwind_Resume |