]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - config.h.in
manual: document snprintf truncation better
[thirdparty/glibc.git] / config.h.in
index c02d691883f50babc897bbed721ad597cfa9ac5c..c87008b6a9d9f8b48084d3b4c297b58872f3b7b4 100644 (file)
-#if !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 using GNU ld, with support for weak symbols in a.out,
-   and for symbol set and warning messages extensions in a.out and ELF.
-   This implies HAVE_WEAK_SYMBOLS; set by --with-gnu-ld.  */
-#undef HAVE_GNU_LD
-
-/* Define if using ELF, which supports weak symbols.
-   This implies HAVE_ASM_WEAK_DIRECTIVE and NO_UNDERSCORES; set by
-   --with-elf.  */
-#undef HAVE_ELF
+/* Define if building with SELinux support.  Set by --with-selinux.  */
+#undef HAVE_SELINUX
 
-/* Define if using XCOFF. Set by --with-xcoff.  */
-#undef HAVE_XCOFF
+/* Defined if building with SELinux support & audit libs are detected. */
+#undef HAVE_LIBAUDIT
 
-/* Define if C symbols are asm symbols.  Don't define if C symbols
-   have a `_' prepended to make the asm symbol.  */
-#undef NO_UNDERSCORES
-
-/* Define if weak symbols are available via the `.weak' directive.  */
-#undef HAVE_ASM_WEAK_DIRECTIVE
-
-/* Define if weak symbols are available via the `.weakext' directive.  */
-#undef HAVE_ASM_WEAKEXT_DIRECTIVE
-
-/* Define if CFI directives are available.  */
-#undef HAVE_ASM_CFI_DIRECTIVES
+/* Defined if building with SELinux support & libcap libs are detected.  */
+#undef  HAVE_LIBCAP
 
 /* Define to the assembler line separator character for multiple
    assembler instructions per line.  Default is `;'  */
 #undef ASM_LINE_SEP
 
-/* Define if not using ELF, but `.init' and `.fini' sections are available.  */
-#undef HAVE_INITFINI
-
 /* Define if __attribute__((section("foo"))) puts quotes around foo.  */
 #undef  HAVE_SECTION_QUOTES
 
-/* Define if using the GNU assembler, gas.  */
-#undef HAVE_GNU_AS
-
 /* Define if the assembler supports the `.set' directive.  */
 #undef HAVE_ASM_SET_DIRECTIVE
 
-/* Define to the name of the assembler's directive for
-   declaring a symbol global (default `.globl').  */
-#undef ASM_GLOBAL_DIRECTIVE
+/* On powerpc64, use overlapping .opd entries.  */
+#undef  USE_PPC64_OVERLAPPING_OPD
 
-/* Define to the prefix before `object' or `function' in the
-   assembler's `.type' directive, if it has one.  */
-#undef ASM_TYPE_DIRECTIVE_PREFIX
+/* On powerpc64, use @notoc.  */
+#undef  USE_PPC64_NOTOC
 
-/* Define a symbol_name as a global .symbol_name for ld.  */
-#undef HAVE_ASM_GLOBAL_DOT_NAME
+/* On powerpc64, define if the compiler supports -mcpu=power10.  */
+#undef USE_PPC64_MCPU_POWER10
 
-/* Define if the assembler generates debugging information directly.  */
-#undef HAVE_CPP_ASM_DEBUGINFO
+/* On powerpc*, define if scv should be used for syscalls (when available).  */
+#undef USE_PPC_SCV
 
 /* Define if _Unwind_Find_FDE should be exported from glibc.  */
 #undef  EXPORT_UNWIND_FIND_FDE
 
-/* Define to use GNU libio instead of GNU stdio.
-   This is defined by configure under --enable-libio.  */
-#undef USE_IN_LIBIO
+/* Define if static NSS modules are wanted.  */
+#undef DO_STATIC_NSS
 
-/* Define if using ELF and the assembler supports the `.previous'
-   directive.  */
-#undef HAVE_ASM_PREVIOUS_DIRECTIVE
+/* 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 using ELF and the assembler supports the `.popsection'
-   directive.  */
-#undef HAVE_ASM_POPSECTION_DIRECTIVE
+/* Define if the compiler supports __builtin_memset.  */
+#undef HAVE_BUILTIN_MEMSET
 
-/* Define if versioning of the library is wanted.  */
-#undef DO_VERSIONING
+/* Define if compiler accepts -ftree-loop-distribute-patterns.  */
+#undef  HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
 
-/* Defined to the oldest ABI we support, like 2.1.  */
-#undef GLIBC_OLDEST_ABI
+/* Define if compiler accepts -fno-stack-protector in an
+   __attribute__ ((__optimize__)).  */
+#undef HAVE_CC_NO_STACK_PROTECTOR
 
-/* Define if static NSS modules are wanted.  */
-#undef DO_STATIC_NSS
+/* 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
 
-/* Define if gcc uses DWARF2 unwind information for exception support.  */
-#undef HAVE_DWARF2_UNWIND_INFO
+/* Define if _rtld_local structure should be forced into .sdata section.  */
+#undef HAVE_SDATA_SECTION
 
-/* Define if gcc uses DWARF2 unwind information for exception support
-   with static variable. */
-#undef HAVE_DWARF2_UNWIND_INFO_STATIC
+/* Define if assembler supports z10 zarch instructions as default on S390.  */
+#undef  HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT
 
-/* Define if the compiler supports __builtin_expect.  */
-#undef HAVE_BUILTIN_EXPECT
+/* Define if assembler supports z196 zarch instructions as default on S390.  */
+#undef  HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT
 
-/* Define if the compiler supports __builtin_memset.  */
-#undef HAVE_BUILTIN_MEMSET
+/* Define if assembler supports z13 zarch instructions as default on S390.  */
+#undef  HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
 
-/* Define if __asm () on built-in function's prototype causes redirection of
-   the builtin.  */
-#undef HAVE_BUILTIN_REDIRECTION
+/* Define if assembler supports arch13 zarch instruction as default on S390.  */
+#undef  HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT
 
-/* Define if the __thread keyword is supported.  */
-#undef HAVE___THREAD
+/* Define if assembler supports vector instructions on S390.  */
+#undef  HAVE_S390_VX_ASM_SUPPORT
 
-/* Define if the compiler supports __attribute__((tls_model(""))).  */
-#undef HAVE_TLS_MODEL_ATTRIBUTE
+/* Define if gcc supports vector registers as clobbers in inline assembly
+   on S390.  */
+#undef  HAVE_S390_VX_GCC_SUPPORT
 
-/* Define if the regparm attribute shall be used for local functions
-   (gcc on ix86 only).  */
-#undef USE_REGPARMS
+/* Define if assembler supports arch13 instructions on S390.  */
+#undef  HAVE_S390_ARCH13_ASM_SUPPORT
 
-/* Defined on PowerPC if the GCC being used has a problem with clobbering
-   certain registers (CR0, MQ, CTR, LR) in asm statements.  */
-#undef BROKEN_PPC_ASM_CR0
+/* Define if the compiler\'s exception support is based on libunwind.  */
+#undef HAVE_CC_WITH_LIBUNWIND
+
+/* Define if the accesses to static and hidden variables in a shared object
+   need dynamic relocations.  */
+#undef HIDDEN_VAR_NEEDS_DYNAMIC_RELOC
 
-/* Defined on SPARC if ld doesn't handle R_SPARC_WDISP22 against .hidden
-   symbol.  sysdeps/sparc/sparc32/elf/configure.  */
-#undef BROKEN_SPARC_WDISP22
+/* 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 if the linker supports the -z combreloc option.  */
-#undef HAVE_Z_COMBRELOC
+/* 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 if the assembler supported .protected.  */
-#undef HAVE_PROTECTED
+/* Define this to disable lazy relocations in DSOs.  */
+#undef BIND_NOW
 
-/* Define if the assembler supported .hidden.  */
-#undef HAVE_HIDDEN
+/* AArch64 big endian ABI */
+#undef HAVE_AARCH64_BE
 
-/* Define if the compiler supports __attribute__ ((visibility (...))).  */
-#undef HAVE_VISIBILITY_ATTRIBUTE
+/* AArch64 BTI support enabled.  */
+#define HAVE_AARCH64_BTI 0
 
-/* Define if the compiler doesn't support __attribute__ ((visibility (...)))
-   together with __asm__ redirection properly.  */
-#undef HAVE_BROKEN_VISIBILITY_ATTRIBUTE
+/* AArch64 PAC-RET code generation is enabled.  */
+#define HAVE_AARCH64_PAC_RET 0
 
-/* Define if the compiler doesn't support __attribute__ ((alias (...)))
-   together with __asm__ redirection properly.  */
-#undef HAVE_BROKEN_ALIAS_ATTRIBUTE
+/* Assembler support ARMv8.2-A SVE.
+   This macro becomes obsolete when glibc increased the minimum
+   required version of GNU 'binutils' to 2.28 or later. */
+#define HAVE_AARCH64_SVE_ASM 0
 
-/* Define if _rtld_local structure should be forced into .sdata section.  */
-#undef HAVE_SDATA_SECTION
+/* ARC big endian ABI */
+#undef HAVE_ARC_BE
 
-/* Define if binutils support TLS handling.  */
-#undef HAVE_TLS_SUPPORT
+/* C-SKY ABI version.  */
+#undef CSKYABI
 
-/* Define if the linker supports .preinit_array/.init_array/.fini_array
-   sections.  */
-#undef HAVE_INITFINI_ARRAY
+/* C-SKY floating-point instructions.  */
+#undef CSKY_HARD_FLOAT
 
-/* Define if the compiler's exception support is based on libunwind.  */
-#undef HAVE_CC_WITH_LIBUNWIND
+/* C-SKY floating-point ABI.  */
+#undef CSKY_HARD_FLOAT_ABI
 
-/* Define if the access to static and hidden variables is position independent
-   and does not need relocations.  */
-#undef PI_STATIC_AND_HIDDEN
+/* RISC-V integer ABI for ld.so.  */
+#undef RISCV_ABI_XLEN
 
-/* 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
+/* RISC-V floating-point ABI for ld.so.  */
+#undef RISCV_ABI_FLEN
 
+/* LOONGARCH integer ABI for ld.so.  */
+#undef LOONGARCH_ABI_GRLEN
 
-/* Defined to some form of __attribute__ ((...)) if the compiler supports
-   a different, more efficient calling convention.  */
-#if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__
-# define internal_function __attribute__ ((regparm (3), stdcall))
-#endif
+/* LOONGARCH floating-point ABI for ld.so.  */
+#undef LOONGARCH_ABI_FRLEN
 
 /* Linux specific: minimum supported kernel version.  */
 #undef __LINUX_KERNEL_VERSION
 
+/* Linux specific: __LINUX_KERNEL_VERSION as a string.  */
+#undef  __LINUX_KERNEL_VERSION_STR
+
 /* Override abi-tags ABI version if necessary.  */
 #undef  __ABI_TAG_VERSION
 
-/* An extension in gcc 2.96 and up allows the subtraction of two
-   local labels.  */
-#undef HAVE_SUBTRACT_LOCAL_LABELS
-
-/* 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
 
 /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available.  */
 #undef HAVE_I386_SET_GDT
 
-/* Defined if forced unwind support is available.  */
-#undef HAVE_FORCED_UNWIND
+/* Define if inlined system calls are available.  */
+#undef HAVE_INLINED_SYSCALLS
+
+/* Define if memory tagging support should be enabled.  */
+#undef USE_MTAG
 
-/* Defined if the linker supports the -z relro option.  */
-#undef HAVE_Z_RELRO
+/* Package description.  */
+#undef PKGVERSION
 
-/* Defined of libidn is available.  */
-#undef HAVE_LIBIDN
+/* Bug reporting address.  */
+#undef REPORT_BUGS_TO
 
-/* Define if inlined system calls are available.  */
-#undef HAVE_INLINED_SYSCALLS
+/* Define if multi-arch DSOs should be generated.  */
+#undef USE_MULTIARCH
+
+/* Define if Systemtap <sys/sdt.h> probes should be defined.  */
+#undef USE_STAP_PROBE
+
+/* Define if library functions should try to contact the nscd daemon.  */
+#undef USE_NSCD
+
+/* Define if the dynamic linker should consult an ld.so.cache file.  */
+#undef USE_LDCONFIG
+
+/* Define to 1 if STT_GNU_IFUNC support actually works.  */
+#define HAVE_IFUNC 0
+
+/* Define if gcc supports attribute ifunc.  */
+#undef HAVE_GCC_IFUNC
+
+/* Define if CC supports attribute retain.  */
+#undef HAVE_GNU_RETAIN
+
+/* Define to 1 if the assembler needs intermediate aliases to define
+   multiple symbol versions for one symbol.  */
+#define SYMVER_NEEDS_ALIAS 0
+
+/* Define to 1 if libpthread actually resides in libc.  */
+#define PTHREAD_IN_LIBC 0
+
+/* An integer used to scale the timeout of test programs.  */
+#define TIMEOUTFACTOR 1
 
 /*
 \f */
    They are used only in miscellaneous generator programs, not
    in compiling libc itself.   */
 
-/* sysdeps/generic/configure.in */
+/* sysdeps/generic/configure.ac */
 #undef HAVE_PSIGNAL
 
-/* sysdeps/unix/configure.in */
+/* sysdeps/unix/configure.ac */
 #undef HAVE_STRERROR
 
-/* sysdeps/unix/common/configure.in */
+/* sysdeps/unix/common/configure.ac */
 #undef HAVE_SYS_SIGLIST
 #undef HAVE__SYS_SIGLIST
 #undef HAVE__CTYPE_
 
 #define HAVE_REGEX 1
 
+/* The ARM hard-float ABI is being used.  */
+#undef HAVE_ARM_PCS_VFP
+
+/* The ARM movw/movt instructions using PC-relative relocs work right.  */
+#define ARM_PCREL_MOVW_OK 0
+
+/* The pt_chown binary is being built and used by grantpt.  */
+#define HAVE_PT_CHOWN 0
+
+/* Define if the compiler supports __builtin_trap without
+   any external dependencies such as making a function call.  */
+#define HAVE_BUILTIN_TRAP 0
+
+/* ports/sysdeps/mips/configure.in  */
+/* Define if using the IEEE 754-2008 NaN encoding on the MIPS target.  */
+#undef HAVE_MIPS_NAN2008
+
+/* The PowerPC64 ELFv2 ABI is being used.  */
+#undef HAVE_ELFV2_ABI
+
+/* PowerPC32 uses fcfid for integer to floating point conversions.  */
+#define HAVE_PPC_FCFID 0
+
+/* PowerPC32 uses fctidz for floating point to long long conversions.  */
+#define HAVE_PPC_FCTIDZ 0
+
+/* Define if PIE is unsupported.  */
+#undef PIE_UNSUPPORTED
+
+/* Define if static PIE is supported.  */
+#undef SUPPORT_STATIC_PIE
+
+/* Define if static PIE is enabled.  */
+#define ENABLE_STATIC_PIE 0
+
+/* The default value of x86 CET control.  */
+#define DEFAULT_DL_X86_CET_CONTROL cet_elf_property
+
+/* Define if x86 ISA level should be included in shared libraries.  */
+#undef INCLUDE_X86_ISA_LEVEL
+
+/* Define if -msahf is enabled by default on x86.  */
+#undef HAVE_X86_LAHF_SAHF
+
+/* Define if -mmovbe is enabled by default on x86.  */
+#undef HAVE_X86_MOVBE
+
 #endif