diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 92 |
1 files changed, 54 insertions, 38 deletions
diff --git a/config.h.in b/config.h.in index ec9c8bc767..141db213a9 100644 --- a/config.h.in +++ b/config.h.in @@ -1,14 +1,3 @@ -#if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \ - && !defined __OPTIMIZE__ -# error "glibc cannot be compiled without optimization" -#endif - -/* Another evil option when it comes to compiling the C library is - --ffast-math since it alters the ABI. */ -#if defined __FAST_MATH__ && !defined TEST_FAST_MATH -# error "glibc must not be compiled with -ffast-math" -#endif - /* Define if building with SELinux support. Set by --with-selinux. */ #undef HAVE_SELINUX @@ -37,22 +26,30 @@ /* Define if static NSS modules are wanted. */ #undef DO_STATIC_NSS +/* Assume that the compiler supports __builtin_expect. + This macro is necessary for proper compilation of code + shared between GNU libc and GNU gettext projects. */ +#define HAVE_BUILTIN_EXPECT 1 + /* Define if the compiler supports __builtin_memset. */ #undef HAVE_BUILTIN_MEMSET /* Define if compiler accepts -ftree-loop-distribute-patterns. */ #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL -/* Define if the regparm attribute shall be used for local functions - (gcc on ix86 only). */ -#undef USE_REGPARMS +/* Define if compiler accepts -fno-stack-protector in an + __attribute__ ((__optimize__)). */ +#undef HAVE_CC_NO_STACK_PROTECTOR + +/* The level of stack protection in use for glibc as a whole. + May be overridden on a file-by-file basis. */ +#ifndef STACK_PROTECTOR_LEVEL +#undef STACK_PROTECTOR_LEVEL +#endif /* Defined on SPARC if GCC emits GOTDATA relocations. */ #undef HAVE_GCC_GOTDATA -/* Define on SPARC if AS supports VIS3 instructions. */ -#undef HAVE_AS_VIS3_SUPPORT - /* Define if the linker supports the -z combreloc option. */ #undef HAVE_Z_COMBRELOC @@ -62,12 +59,19 @@ /* Define if compiler supports AVX512. */ #undef HAVE_AVX512_SUPPORT -/* Define if assembler supports AVX512. */ -#undef HAVE_AVX512_ASM_SUPPORT +/* Define if assembler supports AVX512DQ. */ +#undef HAVE_AVX512DQ_ASM_SUPPORT + +/* Define if assembler supports z196 zarch instructions as default on S390. */ +#undef HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT /* Define if assembler supports vector instructions on S390. */ #undef HAVE_S390_VX_ASM_SUPPORT +/* Define if gcc supports vector registers as clobbers in inline assembly + on S390. */ +#undef HAVE_S390_VX_GCC_SUPPORT + /* Define if assembler supports Intel MPX. */ #undef HAVE_MPX_SUPPORT @@ -79,18 +83,28 @@ #undef PI_STATIC_AND_HIDDEN /* Define this to disable the 'hidden_proto' et al macros in + include/libc-symbols.h that avoid PLT slots in PIE. */ +#undef NO_HIDDEN_EXTERN_FUNC_IN_PIE + +/* Define this to disable the 'hidden_proto' et al macros in include/libc-symbols.h that avoid PLT slots in the shared objects. */ #undef NO_HIDDEN +/* Define this to disable in rtld the 'hidden_proto' et al macros in + include/libc-symbols.h that avoid PLT slots in the shared objects. */ +#undef NO_RTLD_HIDDEN + +/* Define this to disable lazy relocations in DSOs. */ +#undef BIND_NOW + /* AArch64 big endian ABI */ #undef HAVE_AARCH64_BE +/* RISC-V integer ABI for ld.so. */ +#undef RISCV_ABI_XLEN -/* Defined to some form of __attribute__ ((...)) if the compiler supports - a different, more efficient calling convention. */ -#if defined USE_REGPARMS && !defined PROF -# define internal_function __attribute__ ((regparm (3), stdcall)) -#endif +/* RISC-V floating-point ABI for ld.so. */ +#undef RISCV_ABI_FLEN /* Linux specific: minimum supported kernel version. */ #undef __LINUX_KERNEL_VERSION @@ -98,12 +112,6 @@ /* Override abi-tags ABI version if necessary. */ #undef __ABI_TAG_VERSION -/* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help - getopt determine whether a parameter is a flag or not. This features - was disabled later since it caused trouble. We are by default therefore - disabling the support as well. */ -#undef USE_NONOPTION_FLAGS - /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */ #undef HAVE_MIG_RETCODE @@ -116,9 +124,6 @@ /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */ #undef HAVE_I386_SET_GDT -/* Defined of libidn is available. */ -#undef HAVE_LIBIDN - /* Define if inlined system calls are available. */ #undef HAVE_INLINED_SYSCALLS @@ -128,9 +133,6 @@ /* Define if __stack_chk_guard canary should be randomized at program startup. */ #undef ENABLE_STACKGUARD_RANDOMIZE -/* Define if lock elision should be enabled by default. */ -#undef ENABLE_LOCK_ELISION - /* Package description. */ #undef PKGVERSION @@ -147,6 +149,10 @@ to link against. */ #undef LINK_OBSOLETE_RPC +/* Define if obsolete libnsl code should be made available for user-level + code to link against. */ +#undef LINK_OBSOLETE_NSL + /* Define if Systemtap <sys/sdt.h> probes should be defined. */ #undef USE_STAP_PROBE @@ -159,8 +165,8 @@ /* Define to 1 if STT_GNU_IFUNC support actually works. */ #define HAVE_IFUNC 0 -/* Define if linux/fanotify.h is available. */ -#undef HAVE_LINUX_FANOTIFY_H +/* Define if gcc supports attribute ifunc. */ +#undef HAVE_GCC_IFUNC /* Define if the linker defines __ehdr_start. */ #undef HAVE_EHDR_START @@ -231,4 +237,14 @@ /* PowerPC32 uses fctidz for floating point to long long conversions. */ #define HAVE_PPC_FCTIDZ 0 +/* Build glibc with tunables support. */ +#define HAVE_TUNABLES 0 + +/* Define if static PIE is enabled. */ +#define ENABLE_STATIC_PIE 0 + +/* Some compiler options may now allow to use ebp in __asm__ (used mainly + in i386 6 argument syscall issue). */ +#define CAN_USE_REGISTER_ASM_EBP 0 + #endif |