Add declare_object_symbol_alias for assembly codes (BZ #28128)
[glibc.git] / config.h.in
blobdd650ddd09d20722b418eb9111b3460abe05ab86
1 /* Define if building with SELinux support. Set by --with-selinux. */
2 #undef HAVE_SELINUX
4 /* Defined if building with SELinux support & audit libs are detected. */
5 #undef HAVE_LIBAUDIT
7 /* Defined if building with SELinux support & libcap libs are detected. */
8 #undef HAVE_LIBCAP
10 /* Define to the assembler line separator character for multiple
11 assembler instructions per line. Default is `;' */
12 #undef ASM_LINE_SEP
14 /* Define if __attribute__((section("foo"))) puts quotes around foo. */
15 #undef HAVE_SECTION_QUOTES
17 /* Define if the assembler supports the `.set' directive. */
18 #undef HAVE_ASM_SET_DIRECTIVE
20 /* On powerpc64, use overlapping .opd entries. */
21 #undef USE_PPC64_OVERLAPPING_OPD
23 /* On powerpc64, use @notoc. */
24 #undef USE_PPC64_NOTOC
26 /* On powerpc64, define if the compiler supports -mcpu=power10. */
27 #undef USE_PPC64_MCPU_POWER10
29 /* On powerpc*, define if scv should be used for syscalls (when available). */
30 #undef USE_PPC_SCV
32 /* Define if _Unwind_Find_FDE should be exported from glibc. */
33 #undef EXPORT_UNWIND_FIND_FDE
35 /* Define if static NSS modules are wanted. */
36 #undef DO_STATIC_NSS
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
43 /* Define if the compiler supports __builtin_memset. */
44 #undef HAVE_BUILTIN_MEMSET
46 /* Define if compiler accepts -ftree-loop-distribute-patterns. */
47 #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
49 /* Define if compiler accepts -fno-stack-protector in an
50 __attribute__ ((__optimize__)). */
51 #undef HAVE_CC_NO_STACK_PROTECTOR
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
59 /* Define if _rtld_local structure should be forced into .sdata section. */
60 #undef HAVE_SDATA_SECTION
62 /* Define if assembler supports z10 zarch instructions as default on S390. */
63 #undef HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
65 /* Define if assembler supports z196 zarch instructions as default on S390. */
66 #undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
68 /* Define if assembler supports z13 zarch instructions as default on S390. */
69 #undef HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
71 /* Define if assembler supports arch13 zarch instruction as default on S390. */
72 #undef HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT
74 /* Define if assembler supports vector instructions on S390. */
75 #undef HAVE_S390_VX_ASM_SUPPORT
77 /* Define if gcc supports vector registers as clobbers in inline assembly
78 on S390. */
79 #undef HAVE_S390_VX_GCC_SUPPORT
81 /* Define if assembler supports arch13 instructions on S390. */
82 #undef HAVE_S390_ARCH13_ASM_SUPPORT
84 /* Define if the compiler\'s exception support is based on libunwind. */
85 #undef HAVE_CC_WITH_LIBUNWIND
87 /* Define if the accesses to static and hidden variables in a shared object
88 need dynamic relocations. */
89 #undef HIDDEN_VAR_NEEDS_DYNAMIC_RELOC
91 /* Define this to disable the 'hidden_proto' et al macros in
92 include/libc-symbols.h that avoid PLT slots in PIE. */
93 #undef NO_HIDDEN_EXTERN_FUNC_IN_PIE
95 /* Define this to disable the 'hidden_proto' et al macros in
96 include/libc-symbols.h that avoid PLT slots in the shared objects. */
97 #undef NO_HIDDEN
99 /* Define this to disable in rtld the 'hidden_proto' et al macros in
100 include/libc-symbols.h that avoid PLT slots in the shared objects. */
101 #undef NO_RTLD_HIDDEN
103 /* Define this to disable lazy relocations in DSOs. */
104 #undef BIND_NOW
106 /* AArch64 big endian ABI */
107 #undef HAVE_AARCH64_BE
109 /* AArch64 BTI support enabled. */
110 #define HAVE_AARCH64_BTI 0
112 /* AArch64 PAC-RET code generation is enabled. */
113 #define HAVE_AARCH64_PAC_RET 0
115 /* Assembler support ARMv8.2-A SVE.
116 This macro becomes obsolete when glibc increased the minimum
117 required version of GNU 'binutils' to 2.28 or later. */
118 #define HAVE_AARCH64_SVE_ASM 0
120 /* ARC big endian ABI */
121 #undef HAVE_ARC_BE
123 /* C-SKY ABI version. */
124 #undef CSKYABI
126 /* C-SKY floating-point ABI. */
127 #undef CSKY_HARD_FLOAT
129 /* RISC-V integer ABI for ld.so. */
130 #undef RISCV_ABI_XLEN
132 /* RISC-V floating-point ABI for ld.so. */
133 #undef RISCV_ABI_FLEN
135 /* Linux specific: minimum supported kernel version. */
136 #undef __LINUX_KERNEL_VERSION
138 /* Override abi-tags ABI version if necessary. */
139 #undef __ABI_TAG_VERSION
141 /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */
142 #undef HAVE_MIG_RETCODE
144 /* Mach specific: define if the `host_page_size' RPC is available. */
145 #undef HAVE_HOST_PAGE_SIZE
147 /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
148 #undef HAVE_I386_IO_PERM_MODIFY
150 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
151 #undef HAVE_I386_SET_GDT
153 /* Define if inlined system calls are available. */
154 #undef HAVE_INLINED_SYSCALLS
156 /* Define if memory tagging support should be enabled. */
157 #undef USE_MTAG
159 /* Package description. */
160 #undef PKGVERSION
162 /* Bug reporting address. */
163 #undef REPORT_BUGS_TO
165 /* Define if multi-arch DSOs should be generated. */
166 #undef USE_MULTIARCH
168 /* Define if Systemtap <sys/sdt.h> probes should be defined. */
169 #undef USE_STAP_PROBE
171 /* Define if library functions should try to contact the nscd daemon. */
172 #undef USE_NSCD
174 /* Define if the dynamic linker should consult an ld.so.cache file. */
175 #undef USE_LDCONFIG
177 /* Define to 1 if STT_GNU_IFUNC support actually works. */
178 #define HAVE_IFUNC 0
180 /* Define if gcc supports attribute ifunc. */
181 #undef HAVE_GCC_IFUNC
183 /* Define if CC supports attribute retain. */
184 #undef HAVE_GNU_RETAIN
186 /* Define to 1 if the assembler needs intermediate aliases to define
187 multiple symbol versions for one symbol. */
188 #define SYMVER_NEEDS_ALIAS 0
190 /* Define to 1 if libpthread actually resides in libc. */
191 #define PTHREAD_IN_LIBC 0
193 /* An integer used to scale the timeout of test programs. */
194 #define TIMEOUTFACTOR 1
197 \f */
199 #ifndef _LIBC
201 /* These symbols might be defined by some sysdeps configures.
202 They are used only in miscellaneous generator programs, not
203 in compiling libc itself. */
205 /* sysdeps/generic/configure.ac */
206 #undef HAVE_PSIGNAL
208 /* sysdeps/unix/configure.ac */
209 #undef HAVE_STRERROR
211 /* sysdeps/unix/common/configure.ac */
212 #undef HAVE_SYS_SIGLIST
213 #undef HAVE__SYS_SIGLIST
214 #undef HAVE__CTYPE_
215 #undef HAVE___CTYPE_
216 #undef HAVE___CTYPE
217 #undef HAVE__CTYPE__
218 #undef HAVE__CTYPE
219 #undef HAVE__LOCP
221 #endif
224 \f */
226 #ifdef _LIBC
228 /* The zic and zdump programs need these definitions. */
230 #define HAVE_STRERROR 1
232 /* The locale code needs these definitions. */
234 #define HAVE_REGEX 1
236 /* The ARM hard-float ABI is being used. */
237 #undef HAVE_ARM_PCS_VFP
239 /* The ARM movw/movt instructions using PC-relative relocs work right. */
240 #define ARM_PCREL_MOVW_OK 0
242 /* The pt_chown binary is being built and used by grantpt. */
243 #define HAVE_PT_CHOWN 0
245 /* Define if the compiler supports __builtin_trap without
246 any external dependencies such as making a function call. */
247 #define HAVE_BUILTIN_TRAP 0
249 /* ports/sysdeps/mips/configure.in */
250 /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */
251 #undef HAVE_MIPS_NAN2008
253 /* The PowerPC64 ELFv2 ABI is being used. */
254 #undef HAVE_ELFV2_ABI
256 /* PowerPC32 uses fcfid for integer to floating point conversions. */
257 #define HAVE_PPC_FCFID 0
259 /* PowerPC32 uses fctidz for floating point to long long conversions. */
260 #define HAVE_PPC_FCTIDZ 0
262 /* Build glibc with tunables support. */
263 #define HAVE_TUNABLES 0
265 /* Define if PIE is unsupported. */
266 #undef PIE_UNSUPPORTED
268 /* Define if static PIE is supported. */
269 #undef SUPPORT_STATIC_PIE
271 /* Define if static PIE is enabled. */
272 #define ENABLE_STATIC_PIE 0
274 /* The default value of x86 CET control. */
275 #define DEFAULT_DL_X86_CET_CONTROL cet_elf_property
277 /* Define if x86 ISA level should be included in shared libraries. */
278 #undef INCLUDE_X86_ISA_LEVEL
280 /* Define if -msahf is enabled by default on x86. */
281 #undef HAVE_X86_LAHF_SAHF
283 /* Define if -mmovbe is enabled by default on x86. */
284 #undef HAVE_X86_MOVBE
286 #endif