[BACK]Return to cdefs.h CVS log [TXT][DIR] Up to [local] / sys / arch / sh / include

Annotation of sys/arch/sh/include/cdefs.h, Revision 1.1.1.1

1.1       nbrk        1: /*     $OpenBSD: cdefs.h,v 1.1.1.1 2006/10/06 21:02:55 miod Exp $      */
                      2:
                      3: #ifndef        _SH_CDEFS_H_
                      4: #define        _SH_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) " ; " __STRING(alias)  \
                     13:            " = " __STRING(sym))
                     14: #define        __warn_references(sym,msg)                              \
                     15:        __asm__(".section .gnu.warning." __STRING(sym)          \
                     16:            " ; .ascii \"" msg "\" ; .text")
                     17: #endif
                     18:
                     19: #endif /* !_SH_CDEFS_H_ */

CVSweb