]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/blob - contrib/compiler-rt/lib/abi.h
Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
[FreeBSD/releng/9.0.git] / contrib / compiler-rt / lib / abi.h
1 /* ===------ abi.h - configuration header for compiler-rt  -----------------===
2  *
3  *                     The LLVM Compiler Infrastructure
4  *
5  * This file is dual licensed under the MIT and the University of Illinois Open
6  * Source Licenses. See LICENSE.TXT for details.
7  *
8  * ===----------------------------------------------------------------------===
9  *
10  * This file is a configuration header for compiler-rt.
11  * This file is not part of the interface of this library.
12  *
13  * ===----------------------------------------------------------------------===
14  */
15
16 #if __ARM_EABI__
17 # define ARM_EABI_FNALIAS(aeabi_name, name)         \
18   void __aeabi_##aeabi_name() __attribute__((alias("__" #name)));
19 # define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
20 #else
21 # define ARM_EABI_FNALIAS(aeabi_name, name)
22 # define COMPILER_RT_ABI
23 #endif