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/sh | |
| parent | 8cd420c223f1a39c01835189669928ea8df9d221 (diff) | |
| download | uClibc-alpine-9849c407e8e6732fbf417cb447937e3b3b9a54ec.tar.bz2 uClibc-alpine-9849c407e8e6732fbf417cb447937e3b3b9a54ec.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/sh')
| -rw-r--r-- | libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h index 03c6fedbf..48b2caadd 100644 --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h @@ -102,7 +102,7 @@  #  define __local_multiple_threads	__librt_multiple_threads  # endif -# if defined IS_IN_librt && defined PIC +# if defined IS_IN_librt && defined __PIC__  #  define CENABLE \  	mov.l r12,@-r15; \  	mov.l 1f,r12; \ @@ -155,7 +155,7 @@  # endif  # ifndef __ASSEMBLER__ -#  if defined FLOATING_STACKS && USE___THREAD && defined PIC +#  if defined FLOATING_STACKS && USE___THREAD && defined __PIC__  #   define SINGLE_THREAD_P \    __builtin_expect (THREAD_GETMEM (THREAD_SELF, p_multiple_threads) == 0, 1)  #  else @@ -163,7 +163,7 @@ extern int __local_multiple_threads attribute_hidden;  #   define SINGLE_THREAD_P __builtin_expect (__local_multiple_threads == 0, 1)  #  endif  # else -#  if !defined PIC +#  if !defined __PIC__  #   define SINGLE_THREAD_P \  	mov.l 1f,r0; \  	mov.l @r0,r0; \ | 
