aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-05-28 10:51:15 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-05-28 11:53:08 +0200
commitfff30716a7517a2d1d4682c5b94e56b0e87f6a67 (patch)
treed0ebd02accee4a85bc8d1ed6f497d953a530e52c /sysdeps/i386/i686/multiarch/strcmp-ssse3.S
parent6321f9e5e8a7953095183c1ae41ed3ccf5a0cdd3 (diff)
downloadglibc-fff30716a7517a2d1d4682c5b94e56b0e87f6a67.tar
glibc-fff30716a7517a2d1d4682c5b94e56b0e87f6a67.tar.gz
glibc-fff30716a7517a2d1d4682c5b94e56b0e87f6a67.tar.bz2
glibc-fff30716a7517a2d1d4682c5b94e56b0e87f6a67.zip
i386: Remove NO_TLS_DIRECT_SEG_REFS handling
This was needed for 32-bit PV Xen, which has been superseded by this point according to Xen developers.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/strcmp-ssse3.S')
-rw-r--r--sysdeps/i386/i686/multiarch/strcmp-ssse3.S20
1 files changed, 0 insertions, 20 deletions
diff --git a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
index 8e830dec6f..1b9d53c1fe 100644
--- a/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
+++ b/sysdeps/i386/i686/multiarch/strcmp-ssse3.S
@@ -118,19 +118,9 @@ ENTRY (__strcasecmp_ssse3)
PUSH (%ebx)
LOAD_PIC_REG(bx)
movl __libc_tsd_LOCALE@GOTNTPOFF(%ebx), %eax
-# ifdef NO_TLS_DIRECT_SEG_REFS
- addl %gs:0, %eax
- movl (%eax), %eax
-# else
movl %gs:(%eax), %eax
-# endif
# else
-# ifdef NO_TLS_DIRECT_SEG_REFS
- movl %gs:0, %eax
- movl __libc_tsd_LOCALE@NTPOFF(%eax), %eax
-# else
movl %gs:__libc_tsd_LOCALE@NTPOFF, %eax
-# endif
# endif
# if LOCALE_T___LOCALES != 0 || LC_CTYPE != 0
movl LOCALE_T___LOCALES+LC_CTYPE*4(%eax), %eax
@@ -155,19 +145,9 @@ ENTRY (__strncasecmp_ssse3)
PUSH (%ebx)
LOAD_PIC_REG(bx)
movl __libc_tsd_LOCALE@GOTNTPOFF(%ebx), %eax
-# ifdef NO_TLS_DIRECT_SEG_REFS
- addl %gs:0, %eax
- movl (%eax), %eax
-# else
movl %gs:(%eax), %eax
-# endif
# else
-# ifdef NO_TLS_DIRECT_SEG_REFS
- movl %gs:0, %eax
- movl __libc_tsd_LOCALE@NTPOFF(%eax), %eax
-# else
movl %gs:__libc_tsd_LOCALE@NTPOFF, %eax
-# endif
# endif
# if LOCALE_T___LOCALES != 0 || LC_CTYPE != 0
movl LOCALE_T___LOCALES+LC_CTYPE*4(%eax), %eax