Add build option to disable usage of scv on powerpc
[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 /* On powerpc64, use @notoc.  */
24 #undef  USE_PPC64_NOTOC
25
26 /* On powerpc64, define if the compiler supports -mcpu=power10.  */
27 #undef USE_PPC64_MCPU_POWER10
28
29 /* On powerpc*, define if scv should be used for syscalls (when available).  */
30 #undef USE_PPC_SCV
31
32 /* Define if _Unwind_Find_FDE should be exported from glibc.  */
33 #undef  EXPORT_UNWIND_FIND_FDE
34
35 /* Define if static NSS modules are wanted.  */
36 #undef  DO_STATIC_NSS
37
38 /* Assume that the compiler supports __builtin_expect.
39    This macro is necessary for proper compilation of code
40    shared between GNU libc and GNU gettext projects.  */
41 #define HAVE_BUILTIN_EXPECT 1
42
43 /* Define if the compiler supports __builtin_memset.  */
44 #undef  HAVE_BUILTIN_MEMSET
45
46 /* Define if compiler accepts -ftree-loop-distribute-patterns.  */
47 #undef  HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
48
49 /* Define if compiler accepts -fno-stack-protector in an
50    __attribute__ ((__optimize__)).  */
51 #undef  HAVE_CC_NO_STACK_PROTECTOR
52
53 /* The level of stack protection in use for glibc as a whole.
54    May be overridden on a file-by-file basis.  */
55 #ifndef STACK_PROTECTOR_LEVEL
56 #undef  STACK_PROTECTOR_LEVEL
57 #endif
58
59 /* Define if the linker supports the -z combreloc option.  */
60 #undef  HAVE_Z_COMBRELOC
61
62 /* Define if _rtld_local structure should be forced into .sdata section.  */
63 #undef  HAVE_SDATA_SECTION
64
65 /* Define if compiler supports AVX512.  */
66 #undef  HAVE_AVX512_SUPPORT
67
68 /* Define if assembler supports AVX512DQ.  */
69 #undef  HAVE_AVX512DQ_ASM_SUPPORT
70
71 /* Define if assembler supports z10 zarch instructions as default on S390.  */
72 #undef  HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
73
74 /* Define if assembler supports z196 zarch instructions as default on S390.  */
75 #undef  HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
76
77 /* Define if assembler supports z13 zarch instructions as default on S390.  */
78 #undef  HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
79
80 /* Define if assembler supports arch13 zarch instruction as default on S390.  */
81 #undef  HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT
82
83 /* Define if assembler supports vector instructions on S390.  */
84 #undef  HAVE_S390_VX_ASM_SUPPORT
85
86 /* Define if gcc supports vector registers as clobbers in inline assembly
87    on S390.  */
88 #undef  HAVE_S390_VX_GCC_SUPPORT
89
90 /* Define if assembler supports arch13 instructions on S390.  */
91 #undef  HAVE_S390_ARCH13_ASM_SUPPORT
92
93 /* Define if assembler supports Intel MPX.  */
94 #undef  HAVE_MPX_SUPPORT
95
96 /* Define if the compiler\'s exception support is based on libunwind.  */
97 #undef  HAVE_CC_WITH_LIBUNWIND
98
99 /* Define if the access to static and hidden variables is position independent
100    and does not need relocations.  */
101 #undef  PI_STATIC_AND_HIDDEN
102
103 /* Define this to disable the 'hidden_proto' et al macros in
104    include/libc-symbols.h that avoid PLT slots in PIE.  */
105 #undef  NO_HIDDEN_EXTERN_FUNC_IN_PIE
106
107 /* Define this to disable the 'hidden_proto' et al macros in
108    include/libc-symbols.h that avoid PLT slots in the shared objects.  */
109 #undef  NO_HIDDEN
110
111 /* Define this to disable in rtld the 'hidden_proto' et al macros in
112    include/libc-symbols.h that avoid PLT slots in the shared objects.  */
113 #undef  NO_RTLD_HIDDEN
114
115 /* Define this to disable lazy relocations in DSOs.  */
116 #undef  BIND_NOW
117
118 /* AArch64 big endian ABI */
119 #undef HAVE_AARCH64_BE
120
121 /* AArch64 BTI support enabled.  */
122 #define HAVE_AARCH64_BTI 0
123
124 /* AArch64 PAC-RET code generation is enabled.  */
125 #define HAVE_AARCH64_PAC_RET 0
126
127 /* Assembler support ARMv8.2-A SVE.
128    This macro becomes obsolete when glibc increased the minimum
129    required version of GNU 'binutils' to 2.28 or later. */
130 #define HAVE_AARCH64_SVE_ASM 0
131
132 /* ARC big endian ABI */
133 #undef HAVE_ARC_BE
134
135 /* C-SKY ABI version.  */
136 #undef CSKYABI
137
138 /* C-SKY floating-point ABI.  */
139 #undef CSKY_HARD_FLOAT
140
141 /* RISC-V integer ABI for ld.so.  */
142 #undef RISCV_ABI_XLEN
143
144 /* RISC-V floating-point ABI for ld.so.  */
145 #undef RISCV_ABI_FLEN
146
147 /* Linux specific: minimum supported kernel version.  */
148 #undef  __LINUX_KERNEL_VERSION
149
150 /* Override abi-tags ABI version if necessary.  */
151 #undef  __ABI_TAG_VERSION
152
153 /* Mach/Hurd specific: define if mig supports the `retcode' keyword.  */
154 #undef  HAVE_MIG_RETCODE
155
156 /* Mach specific: define if the `host_page_size' RPC is available.  */
157 #undef  HAVE_HOST_PAGE_SIZE
158
159 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available.  */
160 #undef  HAVE_I386_IO_PERM_MODIFY
161
162 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available.  */
163 #undef  HAVE_I386_SET_GDT
164
165 /* Define if inlined system calls are available.  */
166 #undef HAVE_INLINED_SYSCALLS
167
168 /* Define if your compiler defaults to -msecure-plt mode on ppc.  */
169 #undef HAVE_PPC_SECURE_PLT
170
171 /* Define if memory tagging support should be enabled.  */
172 #undef USE_MTAG
173
174 /* Package description.  */
175 #undef PKGVERSION
176
177 /* Bug reporting address.  */
178 #undef REPORT_BUGS_TO
179
180 /* Define if multi-arch DSOs should be generated.  */
181 #undef USE_MULTIARCH
182
183 /* Define if Systemtap <sys/sdt.h> probes should be defined.  */
184 #undef USE_STAP_PROBE
185
186 /* Define if library functions should try to contact the nscd daemon.  */
187 #undef USE_NSCD
188
189 /* Define if the dynamic linker should consult an ld.so.cache file.  */
190 #undef USE_LDCONFIG
191
192 /* Define to 1 if STT_GNU_IFUNC support actually works.  */
193 #define HAVE_IFUNC 0
194
195 /* Define if gcc supports attribute ifunc.  */
196 #undef HAVE_GCC_IFUNC
197
198 /* Define if CC supports attribute retain.  */
199 #undef HAVE_GNU_RETAIN
200
201 /* Define if the linker defines __ehdr_start.  */
202 #undef HAVE_EHDR_START
203
204 /* Define to 1 if the assembler needs intermediate aliases to define
205    multiple symbol versions for one symbol.  */
206 #define SYMVER_NEEDS_ALIAS 0
207
208 /* Define to 1 if libpthread actually resides in libc.  */
209 #define PTHREAD_IN_LIBC 0
210
211 /*
212 \f */
213
214 #ifndef _LIBC
215
216 /* These symbols might be defined by some sysdeps configures.
217    They are used only in miscellaneous generator programs, not
218    in compiling libc itself.   */
219
220 /* sysdeps/generic/configure.ac */
221 #undef  HAVE_PSIGNAL
222
223 /* sysdeps/unix/configure.ac */
224 #undef  HAVE_STRERROR
225
226 /* sysdeps/unix/common/configure.ac */
227 #undef  HAVE_SYS_SIGLIST
228 #undef  HAVE__SYS_SIGLIST
229 #undef  HAVE__CTYPE_
230 #undef  HAVE___CTYPE_
231 #undef  HAVE___CTYPE
232 #undef  HAVE__CTYPE__
233 #undef  HAVE__CTYPE
234 #undef  HAVE__LOCP
235
236 #endif
237
238 /*
239 \f */
240
241 #ifdef  _LIBC
242
243 /* The zic and zdump programs need these definitions.  */
244
245 #define HAVE_STRERROR   1
246
247 /* The locale code needs these definitions.  */
248
249 #define HAVE_REGEX 1
250
251 /* The ARM hard-float ABI is being used.  */
252 #undef HAVE_ARM_PCS_VFP
253
254 /* The ARM movw/movt instructions using PC-relative relocs work right.  */
255 #define ARM_PCREL_MOVW_OK 0
256
257 /* The pt_chown binary is being built and used by grantpt.  */
258 #define HAVE_PT_CHOWN 0
259
260 /* Define if the compiler supports __builtin_trap without
261    any external dependencies such as making a function call.  */
262 #define HAVE_BUILTIN_TRAP 0
263
264 /* ports/sysdeps/mips/configure.in  */
265 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target.  */
266 #undef HAVE_MIPS_NAN2008
267
268 /* The PowerPC64 ELFv2 ABI is being used.  */
269 #undef HAVE_ELFV2_ABI
270
271 /* PowerPC32 uses fcfid for integer to floating point conversions.  */
272 #define HAVE_PPC_FCFID 0
273
274 /* PowerPC32 uses fctidz for floating point to long long conversions.  */
275 #define HAVE_PPC_FCTIDZ 0
276
277 /* Build glibc with tunables support.  */
278 #define HAVE_TUNABLES 0
279
280 /* Define if static PIE is supported.  */
281 #undef SUPPORT_STATIC_PIE
282
283 /* Define if static PIE is enabled.  */
284 #define ENABLE_STATIC_PIE 0
285
286 /* Some compiler options may now allow to use ebp in __asm__ (used mainly
287    in i386 6 argument syscall issue).  */
288 #define CAN_USE_REGISTER_ASM_EBP 0
289
290 /* The default value of x86 CET control.  */
291 #define DEFAULT_DL_X86_CET_CONTROL cet_elf_property
292
293 /* Define if x86 ISA level should be included in shared libraries.  */
294 #undef INCLUDE_X86_ISA_LEVEL
295
296 /* Define if -msahf is enabled by default on x86.  */
297 #undef HAVE_X86_LAHF_SAHF
298
299 /* Define if -mmovbe is enabled by default on x86.  */
300 #undef HAVE_X86_MOVBE
301
302 #endif