]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.asm/aarch64.inc
Fix powerpc-power8.exp test with new mnemonics
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.asm / aarch64.inc
1 comment "subroutine prologue"
2 .macro gdbasm_enter
3 stp x29, x30, [sp,#-32]!
4 mov x29, sp
5 .endm
6
7 comment "subroutine epilogue"
8 .macro gdbasm_leave
9 ldp x29, x30, [sp],#32
10 ret
11 .endm
12
13 .macro gdbasm_call subr
14 bl \subr
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 mov x8, #93
27 svc 0
28 .endm
29
30 comment "crt0 startup"
31 .macro gdbasm_startup
32 mov x0, sp
33 .endm
34