Commit | Line | Data |
---|---|---|
d268a99e | 1 | /*- |
53e6236f KB |
2 | * Copyright (c) 1990, 1993 |
3 | * The Regents of the University of California. All rights reserved. | |
d268a99e WN |
4 | * |
5 | * This code is derived from software contributed to Berkeley by | |
6 | * William Jolitz. | |
7 | * | |
8 | * %sccs.include.redist.c% | |
9 | * | |
53e6236f | 10 | * @(#)DEFS.h 8.1 (Berkeley) %G% |
d268a99e WN |
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 |