summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
diff options
context:
space:
mode:
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.S6
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