blob: 8e2efdb3eaf7a803d151b991decd781437267a82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* $OpenBSD: cdefs.h,v 1.4 2002/02/19 03:17:45 drahn Exp $ */
/* $NetBSD: cdefs.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
* Written by J.T. Conklin <jtc@wimsey.com> 01/17/95.
* Public domain.
*/
#ifndef _POWERPC_CDEFS_H_
#define _POWERPC_CDEFS_H_
#ifdef __STDC__
#define _C_LABEL(x) _STRING(_ ## x)
#else
#define _C_LABEL(x) _STRING(_/**/x)
#endif
#define __weak_alias(alias,sym) \
__asm__(".weak " __STRING(alias) " ; " __STRING(alias) " = " __STRING(sym))
#define __warn_references(sym,msg) \
__asm__(".section .gnu.warning." __STRING(sym) " ; .ascii \"" msg "\" ; .text")
#endif /* !_POWERPC_CDEFS_H_ */
|