about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-21 11:04:22 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-21 11:04:22 +0000
commit0fe354398f5a19c3529402e4f2e8bb8f055588a1 (patch)
tree06c6798db717b058942dcf4a030499220109631d
parent8d0af7f2838f065b8c684f95d2487ab0e2156c15 (diff)
downloadglibc-0fe354398f5a19c3529402e4f2e8bb8f055588a1.tar.gz
glibc-0fe354398f5a19c3529402e4f2e8bb8f055588a1.tar.xz
glibc-0fe354398f5a19c3529402e4f2e8bb8f055588a1.zip
Update.
2002-08-21  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/tls.h (TLS_SETUP_GS_SEGMENT): Add new parameter
	also to the third definition of this macro.
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/sysdeps/i386/tls.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 39c88c0cf1..0b8f07b4c2 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-21  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/i386/tls.h (TLS_SETUP_GS_SEGMENT): Add new parameter
+	also to the third definition of this macro.
+
 2002-06-17  Andreas Jaeger  <aj@suse.de>
 
 	* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
diff --git a/linuxthreads/sysdeps/i386/tls.h b/linuxthreads/sysdeps/i386/tls.h
index a168c008b7..a0c822759f 100644
--- a/linuxthreads/sysdeps/i386/tls.h
+++ b/linuxthreads/sysdeps/i386/tls.h
@@ -145,7 +145,8 @@ typedef struct
   ({ int __seg = TLS_DO_SET_THREAD_AREA (descr, secondcall); \
      __seg == -1 ? TLS_DO_MODIFY_LDT (descr, 0) : __seg; })
 #  else
-#   define TLS_SETUP_GS_SEGMENT(descr) TLS_DO_MODIFY_LDT ((descr), 0)
+#   define TLS_SETUP_GS_SEGMENT(descr, secondcall) \
+  TLS_DO_MODIFY_LDT ((descr), 0)
 #  endif
 
 /* Code to initially initialize the thread pointer.  This might need