summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.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/i486/sem_trywait.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/i486/sem_trywait.S')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S16
1 files changed, 8 insertions, 8 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
index 1fd5186ad..6947c0d64 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S
@@ -48,8 +48,8 @@ __new_sem_trywait:
1:
#ifdef PIC
- call __i686.get_pc_thunk.cx
-#else
+ call __x86.get_pc_thunk.cx
+#elsen
movl $3f, %ecx
3:
#endif
@@ -74,12 +74,12 @@ weak_alias(__new_sem_trywait, sem_trywait)
#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