From 906eb2c0704f3d1da5d02d1a932fe49677faa4d7 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Tue, 18 Nov 2003 19:57:06 +0000 Subject: 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. --- extra/Configs/Config.alpha | 1 - extra/Configs/Config.arm | 20 -------------------- extra/Configs/Config.cris | 1 - extra/Configs/Config.e1 | 1 - extra/Configs/Config.h8300 | 1 - extra/Configs/Config.i386 | 2 -- extra/Configs/Config.i960 | 1 - extra/Configs/Config.in.arch | 6 +----- extra/Configs/Config.m68k | 1 - extra/Configs/Config.microblaze | 1 - extra/Configs/Config.sh | 4 ---- extra/Configs/Config.v850 | 1 - 12 files changed, 1 insertion(+), 39 deletions(-) (limited to 'extra/Configs') diff --git a/extra/Configs/Config.alpha b/extra/Configs/Config.alpha index 285a0901b..629b2c04a 100644 --- a/extra/Configs/Config.alpha +++ b/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 diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm index 291aea4a8..e6271cee3 100644 --- a/extra/Configs/Config.arm +++ b/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 diff --git a/extra/Configs/Config.cris b/extra/Configs/Config.cris index b828198d2..d738489a1 100644 --- a/extra/Configs/Config.cris +++ b/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" diff --git a/extra/Configs/Config.e1 b/extra/Configs/Config.e1 index 72cfa338f..bd8328d31 100644 --- a/extra/Configs/Config.e1 +++ b/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 diff --git a/extra/Configs/Config.h8300 b/extra/Configs/Config.h8300 index 2b0762a1d..15e4eeb7b 100644 --- a/extra/Configs/Config.h8300 +++ b/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 diff --git a/extra/Configs/Config.i386 b/extra/Configs/Config.i386 index 79e433a0f..20b8bbe89 100644 --- a/extra/Configs/Config.i386 +++ b/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 diff --git a/extra/Configs/Config.i960 b/extra/Configs/Config.i960 index 5fc6260b8..c1b1f21c3 100644 --- a/extra/Configs/Config.i960 +++ b/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 diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch index 6d8ac14e1..44ed6ee01 100644 --- a/extra/Configs/Config.in.arch +++ b/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 diff --git a/extra/Configs/Config.m68k b/extra/Configs/Config.m68k index 26629eca8..82ca7ad9e 100644 --- a/extra/Configs/Config.m68k +++ b/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 diff --git a/extra/Configs/Config.microblaze b/extra/Configs/Config.microblaze index 88a0e9ba9..cf50a5ea5 100644 --- a/extra/Configs/Config.microblaze +++ b/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 diff --git a/extra/Configs/Config.sh b/extra/Configs/Config.sh index 55d017a20..b6034f062 100644 --- a/extra/Configs/Config.sh +++ b/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" diff --git a/extra/Configs/Config.v850 b/extra/Configs/Config.v850 index b54ba2f96..64fa9fdff 100644 --- a/extra/Configs/Config.v850 +++ b/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 -- cgit v1.2.3