From c77ec56d0cd4ae44b03a9eebeeeaaf88850a892d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 5 May 2000 08:07:07 +0000 Subject: Update. * elf/Makefile (distribute): Add dl-lookupcfg.h. * sysdeps/ia64/Dist: New file. --- linuxthreads/sysdeps/i386/useldt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/i386/useldt.h b/linuxthreads/sysdeps/i386/useldt.h index e6055e0128..bd527a3d3c 100644 --- a/linuxthreads/sysdeps/i386/useldt.h +++ b/linuxthreads/sysdeps/i386/useldt.h @@ -54,7 +54,8 @@ extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t); ({ \ register pthread_descr __self; \ __asm__ ("movl %%gs:%c1,%0" : "=r" (__self) \ - : "i" (offsetof (struct _pthread_descr_struct, p_self))); \ + : "i" (offsetof (struct _pthread_descr_struct, \ + p_header.data.self))); \ __self; \ }) -- cgit 1.4.1