lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | #if !defined IS_IN_build && !defined __ASSEMBLER__ && !defined _ISOMAC \ |
| 2 | && !defined __OPTIMIZE__ |
| 3 | # error "glibc cannot be compiled without optimization" |
| 4 | #endif |
| 5 | |
| 6 | /* Another evil option when it comes to compiling the C library is |
| 7 | --ffast-math since it alters the ABI. */ |
| 8 | #if defined __FAST_MATH__ && !defined TEST_FAST_MATH |
| 9 | # error "glibc must not be compiled with -ffast-math" |
| 10 | #endif |
| 11 | |
| 12 | /* Define if building with SELinux support. Set by --with-selinux. */ |
| 13 | #undef HAVE_SELINUX |
| 14 | |
| 15 | /* Defined if building with SELinux support & audit libs are detected. */ |
| 16 | #undef HAVE_LIBAUDIT |
| 17 | |
| 18 | /* Defined if building with SELinux support & libcap libs are detected. */ |
| 19 | #undef HAVE_LIBCAP |
| 20 | |
| 21 | /* Define if weak symbols are available via the `.weak' directive. */ |
| 22 | #undef HAVE_ASM_WEAK_DIRECTIVE |
| 23 | |
| 24 | /* Define if weak symbols are available via the `.weakext' directive. */ |
| 25 | #undef HAVE_ASM_WEAKEXT_DIRECTIVE |
| 26 | |
| 27 | /* Define to the assembler line separator character for multiple |
| 28 | assembler instructions per line. Default is `;' */ |
| 29 | #undef ASM_LINE_SEP |
| 30 | |
| 31 | /* Define if __attribute__((section("foo"))) puts quotes around foo. */ |
| 32 | #undef HAVE_SECTION_QUOTES |
| 33 | |
| 34 | /* Define if the assembler supports the `.set' directive. */ |
| 35 | #undef HAVE_ASM_SET_DIRECTIVE |
| 36 | |
| 37 | /* Define if the assembler supports the gnu_unique_object symbol type. */ |
| 38 | #undef HAVE_ASM_UNIQUE_OBJECT |
| 39 | |
| 40 | /* On powerpc64, use overlapping .opd entries. */ |
| 41 | #undef USE_PPC64_OVERLAPPING_OPD |
| 42 | |
| 43 | /* Define if _Unwind_Find_FDE should be exported from glibc. */ |
| 44 | #undef EXPORT_UNWIND_FIND_FDE |
| 45 | |
| 46 | /* Define if using ELF and the assembler supports the `.previous' |
| 47 | directive. */ |
| 48 | #undef HAVE_ASM_PREVIOUS_DIRECTIVE |
| 49 | |
| 50 | /* Define if using ELF and the assembler supports the `.popsection' |
| 51 | directive. */ |
| 52 | #undef HAVE_ASM_POPSECTION_DIRECTIVE |
| 53 | |
| 54 | /* Define if static NSS modules are wanted. */ |
| 55 | #undef DO_STATIC_NSS |
| 56 | |
| 57 | /* Define if the compiler supports __builtin_memset. */ |
| 58 | #undef HAVE_BUILTIN_MEMSET |
| 59 | |
| 60 | /* Define if compiler accepts -ftree-loop-distribute-patterns. */ |
| 61 | #undef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL |
| 62 | |
| 63 | /* Define if the regparm attribute shall be used for local functions |
| 64 | (gcc on ix86 only). */ |
| 65 | #undef USE_REGPARMS |
| 66 | |
| 67 | /* Defined on SPARC if GCC emits GOTDATA relocations. */ |
| 68 | #undef HAVE_GCC_GOTDATA |
| 69 | |
| 70 | /* Define on SPARC if AS supports VIS3 instructions. */ |
| 71 | #undef HAVE_AS_VIS3_SUPPORT |
| 72 | |
| 73 | /* Define if the linker supports the -z combreloc option. */ |
| 74 | #undef HAVE_Z_COMBRELOC |
| 75 | |
| 76 | /* Define if _rtld_local structure should be forced into .sdata section. */ |
| 77 | #undef HAVE_SDATA_SECTION |
| 78 | |
| 79 | /* Define if gcc supports SSE4. */ |
| 80 | #undef HAVE_SSE4_SUPPORT |
| 81 | |
| 82 | /* Define if gcc supports AVX. */ |
| 83 | #undef HAVE_AVX_SUPPORT |
| 84 | |
| 85 | /* Define if gcc supports VEX encoding. */ |
| 86 | #undef HAVE_SSE2AVX_SUPPORT |
| 87 | |
| 88 | /* Define if compiler supports AVX512. */ |
| 89 | #undef HAVE_AVX512_SUPPORT |
| 90 | |
| 91 | /* Define if assembler supports AVX512. */ |
| 92 | #undef HAVE_AVX512_ASM_SUPPORT |
| 93 | |
| 94 | /* Define if assembler supports Intel MPX. */ |
| 95 | #undef HAVE_MPX_SUPPORT |
| 96 | |
| 97 | /* Define if gcc supports FMA4. */ |
| 98 | #undef HAVE_FMA4_SUPPORT |
| 99 | |
| 100 | /* Define if gcc supports AVX2. */ |
| 101 | #undef HAVE_AVX2_SUPPORT |
| 102 | |
| 103 | /* Define if the compiler\'s exception support is based on libunwind. */ |
| 104 | #undef HAVE_CC_WITH_LIBUNWIND |
| 105 | |
| 106 | /* Define if the access to static and hidden variables is position independent |
| 107 | and does not need relocations. */ |
| 108 | #undef PI_STATIC_AND_HIDDEN |
| 109 | |
| 110 | /* Define this to disable the 'hidden_proto' et al macros in |
| 111 | include/libc-symbols.h that avoid PLT slots in the shared objects. */ |
| 112 | #undef NO_HIDDEN |
| 113 | |
| 114 | /* AArch64 big endian ABI */ |
| 115 | #undef HAVE_AARCH64_BE |
| 116 | |
| 117 | |
| 118 | /* Defined to some form of __attribute__ ((...)) if the compiler supports |
| 119 | a different, more efficient calling convention. */ |
| 120 | #if defined USE_REGPARMS && !defined PROF |
| 121 | # define internal_function __attribute__ ((regparm (3), stdcall)) |
| 122 | #endif |
| 123 | |
| 124 | /* Linux specific: minimum supported kernel version. */ |
| 125 | #undef __LINUX_KERNEL_VERSION |
| 126 | |
| 127 | /* Override abi-tags ABI version if necessary. */ |
| 128 | #undef __ABI_TAG_VERSION |
| 129 | |
| 130 | /* bash 2.0 introduced the _XXX_GNU_nonoption_argv_flags_ variable to help |
| 131 | getopt determine whether a parameter is a flag or not. This features |
| 132 | was disabled later since it caused trouble. We are by default therefore |
| 133 | disabling the support as well. */ |
| 134 | #undef USE_NONOPTION_FLAGS |
| 135 | |
| 136 | /* Mach/Hurd specific: define if mig supports the `retcode' keyword. */ |
| 137 | #undef HAVE_MIG_RETCODE |
| 138 | |
| 139 | /* Mach specific: define if the `host_page_size' RPC is available. */ |
| 140 | #undef HAVE_HOST_PAGE_SIZE |
| 141 | |
| 142 | /* Mach/i386 specific: define if the `i386_io_perm_*' RPCs are available. */ |
| 143 | #undef HAVE_I386_IO_PERM_MODIFY |
| 144 | |
| 145 | /* Mach/i386 specific: define if the `i386_set_gdt' RPC is available. */ |
| 146 | #undef HAVE_I386_SET_GDT |
| 147 | |
| 148 | /* Defined if forced unwind support is available. */ |
| 149 | #undef HAVE_FORCED_UNWIND |
| 150 | |
| 151 | /* Defined of libidn is available. */ |
| 152 | #undef HAVE_LIBIDN |
| 153 | |
| 154 | /* Define if inlined system calls are available. */ |
| 155 | #undef HAVE_INLINED_SYSCALLS |
| 156 | |
| 157 | /* Define if your compiler defaults to -msecure-plt mode on ppc. */ |
| 158 | #undef HAVE_PPC_SECURE_PLT |
| 159 | |
| 160 | /* Define if __stack_chk_guard canary should be randomized at program startup. */ |
| 161 | #undef ENABLE_STACKGUARD_RANDOMIZE |
| 162 | |
| 163 | /* Define if lock elision should be enabled by default. */ |
| 164 | #undef ENABLE_LOCK_ELISION |
| 165 | |
| 166 | /* Package description. */ |
| 167 | #undef PKGVERSION |
| 168 | |
| 169 | /* Bug reporting address. */ |
| 170 | #undef REPORT_BUGS_TO |
| 171 | |
| 172 | /* Define if multi-arch DSOs should be generated. */ |
| 173 | #undef USE_MULTIARCH |
| 174 | |
| 175 | /* Define if `.ctors' and `.dtors' sections shouldn't be used. */ |
| 176 | #undef NO_CTORS_DTORS_SECTIONS |
| 177 | |
| 178 | /* Define if obsolete RPC code should be made available for user-level code |
| 179 | to link against. */ |
| 180 | #undef LINK_OBSOLETE_RPC |
| 181 | |
| 182 | /* Define if Systemtap <sys/sdt.h> probes should be defined. */ |
| 183 | #undef USE_STAP_PROBE |
| 184 | |
| 185 | /* Define if library functions should try to contact the nscd daemon. */ |
| 186 | #undef USE_NSCD |
| 187 | |
| 188 | /* Define if the dynamic linker should consult an ld.so.cache file. */ |
| 189 | #undef USE_LDCONFIG |
| 190 | |
| 191 | /* Define to 1 if STT_GNU_IFUNC support actually works. */ |
| 192 | #define HAVE_IFUNC 0 |
| 193 | |
| 194 | /* Define if linux/fanotify.h is available. */ |
| 195 | #undef HAVE_LINUX_FANOTIFY_H |
| 196 | |
| 197 | /* Define if the linker defines __ehdr_start. */ |
| 198 | #undef HAVE_EHDR_START |
| 199 | |
| 200 | /* |
| 201 | */ |
| 202 | |
| 203 | #ifndef _LIBC |
| 204 | |
| 205 | /* These symbols might be defined by some sysdeps configures. |
| 206 | They are used only in miscellaneous generator programs, not |
| 207 | in compiling libc itself. */ |
| 208 | |
| 209 | /* sysdeps/generic/configure.ac */ |
| 210 | #undef HAVE_PSIGNAL |
| 211 | |
| 212 | /* sysdeps/unix/configure.ac */ |
| 213 | #undef HAVE_STRERROR |
| 214 | |
| 215 | /* sysdeps/unix/common/configure.ac */ |
| 216 | #undef HAVE_SYS_SIGLIST |
| 217 | #undef HAVE__SYS_SIGLIST |
| 218 | #undef HAVE__CTYPE_ |
| 219 | #undef HAVE___CTYPE_ |
| 220 | #undef HAVE___CTYPE |
| 221 | #undef HAVE__CTYPE__ |
| 222 | #undef HAVE__CTYPE |
| 223 | #undef HAVE__LOCP |
| 224 | |
| 225 | #endif |
| 226 | |
| 227 | /* |
| 228 | */ |
| 229 | |
| 230 | #ifdef _LIBC |
| 231 | |
| 232 | /* The zic and zdump programs need these definitions. */ |
| 233 | |
| 234 | #define HAVE_STRERROR 1 |
| 235 | |
| 236 | /* The locale code needs these definitions. */ |
| 237 | |
| 238 | #define HAVE_REGEX 1 |
| 239 | |
| 240 | /* The ARM hard-float ABI is being used. */ |
| 241 | #undef HAVE_ARM_PCS_VFP |
| 242 | |
| 243 | /* The ARM movw/movt instructions using PC-relative relocs work right. */ |
| 244 | #define ARM_PCREL_MOVW_OK 0 |
| 245 | |
| 246 | /* The pt_chown binary is being built and used by grantpt. */ |
| 247 | #define HAVE_PT_CHOWN 0 |
| 248 | |
| 249 | /* Define if the compiler supports __builtin_trap without |
| 250 | any external dependencies such as making a function call. */ |
| 251 | #define HAVE_BUILTIN_TRAP 0 |
| 252 | |
| 253 | /* ports/sysdeps/mips/configure.in */ |
| 254 | /* Define if using the IEEE 754-2008 NaN encoding on the MIPS target. */ |
| 255 | #undef HAVE_MIPS_NAN2008 |
| 256 | |
| 257 | /* The PowerPC64 ELFv2 ABI is being used. */ |
| 258 | #undef HAVE_ELFV2_ABI |
| 259 | |
| 260 | #endif |