2005-01-23 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Wed, 26 Jan 2005 02:05:49 +0000 (02:05 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 26 Jan 2005 02:05:49 +0000 (02:05 +0000)
commit70a8119bf0429692aa5ce181c79470ab2f3e3681
tree4989572441907b6734364639d4011566f18c49ed
parent792dcd77cdafb46c746119e250a5ba9d20598f8f
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