mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-24 19:51:11 +00:00
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.
This commit is contained in:
parent
6321f9e5e8
commit
fff30716a7
@ -33,10 +33,6 @@ else
|
||||
stack-align-test-flags += -malign-double
|
||||
endif
|
||||
|
||||
ifneq (,$(filter -mno-tls-direct-seg-refs,$(CFLAGS)))
|
||||
defines += -DNO_TLS_DIRECT_SEG_REFS
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),elf)
|
||||
sysdep-dl-routines += tlsdesc dl-tlsdesc
|
||||
|
||||
|
@ -101,19 +101,9 @@ ENTRY (__strcasecmp_sse4_2)
|
||||
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
|
||||
@ -138,19 +128,9 @@ ENTRY (__strncasecmp_sse4_2)
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user