summaryrefslogtreecommitdiff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-19 00:01:34 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-19 00:01:34 +0000
commit3defcff3991314ad57e9b63c37f5e6de9fd5e879 (patch)
treed519fbafd39e601f5df47df771b2a6c10b1f17eb /nptl
parentc06a6956a40a878fdbe319e4688196e7c990bf7a (diff)
2004-11-17 Randolph Chung <tausq@debian.org> * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind annotations.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/sysdeps/sh/tls.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 4c63f9e147..d1cb65559c 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-18 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * sysdeps/sh/tls.h (DB_THREAD_SELF): Set the correct bias
+ parameter to REGISTER macro.
+
2004-11-17 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/timer_routines.c (__start_helper_thread):
diff --git a/nptl/sysdeps/sh/tls.h b/nptl/sysdeps/sh/tls.h
index 88b13a35c8..db490ab7ee 100644
--- a/nptl/sysdeps/sh/tls.h
+++ b/nptl/sysdeps/sh/tls.h
@@ -118,7 +118,8 @@ typedef struct
__self - 1;})
/* Magic for libthread_db to know how to do THREAD_SELF. */
-# define DB_THREAD_SELF REGISTER (32, 32, REG_GBR * 4, 0)
+# define DB_THREAD_SELF \
+ REGISTER (32, 32, REG_GBR * 4, -sizeof (struct pthread))
/* Read member of the thread descriptor directly. */
# define THREAD_GETMEM(descr, member) (descr->member)