1: /* 2: * Copyright (c) 1983 Regents of the University of California. 3: * All rights reserved. The Berkeley software License Agreement 4: * specifies the terms and conditions for redistribution. 5: * 6: * @(#)DEFS.h 1.1 (Berkeley) 1/25/87 7: */ 8: 9: #define ENTRY(x) .globl _/**/x; \ 10: _/**/x: \ 11: PROFCODE(_/**/x); 12: 13: #define ASENTRY(x) .globl x; \ 14: x: \ 15: PROFCODE(x); 16: 17: #ifdef PROF 18: #define PROFCODE(x) .data; \ 19: 1: x+1; \ 20: .text; \ 21: .globl mcount; \ 22: mov $1b, r0; \ 23: jsr pc,mcount; 24: #else !PROF 25: #define PROFCODE(x) ; 26: #endif PROF