1 /*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * William Jolitz. 7 * 8 * %sccs.include.redist.c% 9 * 10 * @(#)DEFS.h 8.1 (Berkeley) 06/04/93 11 */ 12 13 #ifdef PROF 14 #define ENTRY(x) .globl _/**/x; _/**/x: \ 15 .data; 1:; .long 0; .text; lea 1b,%eax ; call mcount 16 #define ASENTRY(x) .globl x; x: \ 17 .data; 1:; .long 0; .text; lea 1b,%eax ; call mcount 18 #else 19 #define ENTRY(x) .globl _/**/x; _/**/x: 20 #define ASENTRY(x) .globl x; x: 21 #endif 22