2005-01-23 Roland McGrath <roland@redhat.com>
commitaace15d63e0dc060fc13545bd5b10ab767017d15
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:07:20 +0000 (16 11:07 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 11:07:20 +0000 (16 11:07 +0000)
tree70468ccc303ee407236004375a8b03416a587931
parent2c509be81b2c03edbe9ee888fd76ee71553d3384
2005-01-23  Roland McGrath  <roland@redhat.com>

[BZ #737]
* 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