OSDN Git Service

Kill ARCH_HAS_NO_MMU and use HAS_FPU only. Wether floating point ops
authorManuel Novoa III <mjn3@codepoet.org>
Tue, 18 Nov 2003 19:57:06 +0000 (19:57 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Tue, 18 Nov 2003 19:57:06 +0000 (19:57 -0000)
are implemented in hardware or via kernel emulation doesn't matter to
the libc code.

12 files changed:
extra/Configs/Config.alpha
extra/Configs/Config.arm
extra/Configs/Config.cris
extra/Configs/Config.e1
extra/Configs/Config.h8300
extra/Configs/Config.i386
extra/Configs/Config.i960
extra/Configs/Config.in.arch
extra/Configs/Config.m68k
extra/Configs/Config.microblaze
extra/Configs/Config.sh
extra/Configs/Config.v850

index 285a090..629b2c0 100644 (file)
@@ -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
index 291aea4..e6271ce 100644 (file)
@@ -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
index b828198..d738489 100644 (file)
@@ -32,7 +32,6 @@ choice
 
 config CONFIG_CRIS
        select UCLIBC_HAS_MMU
-       select ARCH_HAS_NO_FPU
        select ARCH_LITTLE_ENDIAN
        bool "CRIS"
 
index 72cfa33..bd8328d 100644 (file)
@@ -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
index 2b0762a..15e4eeb 100644 (file)
@@ -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
index 79e433a..20b8bbe 100644 (file)
@@ -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
index 5fc6260..c1b1f21 100644 (file)
@@ -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
index 6d8ac14..44ed6ee 100644 (file)
@@ -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
index 26629ec..82ca7ad 100644 (file)
@@ -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
index 88a0e9b..cf50a5e 100644 (file)
@@ -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
index 55d017a..b6034f0 100644 (file)
@@ -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"
index b54ba2f..64fa9fd 100644 (file)
@@ -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