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/i386/sysdep.h | |
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/i386/sysdep.h')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h index f9343cc93..674d5c699 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -57,7 +57,7 @@ /* We don't want the label for the error handle to be global when we define it here. */ -#ifdef PIC +#ifdef __PIC__ # define SYSCALL_ERROR_LABEL 0f #else # define SYSCALL_ERROR_LABEL syscall_error @@ -103,7 +103,7 @@ #define ret_ERRVAL ret -#ifndef PIC +#ifndef __PIC__ # define SYSCALL_ERROR_HANDLER /* Nothing here; code in sysdep.S is used. */ #else @@ -177,7 +177,7 @@ orl $-1, %eax; \ jmp L(pseudo_end); # endif /* _LIBC_REENTRANT */ -#endif /* PIC */ +#endif /* __PIC__ */ /* The original calling convention for system calls on Linux/i386 is |