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_once.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_once.S')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S index 2e8e6a1d5..de83dec1b 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S @@ -69,7 +69,7 @@ __pthread_once: and #3, r0 mov.l .Lfgen, r2 -#ifdef PIC +#ifdef __PIC__ add r12, r2 #endif mov.l @r2, r3 @@ -107,7 +107,7 @@ __pthread_once: .align 2 .Lgot: .long _GLOBAL_OFFSET_TABLE_ -#ifdef PIC +#ifdef __PIC__ .Lfgen: .long __fork_generation@GOTOFF #else |