]> sourceware.org Git - glibc.git/blobdiff - nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S
Consistently use macros for x86 PIC thunks.
[glibc.git] / nptl / sysdeps / unix / sysv / linux / i386 / i486 / sem_post.S
index 9f3e63520f157cc128d28b0b6511e84d8e2b1e9c..624a474a4d73112819d837d00fb111623caae527 100644 (file)
@@ -1,4 +1,5 @@
-/* Copyright (C) 2002,2003,2005,2007,2008,2011 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2003,2005,2007,2008,2011-2012
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -75,7 +76,7 @@ __new_sem_post:
        cfi_offset(%ebx, -8)
 1:
 #ifdef PIC
-       call    __i686.get_pc_thunk.bx
+       SETUP_PIC_REG(bx)
 #else
        movl    $4f, %ebx
 4:
@@ -96,7 +97,7 @@ __new_sem_post:
 
 3:
 #ifdef PIC
-       call    __i686.get_pc_thunk.bx
+       SETUP_PIC_REG(bx)
 #else
        movl    $5f, %ebx
 5:
@@ -149,15 +150,3 @@ __old_sem_post:
        .size   __old_sem_post,.-__old_sem_post
        compat_symbol(libpthread, __old_sem_post, sem_post, GLIBC_2_0)
 #endif
-
-
-#ifdef PIC
-       .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits
-       .globl  __i686.get_pc_thunk.bx
-       .hidden __i686.get_pc_thunk.bx
-       .type   __i686.get_pc_thunk.bx,@function
-__i686.get_pc_thunk.bx:
-       movl (%esp), %ebx;
-       ret
-       .size   __i686.get_pc_thunk.bx,.-__i686.get_pc_thunk.bx
-#endif
This page took 0.027475 seconds and 5 git commands to generate.