Browse Source

Kill ARCH_HAS_NO_MMU and use HAS_FPU only. Wether floating point ops
are implemented in hardware or via kernel emulation doesn't matter to
the libc code.

Manuel Novoa III 20 years ago
parent
commit
906eb2c070

+ 0 - 1
extra/Configs/Config.alpha

@@ -5,7 +5,6 @@
 
 config HAVE_ELF
 	select UCLIBC_HAS_MMU
-	select HAS_FPU
 	select ARCH_LITTLE_ENDIAN
 	select HAVE_NO_SHARED
 	select ARCH_HAS_NO_LDSO

+ 0 - 20
extra/Configs/Config.arm

@@ -40,53 +40,33 @@ choice
 	  If you don't know what to do, choose "Generic Arm".
 
 config CONFIG_GENERIC_ARM
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Generic Arm"
 
 config CONFIG_ARM610
-	select ARCH_HAS_NO_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Arm 610"
 
 config CONFIG_ARM710
-	select ARCH_HAS_NO_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Arm 710"
 
 config CONFIG_ARM720T
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Arm 720T"
 
 config CONFIG_ARM920T
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Arm 920T"
 
 config CONFIG_ARM922T
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Arm 922T"
 
 config CONFIG_ARM926T
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Arm 926T"
 
 config CONFIG_ARM_SA110
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Intel StrongArm SA-110"
 
 config CONFIG_ARM_SA1100
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Intel StrongArm SA-1100"
 
 config CONFIG_ARM_XSCALE
-	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	bool "Intel Xscale"
 
 endchoice

+ 0 - 1
extra/Configs/Config.cris

@@ -32,7 +32,6 @@ choice
 
 config CONFIG_CRIS
 	select UCLIBC_HAS_MMU
-	select ARCH_HAS_NO_FPU
 	select ARCH_LITTLE_ENDIAN
 	bool "CRIS"
 

+ 0 - 1
extra/Configs/Config.e1

@@ -6,7 +6,6 @@
 
 config HAVE_ELF
 	select ARCH_HAS_NO_MMU
-	select ARCH_HAS_NO_FPU
 	select HAVE_NO_SHARED
 	select ARCH_HAS_NO_LDSO
 	select ARCH_BIG_ENDIAN

+ 0 - 1
extra/Configs/Config.h8300

@@ -6,7 +6,6 @@
 config HAVE_ELF
 	bool
 	select ARCH_HAS_NO_MMU
-	select ARCH_HAS_NO_FPU
 	select ARCH_HAS_C_SYMBOL_PREFIX
 	select HAVE_NO_SHARED
 	select ARCH_HAS_NO_LDSO

+ 0 - 2
extra/Configs/Config.i386

@@ -5,7 +5,6 @@
 
 config HAVE_ELF
 	bool
-	select HAS_FPU
 	select ARCH_LITTLE_ENDIAN
 	select UCLIBC_HAS_MMU
 	default y
@@ -61,7 +60,6 @@ config CONFIG_GENERIC_386
 	bool "Generic 386"
 
 config CONFIG_386
-	select ARCH_HAS_NO_FPU
 	bool "386"
 
 config CONFIG_486

+ 0 - 1
extra/Configs/Config.i960

@@ -9,7 +9,6 @@ config TARGET_ARCH
 config HAVE_ELF
 	bool
 	select ARCH_HAS_NO_MMU
-	select ARCH_HAS_NO_FPU
 	select HAVE_NO_SHARED
 	select ARCH_HAS_NO_LDSO
 	select HAS_NO_THREADS

+ 1 - 5
extra/Configs/Config.in.arch

@@ -45,13 +45,9 @@ config UCLIBC_HAS_FLOATS
 	  Answering N to this option can reduce the size of uClibc.  Most people
 	  will answer Y.
 
-config ARCH_HAS_NO_FPU
-	bool
-	default n
-
 config HAS_FPU
 	bool "Target CPU has a floating point unit (FPU)"
-	depends on UCLIBC_HAS_FLOATS && !ARCH_HAS_NO_FPU
+	depends on UCLIBC_HAS_FLOATS
 	default y
 	help
 	  If your target CPU does not have a Floating Point Unit (FPU) or a

+ 0 - 1
extra/Configs/Config.m68k

@@ -9,7 +9,6 @@ config TARGET_ARCH
 config HAVE_ELF
 	bool
 	select ARCH_HAS_NO_MMU
-	select ARCH_HAS_NO_FPU
 	select ARCH_BIG_ENDIAN
 	select HAVE_NO_SHARED
 	select ARCH_HAS_NO_LDSO

+ 0 - 1
extra/Configs/Config.microblaze

@@ -9,7 +9,6 @@ config TARGET_ARCH
 config HAVE_ELF
 	bool
 	select ARCH_HAS_NO_MMU
-	select ARCH_HAS_NO_FPU
 	select ARCH_HAS_C_SYMBOL_PREFIX
 	select HAVE_NO_SHARED
 	select ARCH_HAS_NO_LDSO

+ 0 - 4
extra/Configs/Config.sh

@@ -44,23 +44,19 @@ choice
 	  - "SH5" SH-5 101, 103
 
 config CONFIG_SH2
-	select ARCH_HAS_NO_FPU
 	select ARCH_HAS_NO_MMU
 	select ARCH_HAS_NO_LDSO
 	bool "SH2"
 
 config CONFIG_SH3
-	select ARCH_HAS_NO_FPU
 	select UCLIBC_HAS_MMU
 	bool "SH3"
 
 config CONFIG_SH4
-	select HAS_FPU
 	select UCLIBC_HAS_MMU
 	bool "SH4"
 
 config CONFIG_SH5
-	select HAS_FPU
 	select UCLIBC_HAS_MMU
 	select ARCH_HAS_NO_LDSO
 	bool "SH5"

+ 0 - 1
extra/Configs/Config.v850

@@ -8,7 +8,6 @@ config TARGET_ARCH
 
 config HAVE_ELF
 	bool
-	select ARCH_HAS_NO_FPU
 	select ARCH_HAS_NO_MMU
 	select ARCH_LITTLE_ENDIAN
 	select ARCH_HAS_C_SYMBOL_PREFIX