diff options
author | Roland McGrath <roland@gnu.org> | 2004-01-06 10:31:21 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-01-06 10:31:21 +0000 |
commit | 763c0490a22c03e1f5e9c9a4279e975c2e4953c3 (patch) | |
tree | d1d7665c28d1cad5ff756acb80ad7ec801c3323d /nptl/sysdeps/s390 | |
parent | 387533915f738e20698cce92d90c0677c991c3fc (diff) | |
download | glibc-763c0490a22c03e1f5e9c9a4279e975c2e4953c3.tar glibc-763c0490a22c03e1f5e9c9a4279e975c2e4953c3.tar.gz glibc-763c0490a22c03e1f5e9c9a4279e975c2e4953c3.tar.bz2 glibc-763c0490a22c03e1f5e9c9a4279e975c2e4953c3.zip |
* sysdeps/alpha/tls.h (DB_THREAD_SELF): Pass bit size of thread
register as second parameter to the REGISTER macro.
* sysdeps/ia64/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/powerpc/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/sh/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/sparc/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/s390/tls.h (DB_THREAD_SELF): Pass __WORDSIZE as bit size
of thread register as second parameter to REGISTER macro in 64 case.
Diffstat (limited to 'nptl/sysdeps/s390')
-rw-r--r-- | nptl/sysdeps/s390/tls.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nptl/sysdeps/s390/tls.h b/nptl/sysdeps/s390/tls.h index 7b38e3389d..b038910387 100644 --- a/nptl/sysdeps/s390/tls.h +++ b/nptl/sysdeps/s390/tls.h @@ -1,5 +1,5 @@ -/* Definition for thread-local data handling. nptl/s390 version. - Copyright (C) 2003 Free Software Foundation, Inc. +/* Definition for thread-local data handling. NPTL/s390 version. + Copyright (C) 2003, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -138,7 +138,8 @@ typedef struct # define THREAD_SELF ((struct pthread *) __builtin_thread_pointer ()) /* Magic for libthread_db to know how to do THREAD_SELF. */ -# define DB_THREAD_SELF REGISTER (32, 18 * 4, 0) REGISTER (64, 18 * 8, 0) +# define DB_THREAD_SELF REGISTER (32, 32, 18 * 4, 0) \ + REGISTER (64, __WORDSIZE, 18 * 8, 0) /* Access to data in the thread descriptor is easy. */ #define THREAD_GETMEM(descr, member) \ |