1 /* $OpenBSD: cdefs.h,v 1.2 1996/12/28 06:25:01 rahnds Exp $ */ 2 /* $NetBSD: cdefs.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */ 3 4 /* 5 * Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. 6 * Public domain. 7 */ 8 9 #ifndef _MACHINE_CDEFS_H_ 10 #define _MACHINE_CDEFS_H_ 11 12 #ifdef __STDC__ 13 #define _C_LABEL(x) _STRING(_ ## x) 14 #else 15 #define _C_LABEL(x) _STRING(_/**/x) 16 #endif 17 18 #if 0 19 #ifdef __GNUC__ 20 #ifdef __STDC__ 21 #define __indr_reference(sym,alias) \ 22 __asm__(".stabs \"_" #alias "\",11,0,0,0"); \ 23 __asm__(".stabs \"_" #sym "\",1,0,0,0") 24 #define __warn_references(sym,msg) \ 25 __asm__(".stabs \"" msg "\",30,0,0,0"); \ 26 __asm__(".stabs \"_" #sym "\",1,0,0,0") 27 #else 28 #define __indr_reference(sym,alias) \ 29 __asm__(".stabs \"_/**/alias\",11,0,0,0"); \ 30 __asm__(".stabs \"_/**/sym\",1,0,0,0") 31 #define __warn_references(sym,msg) \ 32 __asm__(".stabs msg,30,0,0,0"); \ 33 __asm__(".stabs \"_/**/sym\",1,0,0,0") 34 #endif 35 #endif 36 #else 37 #define __warn_references(sym,msg) 38 /* 39 #define __indr_reference(sym,alias) 40 */ 41 #endif 42 43 #endif /* !_MACHINE_CDEFS_H_ */ 44