1
! Trampoline for sparc64 CPU
3
! Copyright 1999 Bruno Haible, <bruno@clisp.org>
5
! This is free software distributed under the GNU General Public Licence
6
! described in the file COPYING. Contact the author if you don't have this
7
! or can't live with it. There is ABSOLUTELY NO WARRANTY, explicit or implied,
10
! Available registers: %g1, %g2, %g3.
15
call _getpc,0 ! Put the address of _tramp into %o7
16
mov %o7,%g1 ! But save the previous %o7 in %g1
18
ldx [%o7+(_data-_tramp)],%g5
19
ldx [%o7+(_function-_tramp)],%g2