Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 19 Nov 2004 00:01:34 +0000 (00:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 19 Nov 2004 00:01:34 +0000 (00:01 +0000)
2004-11-17  Randolph Chung  <tausq@debian.org>

* sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind
annotations.

ChangeLog
nptl/ChangeLog
nptl/sysdeps/sh/tls.h
sysdeps/hppa/dl-machine.h

index 9cadb34..d5cc33e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-17  Randolph Chung  <tausq@debian.org>
+
+       * sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind
+       annotations.
+
 2004-11-18  Jakub Jelinek  <jakub@redhat.com>
 
        [BZ #544]
index 4c63f9e..d1cb655 100644 (file)
@@ -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):
index 88b13a3..db490ab 100644 (file)
@@ -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)
index bc9ed10..d29501d 100644 (file)
@@ -495,6 +495,9 @@ asm (                                                                       \
  "     .globl " #tramp_name "\n"                                       \
  "     .type " #tramp_name ",@function\n"                              \
   #tramp_name ":\n"                                                    \
+ "     .proc\n"                                                        \
+ "     .callinfo frame=64,calls,save_rp\n"                             \
+ "     .entry\n"                                                       \
        /* Save return pointer */                                       \
  "     stw     %r2,-20(%sp)\n"                                         \
        /* Save argument registers in the call stack frame. */          \
@@ -526,7 +529,8 @@ asm (                                                                       \
  "     bv      %r0(%r22)\n"                                            \
        /* Return pointer. */                                           \
  "     ldw     -20(%sp),%r2\n"                                         \
-        );
+ "     .exit\n"                                                        \
+ "     .procend\n");
   
 #ifndef PROF
 #define ELF_MACHINE_RUNTIME_TRAMPOLINE                 \