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/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/i386/pthread_once.S')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S index afdb1c5f9..5ab2c5856 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S @@ -56,7 +56,7 @@ __pthread_once: /* Not yet initialized or initialization in progress. Get the fork generation counter now. */ 6: movl (%ebx), %eax -#ifdef PIC +#ifdef __PIC__ call __x86.get_pc_thunk.cx addl $_GLOBAL_OFFSET_TABLE_, %ecx #endif @@ -67,7 +67,7 @@ __pthread_once: jnz 4f andl $3, %edx -#ifdef PIC +#ifdef __PIC__ orl __fork_generation@GOTOFF(%ecx), %edx #else orl __fork_generation, %edx @@ -169,7 +169,7 @@ __pthread_once_internal = __pthread_once pthread_once = __pthread_once -#ifdef PIC +#ifdef __PIC__ .section .gnu.linkonce.t.__x86.get_pc_thunk.cx,"ax",@progbits .globl __x86.get_pc_thunk.cx .hidden __x86.get_pc_thunk.cx |