1 /* $OpenBSD: cdefs.h,v 1.9 2005/11/24 20:46:45 deraadt Exp $ */
4 * Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
8 #ifndef _MACHINE_CDEFS_H_
9 #define _MACHINE_CDEFS_H_
12 #define __indr_reference(sym,alias) __lint_equal__(sym,alias)
13 #define __warn_references(sym,msg)
14 #define __weak_alias(alias,sym) __lint_equal__(sym,alias)
15 #elif defined(__GNUC__) && defined(__STDC__)
16 #define __weak_alias(alias,sym) \
17 __asm__(".weak " __STRING(alias) " ; " \
18 __STRING(alias) " = " __STRING(sym));
19 #define __warn_references(sym,msg) \
20 __asm__(".section .gnu.warning." __STRING(sym) \
21 " ; .ascii \"" msg "\" ; .text");
24 #endif /* !_MACHINE_CDEFS_H_ */