]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.asm/sparc64.inc
daily update
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.asm / sparc64.inc
1 comment "subroutine prologue"
2 .macro gdbasm_enter
3 save %sp, -192, %sp
4 .endm
5
6 comment "subroutine epilogue"
7 .macro gdbasm_leave
8 return %i7 + 8
9 nop
10 .endm
11
12 .macro gdbasm_call subr
13 call \subr
14 nop
15 .endm
16
17 .macro gdbasm_several_nops
18 nop
19 nop
20 nop
21 nop
22 .endm
23
24 comment "exit (0)"
25 .macro gdbasm_exit0
26 comment "Don't know how to exit, but this will certainly halt..."
27 ldx [%g0], %i0
28 .endm
29
30 comment "crt0 startup"
31 .macro gdbasm_startup
32 clr %fp
33 .endm
34