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