diff options
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/i386/createthread.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/createthread.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c index be2ca829ab..def163350f 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c +++ b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c @@ -108,6 +108,11 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS) } } +#ifdef NEED_DL_SYSINFO + assert (THREAD_GETMEM (THREAD_SELF, header.data.sysinfo) + == pd->header.data.sysinfo); +#endif + /* We rely heavily on various flags the CLONE function understands: CLONE_VM, CLONE_FS, CLONE_FILES |