Annotation of sys/arch/sparc64/include/cdefs.h, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: cdefs.h,v 1.3 2005/11/24 20:46:48 deraadt Exp $ */
2:
3: #ifndef _MACHINE_CDEFS_H_
4: #define _MACHINE_CDEFS_H_
5:
6: #if defined(lint)
7: #define __indr_reference(sym,alias) __lint_equal__(sym,alias)
8: #define __warn_references(sym,msg)
9: #define __weak_alias(alias,sym) __lint_equal__(sym,alias)
10: #elif defined(__GNUC__) && defined(__STDC__)
11: #define __weak_alias(alias,sym) \
12: __asm__(".weak " __STRING(alias) " ; " \
13: __STRING(alias) " = " __STRING(sym))
14: #define __warn_references(sym,msg) \
15: __asm__(".section .gnu.warning." __STRING(sym) \
16: " ; .ascii \"" msg "\" ; .text")
17: #endif
18:
19: #endif /* !_MACHINE_CDEFS_H_ */
CVSweb