12 lines
284 B
C
12 lines
284 B
C
#ifdef GPROF
|
|
#define ENTRY(name) \
|
|
.globl _/**/name; _/**/name: link a6,#0; jbsr mcount; unlk a6
|
|
#define ALTENTRY(name, rname) \
|
|
ENTRY(name); jra rname+12
|
|
#else
|
|
#define ENTRY(name) \
|
|
.globl _/**/name; _/**/name:
|
|
#define ALTENTRY(name, rname) \
|
|
.globl _/**/name; _/**/name:
|
|
#endif
|