diff options
Diffstat (limited to 'extra/Configs')
-rw-r--r-- | extra/Configs/Config.aarch64 | 1 | ||||
-rw-r--r-- | extra/Configs/Config.arm | 1 | ||||
-rw-r--r-- | extra/Configs/Config.i386 | 1 | ||||
-rw-r--r-- | extra/Configs/Config.in | 11 | ||||
-rw-r--r-- | extra/Configs/Config.in.arch | 40 | ||||
-rw-r--r-- | extra/Configs/Config.nds32 | 1 |
6 files changed, 23 insertions, 32 deletions
diff --git a/extra/Configs/Config.aarch64 b/extra/Configs/Config.aarch64 index d666cc595..6074878f2 100644 --- a/extra/Configs/Config.aarch64 +++ b/extra/Configs/Config.aarch64 @@ -13,6 +13,7 @@ config FORCE_OPTIONS_FOR_ARCH select ARCH_ANY_ENDIAN select ARCH_HAS_MMU select ARCH_USE_MMU + select ARCH_VDSO_SUPPORT select UCLIBC_HAS_FPU choice diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm index 0d02e3f10..ea8ab4895 100644 --- a/extra/Configs/Config.arm +++ b/extra/Configs/Config.arm @@ -13,6 +13,7 @@ config FORCE_OPTIONS_FOR_ARCH select ARCH_ANY_ENDIAN select ARCH_HAS_UCONTEXT select ARCH_HAS_DEPRECATED_SYSCALLS + select ARCH_VDSO_SUPPORT config CONFIG_ARM_EABI bool "Build for EABI" diff --git a/extra/Configs/Config.i386 b/extra/Configs/Config.i386 index c928ac1a2..c2a9a6e93 100644 --- a/extra/Configs/Config.i386 +++ b/extra/Configs/Config.i386 @@ -14,6 +14,7 @@ config FORCE_OPTIONS_FOR_ARCH select ARCH_HAS_MMU select ARCH_HAS_UCONTEXT select ARCH_HAS_DEPRECATED_SYSCALLS + select ARCH_VDSO_SUPPORT choice prompt "Target x86 Processor Family" diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 2d1692ba5..454b6ddb8 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -336,7 +336,8 @@ config STATIC_PIE depends on DOPIC && !UCLIBC_FORMAT_FDPIC_ELF && \ (TARGET_aarch64 || TARGET_arm || TARGET_i386 || \ TARGET_m68k || TARGET_mips || TARGET_powerpc || \ - TARGET_riscv64 || TARGET_x86_64 || TARGET_xtensa) + TARGET_riscv32 || TARGET_riscv64 || TARGET_x86_64 \ + || TARGET_xtensa) config ARCH_HAS_NO_SHARED bool @@ -544,7 +545,7 @@ config LDSO_LD_LIBRARY_PATH If unsure, simply say Y here. config UCLIBC_CTOR_DTOR - bool + bool "Support global constructors and destructors" default y help If you wish to build uClibc with support for global constructor @@ -594,7 +595,6 @@ config UCLIBC_HAS_LINUXTHREADS # linuxthreads need nanosleep() select UCLIBC_HAS_REALTIME depends on !TARGET_aarch64 && \ - !TARGET_riscv32 && \ !TARGET_metag help If you want to compile uClibc with Linuxthreads support, then answer Y. @@ -615,7 +615,7 @@ config UCLIBC_HAS_THREADS_NATIVE !TARGET_h8300 && \ !TARGET_hppa && \ !TARGET_ia64 && \ - (ARCH_USE_MMU || TARGET_arm) + (ARCH_USE_MMU || TARGET_arm || TARGET_xtensa) help If you want to compile uClibc with NPTL support, then answer Y. @@ -1028,6 +1028,7 @@ config UCLIBC_USE_TIME64 bool "Use *time64 syscalls instead of 32bit ones (if possible)" depends on TARGET_arc || \ TARGET_arm || \ + TARGET_csky || \ TARGET_i386 || \ TARGET_m68k || \ TARGET_microblaze || \ @@ -1039,7 +1040,7 @@ config UCLIBC_USE_TIME64 TARGET_sh || \ TARGET_xtensa # TODO: add support for other architectures - default n + default y help Replace 32bit syscalls to their 64/time64 analog if possible. diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch index 4bcf3ff3f..24c0db157 100644 --- a/extra/Configs/Config.in.arch +++ b/extra/Configs/Config.in.arch @@ -13,14 +13,14 @@ choice config UCLIBC_FORMAT_ELF bool "ELF (using ELF_FDPIC loader)" depends on !ARCH_USE_MMU && (TARGET_arm || TARGET_m68k || \ - TARGET_riscv64) + TARGET_riscv32 || TARGET_riscv64) select DOPIC select STATIC_PIE select ARCH_HAS_NO_SHARED select HAVE_LDSO config UCLIBC_FORMAT_FDPIC_ELF bool "FDPIC ELF" - depends on !ARCH_USE_MMU && (TARGET_bfin || TARGET_frv || TARGET_arm) + depends on !ARCH_USE_MMU && (TARGET_bfin || TARGET_frv || TARGET_arm || TARGET_xtensa) select DOPIC config UCLIBC_FORMAT_DSBT_ELF bool "DBST ELF" @@ -34,13 +34,6 @@ config UCLIBC_FORMAT_FLAT_SEP_DATA bool "STATIC FLAT (sep-data)" depends on !ARCH_USE_MMU && !TARGET_frv select ARCH_HAS_NO_LDSO -config UCLIBC_FORMAT_SHARED_FLAT - bool "SHARED FLAT" - depends on !ARCH_USE_MMU && !TARGET_frv - select ARCH_HAS_NO_LDSO - help - Pick this one if you are using uClinux and wish to build - uClibc as a flat-format shared library. endchoice endif if ARCH_USE_MMU @@ -55,24 +48,6 @@ config ARCH_HAS_DEPRECATED_SYSCALLS this symbol controls whether there is support for these threading libraries or not. -config UCLIBC_SHARED_FLAT_ID - int "Shared library ID" - default 1 - depends on UCLIBC_FORMAT_SHARED_FLAT - help - When using flat shared libraries, every library has a unique - system-wide identifier. Identifier 0 is reserved for - executables and true shared libraries have identifiers - starting at 1. The maximum shared library identifier is - determined by the kernel and is usually 3. Shared library - N must be available on the target system as "/lib/libN.so". - - When a shared C library is used, it usually has identifier 1, - but you can use this option to select a different identifier - if you need to. - - - # # Endian Format # @@ -189,9 +164,20 @@ config UCLIBC_HAS_FENV bool "Enable C99 Floating-point environment" depends on UCLIBC_HAS_FLOATS depends on TARGET_i386 || \ + TARGET_aarch64 || \ + TARGET_arc || \ + TARGET_arm || \ + TARGET_csky || \ + TARGET_m68k || \ TARGET_metag || \ + TARGET_mips || \ TARGET_nds32 || \ + TARGET_or1k || \ (TARGET_powerpc && CONFIG_E500) || \ + TARGET_riscv32 || \ + TARGET_riscv64 || \ + (TARGET_sh && (CONFIG_SH4 || CONFIG_SH4A)) || \ + TARGET_sparc || \ TARGET_x86_64 help If you want the uClibc math library to contain the C99 floating diff --git a/extra/Configs/Config.nds32 b/extra/Configs/Config.nds32 index 8bac9e679..2ed6a32b7 100644 --- a/extra/Configs/Config.nds32 +++ b/extra/Configs/Config.nds32 @@ -11,6 +11,7 @@ config FORCE_OPTIONS_FOR_ARCH bool default y select ARCH_ANY_ENDIAN + select ARCH_HAS_DEPRECATED_SYSCALLS select ARCH_HAS_MMU select ARCH_HAS_UCONTEXT |