From 9a1d92541ff2e864aab682d66fba7ea2555ef13b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 3 Feb 2012 23:22:53 +0000 Subject: Consistently use macros for x86 PIC thunks. --- sysdeps/i386/i686/multiarch/wmemcmp.S | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'sysdeps/i386/i686/multiarch/wmemcmp.S') diff --git a/sysdeps/i386/i686/multiarch/wmemcmp.S b/sysdeps/i386/i686/multiarch/wmemcmp.S index 5080c14ea7..dccdd16cbf 100644 --- a/sysdeps/i386/i686/multiarch/wmemcmp.S +++ b/sysdeps/i386/i686/multiarch/wmemcmp.S @@ -1,5 +1,5 @@ /* Multiple versions of wmemcmp - Copyright (C) 2011 Free Software Foundation, Inc. + Copyright (C) 2011-2012 Free Software Foundation, Inc. Contributed by Intel Corporation. This file is part of the GNU C Library. @@ -24,23 +24,13 @@ /* Define multiple versions only for the definition in libc. */ #ifndef NOT_IN_libc - .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits - .globl __i686.get_pc_thunk.bx - .hidden __i686.get_pc_thunk.bx - .p2align 4 - .type __i686.get_pc_thunk.bx,@function - __i686.get_pc_thunk.bx: - movl (%esp), %ebx - ret - .text ENTRY(wmemcmp) .type wmemcmp, @gnu_indirect_function pushl %ebx cfi_adjust_cfa_offset (4) cfi_rel_offset (ebx, 0) - call __i686.get_pc_thunk.bx - addl $_GLOBAL_OFFSET_TABLE_, %ebx + LOAD_PIC_REG(bx) cmpl $0, KIND_OFFSET+__cpu_features@GOTOFF(%ebx) jne 1f call __init_cpu_features -- cgit v1.2.3