blob: c2a4fc88aee3a048c662abb75635d7c133e4e148 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifdef __STDC__
#define FUNC__(name) \
.align 3; \
.globl __##name; \
.ent __##name; \
__##name: \
lda sp, -16(sp); \
.frame sp, 16, t9, 0; \
.prologue 0
#else
#define FUNC__(name) \
.align 3; \
.globl __/**/name; \
.ent __/**/name,0; \
__/**/name: \
lda sp, -16(sp); \
.frame sp, 16, t9, 0; \
.prologue 0
#endif
#ifdef __STDC__
#define NAME__(name) \
__##name
#else
#define NAME__(name) \
__/**/name
#endif
|