diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-12-16 09:09:38 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-12-16 09:09:38 +0100 |
commit | 9849c407e8e6732fbf417cb447937e3b3b9a54ec (patch) | |
tree | b5afacedc3fde717c225b6969f3bcc8c8765d7f4 /libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha | |
parent | 8cd420c223f1a39c01835189669928ea8df9d221 (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/linuxthreads/sysdeps/unix/sysv/linux/alpha')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h index 9ea779e0d..5d686299c 100644 --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h @@ -118,7 +118,7 @@ __LABEL($syscall_error) \ # define __local_multiple_threads __libc_multiple_threads # endif -# ifdef PIC +# ifdef __PIC__ # define CENABLE bsr ra, __local_enable_asynccancel !samegp # define CDISABLE bsr ra, __local_disable_asynccancel !samegp # else @@ -130,7 +130,7 @@ __LABEL($syscall_error) \ extern int __local_multiple_threads attribute_hidden; # define SINGLE_THREAD_P \ __builtin_expect (__local_multiple_threads == 0, 1) -# elif defined(PIC) +# elif defined(__PIC__) # define SINGLE_THREAD_P(reg) ldl reg, __local_multiple_threads(gp) !gprel # else # define SINGLE_THREAD_P(reg) \ |