1 /*
2  * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
3  *
4  * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
5  * in this tarball.
6  */
7 
8 /*
9  * Track misc arch-specific features that aren't config options
10  */
11 
12 #ifndef _BITS_UCLIBC_ARCH_FEATURES_H
13 #define _BITS_UCLIBC_ARCH_FEATURES_H
14 
15 # define __UCLIBC_ABORT_INSTRUCTION__ ".long 0xffffffff"
16 
17 /* can your target use syscall6() for mmap ? */
18 #undef __UCLIBC_MMAP_HAS_6_ARGS__
19 
20 #ifdef __CSKYABIV2__
21 #undef __UCLIBC_SYSCALL_ALIGN_64BIT__
22 #else
23 #define __UCLIBC_SYSCALL_ALIGN_64BIT__
24 #endif
25 
26 /* does your target have a broken create_module() ? */
27 #define __UCLIBC_BROKEN_CREATE_MODULE__
28 
29 /* does your target have to worry about older [gs]etrlimit() ? */
30 #define __UCLIBC_HANDLE_OLDER_RLIMIT__
31 
32 /* does your target have an asm .set ? */
33 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
34 
35 /* define if target doesn't like .global */
36 #undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
37 
38 /* define if target supports .weak */
39 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
40 
41 /* define if target supports .weakext */
42 #undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
43 
44 /* needed probably only for ppc64 */
45 #undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
46 
47 /* define if target supports IEEE signed zero floats */
48 #define __UCLIBC_HAVE_SIGNED_ZERO__
49 
50 /* define if target supports CFI pseudo ops */
51 #define __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__
52 
53 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */
54