diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-02-03 23:22:53 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-02-03 23:22:53 +0000 |
commit | 9a1d92541ff2e864aab682d66fba7ea2555ef13b (patch) | |
tree | a5b3b673f66207a42c5f53618a328d934b08d8fc /sysdeps/i386/i686/multiarch/strcmp-ssse3.S | |
parent | 65dc3b75044cc4847e8c523c22daec12fa51702f (diff) | |
download | glibc-9a1d92541ff2e864aab682d66fba7ea2555ef13b.tar.gz glibc-9a1d92541ff2e864aab682d66fba7ea2555ef13b.tar.xz glibc-9a1d92541ff2e864aab682d66fba7ea2555ef13b.zip |
Consistently use macros for x86 PIC thunks.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strcmp-ssse3.S')
-rw-r--r-- | sysdeps/i386/i686/multiarch/strcmp-ssse3.S | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S index cbba465504..6c3e905135 100644 --- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S +++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S @@ -1,5 +1,5 @@ /* strcmp with SSSE3 - Copyright (C) 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2010-2012 Free Software Foundation, Inc. Contributed by Intel Corporation. This file is part of the GNU C Library. @@ -117,8 +117,7 @@ ENTRY (__strcasecmp_ssse3) # ifdef PIC PUSH (%ebx) - call __i686.get_pc_thunk.bx - addl $_GLOBAL_OFFSET_TABLE_, %ebx + LOAD_PIC_REG(bx) movl __libc_tsd_LOCALE@GOTNTPOFF(%ebx), %eax # ifdef NO_TLS_DIRECT_SEG_REFS addl %gs:0, %eax @@ -149,8 +148,7 @@ END (__strcasecmp_ssse3) ENTRY (__strncasecmp_ssse3) # ifdef PIC PUSH (%ebx) - call __i686.get_pc_thunk.bx - addl $_GLOBAL_OFFSET_TABLE_, %ebx + LOAD_PIC_REG(bx) movl __libc_tsd_LOCALE@GOTNTPOFF(%ebx), %eax # ifdef NO_TLS_DIRECT_SEG_REFS addl %gs:0, %eax @@ -190,8 +188,7 @@ ENTRY (STRCMP) # ifdef PIC PUSH (%ebx) - call __i686.get_pc_thunk.bx - addl $_GLOBAL_OFFSET_TABLE_, %ebx + LOAD_PIC_REG(bx) # endif L(ascii): .section .rodata.cst16,"aM",@progbits,16 |