aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-11-19 00:01:25 +0000
committerUlrich Drepper <drepper@redhat.com>2004-11-19 00:01:25 +0000
commit8608e6698db7fe9c01d79164a406c6770b0cb897 (patch)
tree2309965e0a7a58d78203f7379a7f3a117d35a6c6
parent6deb629a5447613bfddf7f24cffbcd28b985667f (diff)
downloadglibc-8608e6698db7fe9c01d79164a406c6770b0cb897.tar
glibc-8608e6698db7fe9c01d79164a406c6770b0cb897.tar.gz
glibc-8608e6698db7fe9c01d79164a406c6770b0cb897.tar.bz2
glibc-8608e6698db7fe9c01d79164a406c6770b0cb897.zip
(TRAMPOLINE_TEMPLATE): Add unwind annotations.
-rw-r--r--sysdeps/hppa/dl-machine.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h
index bc9ed107b8..d29501d306 100644
--- a/sysdeps/hppa/dl-machine.h
+++ b/sysdeps/hppa/dl-machine.h
@@ -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 \