aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-05 08:07:07 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-05 08:07:07 +0000
commitc77ec56d0cd4ae44b03a9eebeeeaaf88850a892d (patch)
tree09dbb36a1f9c670d17006baf64f9c0a8faa6d804 /linuxthreads/sysdeps/i386
parentc0282c0642e99b375ab14fd343aa537445cd72a4 (diff)
downloadglibc-c77ec56d0cd4ae44b03a9eebeeeaaf88850a892d.zip
glibc-c77ec56d0cd4ae44b03a9eebeeeaaf88850a892d.tar.gz
glibc-c77ec56d0cd4ae44b03a9eebeeeaaf88850a892d.tar.bz2
Update.
* elf/Makefile (distribute): Add dl-lookupcfg.h. * sysdeps/ia64/Dist: New file.
Diffstat (limited to 'linuxthreads/sysdeps/i386')
-rw-r--r--linuxthreads/sysdeps/i386/useldt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/i386/useldt.h b/linuxthreads/sysdeps/i386/useldt.h
index e6055e0..bd527a3 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; \
})