]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.asm/bfin.inc
Fix powerpc-power8.exp test with new mnemonics
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.asm / bfin.inc
CommitLineData
33a365df
MF
1 comment "subroutine prologue"
2 .macro gdbasm_enter
3 LINK 12;
4 .endm
5
6 comment "subroutine epilogue"
7 .macro gdbasm_leave
8 UNLINK;
9 RTS;
10 .endm
11
12 .macro gdbasm_call subr
13 call \subr;
14 .endm
15
16 .macro gdbasm_several_nops
17 mnop;
18 mnop;
19 mnop;
20 mnop;
21 .endm
22
23 comment "exit (0)"
24 .macro gdbasm_exit0
25 R0 = 0;
26 EXCPT 0;
27 NOP;
28 .endm
29
30 comment "crt0 startup"
31 .macro gdbasm_startup
32 FP = 0;
33 LINK 0xc;
34 .endm
35
36 comment "Declare a data variable"
37 .purgem gdbasm_datavar
38 .macro gdbasm_datavar name value
39 .data
40 .align 4
41 .type \name, @object
42 .size \name, 4
43\name:
44 .long \value
45 .endm