]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(TRAMPOLINE_TEMPLATE): Add unwind annotations.
authorUlrich Drepper <drepper@redhat.com>
Fri, 19 Nov 2004 00:01:25 +0000 (00:01 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 19 Nov 2004 00:01:25 +0000 (00:01 +0000)
sysdeps/hppa/dl-machine.h

index bc9ed107b8f88faeb0a70b7519024956a9811ae9..d29501d3068dd0dddb79e507476301e2deaf187e 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                 \