2005-01-23 Roland McGrath <roland@redhat.com>
authorroland <roland>
Wed, 26 Jan 2005 02:05:48 +0000 (02:05 +0000)
committerroland <roland>
Wed, 26 Jan 2005 02:05:48 +0000 (02:05 +0000)
commitccb33a2b4c43517af27208162f86d881429109c4
tree2ced727b38111508e1893fd18522b89697ea7f5a
parent7b9c7a5a6ea58d77a1bac4cd7c37558c29e8184a
2005-01-23  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
* sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
(SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
* sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
sysdeps/i386/Makefile
sysdeps/unix/i386/sysdep.S
sysdeps/unix/sysv/linux/i386/sysdep.h