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/linuxthreads/sysdeps/unix/sysv/linux/powerpc | |
| parent | fae10d41d1262170f272bb5e183becd44ff94f66 (diff) | |
| download | uClibc-alpine-5418c5ea2ab6a8e82421ebbf8060e52b5b1710a7.tar.bz2 uClibc-alpine-5418c5ea2ab6a8e82421ebbf8060e52b5b1710a7.tar.xz  | |
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/powerpc')
| -rw-r--r-- | libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h index 865da8e8c..9925a2f53 100644 --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h @@ -89,7 +89,7 @@  # else  #  define CENABLE	bl JUMPTARGET(__librt_enable_asynccancel)  #  define CDISABLE	bl JUMPTARGET(__librt_disable_asynccancel) -#  if defined HAVE_AS_REL16 && defined PIC +#  if defined HAVE_AS_REL16 && defined __PIC__  #   undef CGOTSETUP  #   define CGOTSETUP							\      bcl 20,31,1f;							\ @@ -122,7 +122,7 @@  extern int __local_multiple_threads attribute_hidden;  #   define SINGLE_THREAD_P __builtin_expect (__local_multiple_threads == 0, 1)  #  else -#   if !defined PIC +#   if !defined __PIC__  #    define SINGLE_THREAD_P						\    lis 10,__local_multiple_threads@ha;					\    lwz 10,__local_multiple_threads@l(10);				\  | 
