mirror of
git://sourceware.org/git/glibc.git
synced 2026-09-08 23:58:31 +08:00
Since the NSS reorganization in glibc 2.33 the --enable-static-nss option no longer changes the build: the files and dns services are built into libc unconditionally, and there is no longer any mechanism to bake the remaining services into libc.a. After removing the dead -DSTATIC_NSS define and the <gnu/lib-names.h> include (commits82b710c190and2169401438), the option's only remaining effect was to define DO_STATIC_NSS, which suppresses the static link warnings on the NSS interface functions in libc.a. With DO_STATIC_NSS gone, nss_interface_function emits the static link warning unconditionally; static_nss and build-static-nss are removed along with the configure option. tst-nss-static, previously built only when build-static-nss was set, is now added to tests-static unconditionally so the static NSS path retains test coverage. Signed-off-by: Michael Ford <fanquake@gmail.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
339 lines
9.7 KiB
C
339 lines
9.7 KiB
C
/* Define if building with SELinux support. Set by --with-selinux. */
|
|
#undef HAVE_SELINUX
|
|
|
|
/* Defined if building with SELinux support & audit libs are detected. */
|
|
#undef HAVE_LIBAUDIT
|
|
|
|
/* 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 __attribute__((section("foo"))) puts quotes around foo. */
|
|
#undef HAVE_SECTION_QUOTES
|
|
|
|
/* Define if the assembler supports the `.set' directive. */
|
|
#undef HAVE_ASM_SET_DIRECTIVE
|
|
|
|
/* On powerpc64, use overlapping .opd entries. */
|
|
#undef USE_PPC64_OVERLAPPING_OPD
|
|
|
|
/* On powerpc64, use @notoc. */
|
|
#undef USE_PPC64_NOTOC
|
|
|
|
/* On powerpc64, define if the compiler supports -mcpu=power10. */
|
|
#undef USE_PPC64_MCPU_POWER10
|
|
|
|
/* 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
|
|
|
|
/* 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 CC compiler accepts -ftree-loop-distribute-patterns. */
|
|
#undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
|
|
|
|
/* Define if TEST_CC compiler accepts -ftree-loop-distribute-patterns. */
|
|
#undef HAVE_TEST_CC_INHIBIT_LOOP_TO_LIBCALL
|
|
|
|
/* Define if CC compiler accepts -fno-stack-protector in an
|
|
__attribute__ ((__optimize__)). */
|
|
#undef HAVE_CC_NO_STACK_PROTECTOR
|
|
|
|
/* Define if TEST_CC compiler accepts -fno-stack-protector in an
|
|
__attribute__ ((__optimize__)). */
|
|
#undef HAVE_TEST_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
|
|
|
|
/* Define if _rtld_local structure should be forced into .sdata section. */
|
|
#undef HAVE_SDATA_SECTION
|
|
|
|
/* Define if assembler supports z10 zarch instructions as default on S390. */
|
|
#undef HAVE_S390_MIN_Z10_ZARCH_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 z13 zarch instructions as default on S390. */
|
|
#undef HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
|
|
|
|
/* Define if assembler supports arch13 zarch instruction as default on S390. */
|
|
#undef HAVE_S390_MIN_ARCH13_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 arch13 instructions on S390. */
|
|
#undef HAVE_S390_ARCH13_ASM_SUPPORT
|
|
|
|
/* 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
|
|
|
|
/* 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
|
|
|
|
/* C-SKY ABI version. */
|
|
#undef CSKYABI
|
|
|
|
/* C-SKY floating-point instructions. */
|
|
#undef CSKY_HARD_FLOAT
|
|
|
|
/* C-SKY floating-point ABI. */
|
|
#undef CSKY_HARD_FLOAT_ABI
|
|
|
|
/* RISC-V integer ABI for ld.so. */
|
|
#undef RISCV_ABI_XLEN
|
|
|
|
/* RISC-V floating-point ABI for ld.so. */
|
|
#undef RISCV_ABI_FLEN
|
|
|
|
/* LOONGARCH integer ABI for ld.so. */
|
|
#undef LOONGARCH_ABI_GRLEN
|
|
|
|
/* LOONGARCH floating-point ABI for ld.so. */
|
|
#undef LOONGARCH_ABI_FRLEN
|
|
|
|
/* Define whether compiler support vector. */
|
|
#undef HAVE_LOONGARCH_VEC_COM
|
|
|
|
/* Define whether ARM used hard-float and support VFPvX-D32. */
|
|
#undef HAVE_ARM_PCS_VFP_D32
|
|
|
|
/* 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
|
|
|
|
/* Mach specific: define if the `host_page_size' RPC is available. */
|
|
#undef HAVE_HOST_PAGE_SIZE
|
|
|
|
/* Mach specific: define if the `host_get_uptime64' RPC is available. */
|
|
#undef HAVE_HOST_GET_UPTIME64
|
|
|
|
/* Mach specific: define if the `host_get_time64' RPC is available. */
|
|
#undef HAVE_HOST_GET_TIME64
|
|
|
|
/* Mach specific: define if the `thread_set_name' RPC is available. */
|
|
#undef HAVE_MACH_THREAD_SET_NAME
|
|
|
|
/* Mach specific: define if the `thread_get_name' RPC is available. */
|
|
#undef HAVE_MACH_THREAD_GET_NAME
|
|
|
|
/* Mach specific: define if the `vm_get_size_limit' RPC is available. */
|
|
#undef HAVE_MACH_VM_GET_SIZE_LIMIT
|
|
|
|
/* Mach specific: define if the `vm_set_size_limit' RPC is available. */
|
|
#undef HAVE_MACH_VM_SET_SIZE_LIMIT
|
|
|
|
/* Mach specific: define if the `task_max_priority' RPC is available. */
|
|
#undef HAVE_MACH_TASK_MAX_PRIORITY
|
|
|
|
/* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */
|
|
#undef HAVE_I386_IO_PERM_MODIFY
|
|
|
|
/* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */
|
|
#undef HAVE_I386_SET_GDT
|
|
|
|
/* Hurd specific; define if the `proc_getchildren_rusage' RPC is available. */
|
|
#undef HAVE_HURD_PROC_GETCHILDREN_RUSAGE
|
|
|
|
/* Define if inlined system calls are available. */
|
|
#undef HAVE_INLINED_SYSCALLS
|
|
|
|
/* Package description. */
|
|
#undef PKGVERSION
|
|
|
|
/* Bug reporting address. */
|
|
#undef REPORT_BUGS_TO
|
|
|
|
/* 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 is provided by nptl. */
|
|
#define __PTHREAD_NPTL 0
|
|
|
|
/* Define to 1 if libpthread is provided by htl. */
|
|
#define __PTHREAD_HTL 0
|
|
|
|
/* An integer used to scale the timeout of test programs. */
|
|
#define TIMEOUTFACTOR 1
|
|
|
|
/* Define if __builtin_fmod/__builtin_remainder is inlined on x86. */
|
|
#undef HAVE_X86_INLINE_FMOD
|
|
|
|
/* Set to 1 if 64 bit atomics are supported. */
|
|
#undef HAVE_64B_ATOMICS
|
|
|
|
/* Define to 1 if compiler runtime provides __sfp_handle_exceptions */
|
|
#undef HAVE_SFP_HANDLE_EXCEPTIONS
|
|
|
|
/*
|
|
*/
|
|
|
|
#ifndef _LIBC
|
|
|
|
/* These symbols might be defined by some sysdeps configures.
|
|
They are used only in miscellaneous generator programs, not
|
|
in compiling libc itself. */
|
|
|
|
/* sysdeps/generic/configure.ac */
|
|
#undef HAVE_PSIGNAL
|
|
|
|
/* sysdeps/unix/configure.ac */
|
|
#undef HAVE_STRERROR
|
|
|
|
/* sysdeps/unix/common/configure.ac */
|
|
#undef HAVE_SYS_SIGLIST
|
|
#undef HAVE__SYS_SIGLIST
|
|
#undef HAVE__CTYPE_
|
|
#undef HAVE___CTYPE_
|
|
#undef HAVE___CTYPE
|
|
#undef HAVE__CTYPE__
|
|
#undef HAVE__CTYPE
|
|
#undef HAVE__LOCP
|
|
|
|
#endif
|
|
|
|
/*
|
|
*/
|
|
|
|
#ifdef _LIBC
|
|
|
|
/* The locale code needs these definitions. */
|
|
|
|
#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
|
|
|
|
/* Define if SFrame v2 is enabled. */
|
|
#define ENABLE_SFRAME 0
|
|
|
|
/* Define if unaligned 64-bit atomic operations are supported. */
|
|
#undef HAVE_UNALIGNED_64B_ATOMICS
|
|
|
|
/* 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
|
|
|
|
/* The x86 ISA level. 1 for baseline. Undefined on non-x86. */
|
|
#undef MINIMUM_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
|
|
|
|
/* Define if -mapxf is enabled by default on x86. */
|
|
#undef HAVE_X86_APX
|
|
|
|
/* Define if trunc is inlined on x86. */
|
|
#undef HAVE_X86_INLINE_TRUNC
|
|
|
|
/* Define if compiler allows add attribute after function declaration. */
|
|
#undef ATTR_AFTER_FUNC_DECL
|
|
|
|
/* Define if compiler support __attribute__ ((mode (__libgcc_cmp_return__))). */
|
|
#undef HAVE_X86_LIBGCC_CMP_RETURN_ATTR
|
|
|
|
#endif
|