binutils-gdb/gdb/testsuite/gdb.asm/sparc64.inc
David S. Miller a1706bfd87 2002-04-17 David S. Miller <davem@redhat.com>
* gdb.asm/sparc64.inc: New file.
	* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00

35 lines
464 B
PHP

comment "subroutine prologue"
.macro gdbasm_enter
save %sp, -192, %sp
.endm
comment "subroutine epilogue"
.macro gdbasm_leave
return %i7 + 8
nop
.endm
.macro gdbasm_call subr
call \subr
nop
.endm
.macro gdbasm_several_nops
nop
nop
nop
nop
.endm
comment "exit (0)"
.macro gdbasm_exit0
comment "Don't know how to exit, but this will certainly halt..."
ldx [%g0], %i0
.endm
comment "crt0 startup"
.macro gdbasm_startup
clr %fp
.endm