From 28d2eaadf879398cec88535200491598574f0653 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 4 Mar 2005 19:28:16 +0000 Subject: [PATCH] 2.3.4-11 --- glibc-fedora.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/glibc-fedora.patch b/glibc-fedora.patch index fec8864..6b6bd39 100644 --- a/glibc-fedora.patch +++ b/glibc-fedora.patch @@ -3505,3 +3505,14 @@ #define IEXTEN 0x00008000 /* modem lines */ +--- libc/linuxthreads/sysdeps/powerpc/tcb-offsets.sym.jj 2005-03-04 14:21:29.000000000 -0500 ++++ libc/linuxthreads/sysdeps/powerpc/tcb-offsets.sym 2005-03-04 14:26:29.000000000 -0500 +@@ -8,7 +8,7 @@ + -- Abuse tls.h macros to derive offsets relative to the thread register. + # undef __thread_register + # define __thread_register ((void *) 0) +-# define thread_offsetof(mem) ((void *) &THREAD_SELF->p_##mem - (void *) 0) ++# define thread_offsetof(mem) ((ptrdiff_t) THREAD_SELF + offsetof (struct _pthread_descr_struct, p_##mem)) + + # else +