summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-11-29 10:56:29 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-11-29 10:56:29 -0800
commit9a7506e8952851c5aea4471d02fd83c4ba334901 (patch)
treea580641b2128fd453c552f4ac91bbf7fa4f67a64 /libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
parent8359f22a288236613e64f2b3e96ef6e2ac2de097 (diff)
don't use __i686 in symbol names as it seems gcc can define it
Signed-off-by: Austin Foxley <austinf@cetoncorp.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.S14
1 files changed, 7 insertions, 7 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 97b4afbf0..afdb1c5f9 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
@@ -57,7 +57,7 @@ __pthread_once:
Get the fork generation counter now. */
6: movl (%ebx), %eax
#ifdef PIC
- call __i686.get_pc_thunk.cx
+ call __x86.get_pc_thunk.cx
addl $_GLOBAL_OFFSET_TABLE_, %ecx
#endif
@@ -170,12 +170,12 @@ pthread_once = __pthread_once
#ifdef PIC
- .section .gnu.linkonce.t.__i686.get_pc_thunk.cx,"ax",@progbits
- .globl __i686.get_pc_thunk.cx
- .hidden __i686.get_pc_thunk.cx
- .type __i686.get_pc_thunk.cx,@function
-__i686.get_pc_thunk.cx:
+ .section .gnu.linkonce.t.__x86.get_pc_thunk.cx,"ax",@progbits
+ .globl __x86.get_pc_thunk.cx
+ .hidden __x86.get_pc_thunk.cx
+ .type __x86.get_pc_thunk.cx,@function
+__x86.get_pc_thunk.cx:
movl (%esp), %ecx;
ret
- .size __i686.get_pc_thunk.cx,.-__i686.get_pc_thunk.cx
+ .size __x86.get_pc_thunk.cx,.-__x86.get_pc_thunk.cx
#endif