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-sse4.S | |
parent | 65dc3b75044cc4847e8c523c22daec12fa51702f (diff) | |
download | glibc-9a1d92541ff2e864aab682d66fba7ea2555ef13b.tar glibc-9a1d92541ff2e864aab682d66fba7ea2555ef13b.tar.gz glibc-9a1d92541ff2e864aab682d66fba7ea2555ef13b.tar.bz2 glibc-9a1d92541ff2e864aab682d66fba7ea2555ef13b.zip |
Consistently use macros for x86 PIC thunks.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strcmp-sse4.S')
-rw-r--r-- | sysdeps/i386/i686/multiarch/strcmp-sse4.S | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcmp-sse4.S b/sysdeps/i386/i686/multiarch/strcmp-sse4.S index c9e0317b60..1c4d7cf54a 100644 --- a/sysdeps/i386/i686/multiarch/strcmp-sse4.S +++ b/sysdeps/i386/i686/multiarch/strcmp-sse4.S @@ -1,5 +1,5 @@ /* strcmp with SSE4.2 - 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. @@ -100,8 +100,7 @@ ENTRY (__strcasecmp_sse4_2) # 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 @@ -132,8 +131,7 @@ END (__strcasecmp_sse4_2) ENTRY (__strncasecmp_sse4_2) # 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 @@ -173,8 +171,7 @@ END (__strncasecmp_sse4_2) # 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 |