1 /*- 2 * %sccs.include.redist.c% 3 * 4 * @(#)DEFS.h 5.1 (Berkeley) 06/25/92 5 */ 6 7 #ifdef PROF 8 #define FUNC(x) \ 9 .align 4; .globl x; .proc 1; x:; .data; .align 4; 1: .long 0; \ 10 .text; save %sp,-96,%sp; sethi %hi(1b),%o0; call mcount; \ 11 or %lo(1b),%o0,%o0; restore 12 #else 13 #define FUNC(x) \ 14 .align 4; .globl x; .proc 1; x: 15 #endif 16 17 #define ENTRY(x) FUNC(_##x) 18