summary refs log tree commit diff
path: root/sysdeps/hppa
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 /sysdeps/hppa
parentc06a6956a40a878fdbe319e4688196e7c990bf7a (diff)
downloadglibc-3defcff3991314ad57e9b63c37f5e6de9fd5e879.tar.gz
glibc-3defcff3991314ad57e9b63c37f5e6de9fd5e879.tar.xz
glibc-3defcff3991314ad57e9b63c37f5e6de9fd5e879.zip
2004-11-17  Randolph Chung  <tausq@debian.org>

	* sysdeps/hppa/dl-machine.h (TRAMPOLINE_TEMPLATE): Add unwind
	annotations.
Diffstat (limited to 'sysdeps/hppa')
-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			\