date and time created 90/07/01 00:05:56 by bostic
[unix-history] / usr / src / lib / libc / i386 / DEFS.h
CommitLineData
d268a99e
WN
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * 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 5.1 (Berkeley) %G%
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