From: Ulrich Drepper Date: Fri, 19 Nov 2004 00:01:25 +0000 (+0000) Subject: (TRAMPOLINE_TEMPLATE): Add unwind annotations. X-Git-Tag: glibc-2.16-ports-before-merge~1099 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8608e6698db7fe9c01d79164a406c6770b0cb897;p=thirdparty%2Fglibc.git (TRAMPOLINE_TEMPLATE): Add unwind annotations. --- diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h index bc9ed107b8f..d29501d3068 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 \