diff options
-rw-r--r-- | linuxthreads/ChangeLog | 5 | ||||
-rw-r--r-- | linuxthreads/sysdeps/i386/tls.h | 3 |
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 |