Add RISC-V entries to config.h.in
[platform/upstream/glibc.git] / config.h.in
1 /* Define if building with SELinux support.  Set by --with-selinux.  */
2 #undef  HAVE_SELINUX
3
4 /* Defined if building with SELinux support & audit libs are detected. */
5 #undef  HAVE_LIBAUDIT
6
7 /* Defined if building with SELinux support & libcap libs are detected.  */
8 #undef  HAVE_LIBCAP
9
10 /* Define to the assembler line separator character for multiple
11    assembler instructions per line.  Default is `;'  */
12 #undef ASM_LINE_SEP
13
14 /* Define if __attribute__((section("foo"))) puts quotes around foo.  */
15 #undef  HAVE_SECTION_QUOTES
16
17 /* Define if the assembler supports the `.set' directive.  */
18 #undef  HAVE_ASM_SET_DIRECTIVE
19
20 /* On powerpc64, use overlapping .opd entries.  */
21 #undef  USE_PPC64_OVERLAPPING_OPD
22
23 /* Define if _Unwind_Find_FDE should be exported from glibc.  */
24 #undef  EXPORT_UNWIND_FIND_FDE
25
26 /* Define if static NSS modules are wanted.  */
27 #undef  DO_STATIC_NSS
28
29 /* Assume that the compiler supports __builtin_expect.
30    This macro is necessary for proper compilation of code
31    shared between GNU libc and GNU gettext projects.  */
32 #define HAVE_BUILTIN_EXPECT 1
33
34 /* Define if the compiler supports __builtin_memset.  */
35 #undef  HAVE_BUILTIN_MEMSET
36
37 /* Define if compiler accepts -ftree-loop-distribute-patterns.  */
38 #undef  HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
39
40 /* Define if compiler accepts -fno-stack-protector in an
41    __attribute__ ((__optimize__)).  */
42 #undef  HAVE_CC_NO_STACK_PROTECTOR
43
44 /* The level of stack protection in use for glibc as a whole.
45    May be overridden on a file-by-file basis.  */
46 #ifndef STACK_PROTECTOR_LEVEL
47 #undef  STACK_PROTECTOR_LEVEL
48 #endif
49
50 /* Defined on SPARC if GCC emits GOTDATA relocations.  */
51 #undef  HAVE_GCC_GOTDATA
52
53 /* Define if the linker supports the -z combreloc option.  */
54 #undef  HAVE_Z_COMBRELOC
55
56 /* Define if _rtld_local structure should be forced into .sdata section.  */
57 #undef  HAVE_SDATA_SECTION
58
59 /* Define if compiler supports AVX512.  */
60 #undef  HAVE_AVX512_SUPPORT
61
62 /* Define if assembler supports AVX512DQ.  */
63 #undef  HAVE_AVX512DQ_ASM_SUPPORT
64
65 /* Define if assembler supports z196 zarch instructions as default on S390.  */
66 #undef  HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
67
68 /* Define if assembler supports vector instructions on S390.  */
69 #undef  HAVE_S390_VX_ASM_SUPPORT
70
71 /* Define if gcc supports vector registers as clobbers in inline assembly
72    on S390.  */
73 #undef  HAVE_S390_VX_GCC_SUPPORT
74
75 /* Define if assembler supports Intel MPX.  */
76 #undef  HAVE_MPX_SUPPORT
77
78 /* Define if the compiler\'s exception support is based on libunwind.  */
79 #undef  HAVE_CC_WITH_LIBUNWIND
80
81 /* Define if the access to static and hidden variables is position independent
82    and does not need relocations.  */
83 #undef  PI_STATIC_AND_HIDDEN
84
85 /* Define this to disable the 'hidden_proto' et al macros in
86    include/libc-symbols.h that avoid PLT slots in PIE.  */
87 #undef  NO_HIDDEN_EXTERN_FUNC_IN_PIE
88
89 /* Define this to disable the 'hidden_proto' et al macros in
90    include/libc-symbols.h that avoid PLT slots in the shared objects.  */
91 #undef  NO_HIDDEN
92
93 /* Define this to disable in rtld the 'hidden_proto' et al macros in
94    include/libc-symbols.h that avoid PLT slots in the shared objects.  */
95 #undef  NO_RTLD_HIDDEN
96
97 /* Define this to disable lazy relocations in DSOs.  */
98 #undef  BIND_NOW
99
100 /* AArch64 big endian ABI */
101 #undef HAVE_AARCH64_BE
102
103 /* RISC-V integer ABI for ld.so.  */
104 #undef RISCV_ABI_XLEN
105
106 /* RISC-V floating-point ABI for ld.so.  */
107 #undef RISCV_ABI_FLEN
108
109 /* Linux specific: minimum supported kernel version.  */
110 #undef  __LINUX_KERNEL_VERSION
111
112 /* Override abi-tags ABI version if necessary.  */
113 #undef  __ABI_TAG_VERSION
114
115 /* Mach/Hurd specific: define if mig supports the `retcode' keyword.  */
116 #undef  HAVE_MIG_RETCODE
117
118 /* Mach specific: define if the `host_page_size' RPC is available.  */
119 #undef  HAVE_HOST_PAGE_SIZE
120
121 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available.  */
122 #undef  HAVE_I386_IO_PERM_MODIFY
123
124 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available.  */
125 #undef  HAVE_I386_SET_GDT
126
127 /* Defined of libidn is available.  */
128 #undef HAVE_LIBIDN
129
130 /* Define if inlined system calls are available.  */
131 #undef HAVE_INLINED_SYSCALLS
132
133 /* Define if your compiler defaults to -msecure-plt mode on ppc.  */
134 #undef HAVE_PPC_SECURE_PLT
135
136 /* Define if __stack_chk_guard canary should be randomized at program startup.  */
137 #undef ENABLE_STACKGUARD_RANDOMIZE
138
139 /* Package description.  */
140 #undef PKGVERSION
141
142 /* Bug reporting address.  */
143 #undef REPORT_BUGS_TO
144
145 /* Define if multi-arch DSOs should be generated.  */
146 #undef USE_MULTIARCH
147
148 /* Define if `.ctors' and `.dtors' sections shouldn't be used.  */
149 #undef  NO_CTORS_DTORS_SECTIONS
150
151 /* Define if obsolete RPC code should be made available for user-level code
152    to link against.  */
153 #undef LINK_OBSOLETE_RPC
154
155 /* Define if obsolete libnsl code should be made available for user-level
156    code to link against.  */
157 #undef LINK_OBSOLETE_NSL
158
159 /* Define if Systemtap <sys/sdt.h> probes should be defined.  */
160 #undef USE_STAP_PROBE
161
162 /* Define if library functions should try to contact the nscd daemon.  */
163 #undef USE_NSCD
164
165 /* Define if the dynamic linker should consult an ld.so.cache file.  */
166 #undef USE_LDCONFIG
167
168 /* Define to 1 if STT_GNU_IFUNC support actually works.  */
169 #define HAVE_IFUNC 0
170
171 /* Define if gcc supports attribute ifunc.  */
172 #undef HAVE_GCC_IFUNC
173
174 /* Define if the linker defines __ehdr_start.  */
175 #undef HAVE_EHDR_START
176
177 /*
178 \f */
179
180 #ifndef _LIBC
181
182 /* These symbols might be defined by some sysdeps configures.
183    They are used only in miscellaneous generator programs, not
184    in compiling libc itself.   */
185
186 /* sysdeps/generic/configure.ac */
187 #undef  HAVE_PSIGNAL
188
189 /* sysdeps/unix/configure.ac */
190 #undef  HAVE_STRERROR
191
192 /* sysdeps/unix/common/configure.ac */
193 #undef  HAVE_SYS_SIGLIST
194 #undef  HAVE__SYS_SIGLIST
195 #undef  HAVE__CTYPE_
196 #undef  HAVE___CTYPE_
197 #undef  HAVE___CTYPE
198 #undef  HAVE__CTYPE__
199 #undef  HAVE__CTYPE
200 #undef  HAVE__LOCP
201
202 #endif
203
204 /*
205 \f */
206
207 #ifdef  _LIBC
208
209 /* The zic and zdump programs need these definitions.  */
210
211 #define HAVE_STRERROR   1
212
213 /* The locale code needs these definitions.  */
214
215 #define HAVE_REGEX 1
216
217 /* The ARM hard-float ABI is being used.  */
218 #undef HAVE_ARM_PCS_VFP
219
220 /* The ARM movw/movt instructions using PC-relative relocs work right.  */
221 #define ARM_PCREL_MOVW_OK 0
222
223 /* The pt_chown binary is being built and used by grantpt.  */
224 #define HAVE_PT_CHOWN 0
225
226 /* Define if the compiler supports __builtin_trap without
227    any external dependencies such as making a function call.  */
228 #define HAVE_BUILTIN_TRAP 0
229
230 /* ports/sysdeps/mips/configure.in  */
231 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target.  */
232 #undef HAVE_MIPS_NAN2008
233
234 /* The PowerPC64 ELFv2 ABI is being used.  */
235 #undef HAVE_ELFV2_ABI
236
237 /* PowerPC32 uses fcfid for integer to floating point conversions.  */
238 #define HAVE_PPC_FCFID 0
239
240 /* PowerPC32 uses fctidz for floating point to long long conversions.  */
241 #define HAVE_PPC_FCTIDZ 0
242
243 /* Build glibc with tunables support.  */
244 #define HAVE_TUNABLES 0
245
246 /* Define if static PIE is enabled.  */
247 #define ENABLE_STATIC_PIE 0
248
249 /* Some compiler options may now allow to use ebp in __asm__ (used mainly
250    in i386 6 argument syscall issue).  */
251 #define CAN_USE_REGISTER_ASM_EBP 0
252
253 #endif