From 9a7506e8952851c5aea4471d02fd83c4ba334901 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Sun, 29 Nov 2009 10:56:29 -0800 Subject: don't use __i686 in symbol names as it seems gcc can define it Signed-off-by: Austin Foxley --- .../nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S') 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 -- cgit v1.2.3