x86: Pass -O0 to assembler in noextreg.d
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.asm / pa.inc
CommitLineData
81bb3443
RC
1 comment "subroutine prologue"
2 .macro gdbasm_enter
3 stw %rp, -20(%sp)
4 copy %r3, %r1
5 copy %sp, %r3
6 stwm %r1, 64(%sp)
7 .endm
8
9 comment "subroutine epilogue"
10 .macro gdbasm_leave
11 ldw -20(%r3), %rp
12 bv %r0(%rp)
13 ldwm -64(%sp), %r3
14 .endm
15
16 .macro gdbasm_call subr
17 bl \subr , %rp
18 nop
19 .endm
20
21 .macro gdbasm_several_nops
22 nop
23 nop
24 nop
25 nop
26 .endm
27
28 comment "exit (0)"
29 .macro gdbasm_exit0
30 comment "Don't know how to exit, but this will certainly halt..."
31 ldw 0(%r0), %r1
32 .endm
33
34 comment "crt0 startup"
35 .macro gdbasm_startup
36 .align 4
37 .endm
38
39 comment "Declare a data variable"
584b6e9e 40 .purgem gdbasm_datavar
81bb3443
RC
41 .macro gdbasm_datavar name value
42 .data
43\name:
44 .long \value
45 .endm
This page took 2.34486 seconds and 4 git commands to generate.