* sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
authorRoland McGrath <roland@gnu.org>
Wed, 26 Jan 2005 02:05:57 +0000 (02:05 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 26 Jan 2005 02:05:57 +0000 (02:05 +0000)
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.

ChangeLog

index 32e3641..cc75cfe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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.
+
 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
 
        * stdlib/fmtmsg.c (addseverity): Remove new_string variable.