No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.asm / i386.inc
blob0964f77fbd4c337bf48f6e6aef5aeb31b892f154
1         comment "subroutine prologue"
2         .macro gdbasm_enter
3         push    %ebp
4         mov     %esp,%ebp
5         .endm
7         comment "subroutine epilogue"
8         .macro gdbasm_leave
9         pop     %ebp
10         ret
11         .endm
13         .macro gdbasm_call subr
14         call    \subr
15         .endm
17         .macro gdbasm_several_nops
18         nop
19         nop
20         nop
21         nop
22         .endm
24         comment "exit (0)"
25         .macro gdbasm_exit0
26         hlt
27         .endm
29         comment "crt0 startup"
30         .macro gdbasm_startup
31         xor     %ebp, %ebp
32         .endm
34         comment "Declare a data variable"
35         .purgem gdbasm_datavar
36         .macro gdbasm_datavar name value
37         .data
38 \name:
39         .long   \value
40         .endm