OSDN Git Service

A patch from our Blackfin repository, originally from Jie Zhang. This fixes
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / bits / uClibc_arch_features.h
1 /*
2  * Track misc arch-specific features that aren't config options
3  */
4
5 #ifndef _BITS_UCLIBC_ARCH_FEATURES_H
6 #define _BITS_UCLIBC_ARCH_FEATURES_H
7
8 #error "You should copy this to your arch/bits/ dir and customize"
9
10 /* instruction used when calling abort() to kill yourself */
11 /*#define __UCLIBC_ABORT_INSTRUCTION__ "asm instruction"*/
12 #undef __UCLIBC_ABORT_INSTRUCTION__
13
14 /* can your target use syscall6() for mmap ? */
15 #undef __UCLIBC_MMAP_HAS_6_ARGS__
16
17 /* does your target use syscall4() for truncate64 ? (32bit arches only) */
18 #undef __UCLIBC_TRUNCATE64_HAS_4_ARGS__
19
20 /* does your target have a broken create_module() ? */
21 #undef __UCLIBC_BROKEN_CREATE_MODULE__
22
23 /* does your target have to worry about older [gs]etrlimit() ? */
24 #undef __UCLIBC_HANDLE_OLDER_RLIMIT__
25
26 /* does your target have an asm .set ? */
27 #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__
28
29 /* define if target doesn't like .global */
30 #undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__
31
32 /* define if target supports .weak */
33 #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__
34
35 /* define if target supports .weakext */
36 #undef __UCLIBC_HAVE_ASM_WEAKEXT_DIRECTIVE__
37
38 /* needed probably only for ppc64 */
39 #undef __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__
40
41 /* define if target supports IEEE signed zero floats */
42 #define __UCLIBC_HAVE_SIGNED_ZERO__
43
44 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */