(TRAMPOLINE_TEMPLATE): Add unwind annotations.

This commit is contained in:
Ulrich Drepper 2004-11-19 00:01:25 +00:00
parent 6deb629a54
commit 8608e6698d
1 changed files with 5 additions and 1 deletions

View File

@ -495,6 +495,9 @@ asm ( \
" .globl " #tramp_name "\n" \ " .globl " #tramp_name "\n" \
" .type " #tramp_name ",@function\n" \ " .type " #tramp_name ",@function\n" \
#tramp_name ":\n" \ #tramp_name ":\n" \
" .proc\n" \
" .callinfo frame=64,calls,save_rp\n" \
" .entry\n" \
/* Save return pointer */ \ /* Save return pointer */ \
" stw %r2,-20(%sp)\n" \ " stw %r2,-20(%sp)\n" \
/* Save argument registers in the call stack frame. */ \ /* Save argument registers in the call stack frame. */ \
@ -526,7 +529,8 @@ asm ( \
" bv %r0(%r22)\n" \ " bv %r0(%r22)\n" \
/* Return pointer. */ \ /* Return pointer. */ \
" ldw -20(%sp),%r2\n" \ " ldw -20(%sp),%r2\n" \
); " .exit\n" \
" .procend\n");
#ifndef PROF #ifndef PROF
#define ELF_MACHINE_RUNTIME_TRAMPOLINE \ #define ELF_MACHINE_RUNTIME_TRAMPOLINE \