1 /* 2 * Copyright (c) 1988 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that this notice is preserved and that due credit is given 7 * to the University of California at Berkeley. The name of the University 8 * may not be used to endorse or promote products derived from this 9 * software without specific prior written permission. This software 10 * is provided ``as is'' without express or implied warranty. 11 * 12 * @(#)defs.h 1.2 (Berkeley) 03/28/88 13 */ 14 15 #ifdef PROF 16 #define ENTRY(x) .globl _/**/x; .align 2; _/**/x: .word 0; \ 17 .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount 18 #define ASENTRY(x) .globl x; .align 2; x: .word 0; \ 19 .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount 20 #else 21 #define ENTRY(x) .globl _/**/x; .align 2; _/**/x: .word 0 22 #define ASENTRY(x) .globl x; .align 2; x: .word 0 23 #endif 24