aout: mark arches that support A.OUT format
authorDavid Howells <dhowells@redhat.com>
Fri, 8 Feb 2008 12:19:27 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:30 +0000 (09:22 -0800)
Mark arches that support A.OUT format by including the following in their
master Kconfig files:

config ARCH_SUPPORTS_AOUT
def_bool y

This should also be set if the arch provides compatibility A.OUT support for
an older arch, for instance x86_64 for i386 or sparc64 for sparc.

I've guessed at which arches don't, based on comments in the code, however I'm
sure that some of the ones I've marked as 'yes' actually should be 'no'.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
14 files changed:
arch/alpha/Kconfig
arch/arm/Kconfig
arch/h8300/Kconfig
arch/m32r/Kconfig
arch/m68k/Kconfig
arch/m68knommu/Kconfig
arch/parisc/Kconfig
arch/sh/Kconfig
arch/sparc/Kconfig
arch/sparc64/Kconfig
arch/um/Kconfig.i386
arch/um/Kconfig.x86_64
arch/v850/Kconfig
arch/x86/Kconfig

index 01b10ab588a630b36c0290448ffa53d29bf03dfc..d9df913a464d12421c897dc219016e3fd1749ca8 100644 (file)
@@ -67,6 +67,9 @@ config AUTO_IRQ_AFFINITY
        depends on SMP
        default y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 source "init/Kconfig"
 
 
index e19e7744e366a3a8d14bbb7aa7fb5ab4d0d13986..4127af93c5f373fdf31e81f4d748bf60decc514a 100644 (file)
@@ -126,6 +126,9 @@ config GENERIC_CALIBRATE_DELAY
        bool
        default y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 config ARCH_MAY_HAVE_PC_FDC
        bool
 
index dc61222e11207b1d802481aa4dfdd4fd788e20b8..b4ba4f8b505c2d66f13c906e4a3371efac6bca3e 100644 (file)
@@ -65,6 +65,9 @@ config TIME_LOW_RES
        bool
        default y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 config NO_IOPORT
        def_bool y
 
index 795180b8fd8e6199e56d118fec12f09a3079eb35..fe61e00a604f270751b4a4687e93c0297c7bc97a 100644 (file)
@@ -35,6 +35,9 @@ config NO_IOPORT
 config NO_DMA
        def_bool y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 source "init/Kconfig"
 
 
index ffabd01c45eb1e4309680210cd30821cf4591864..bcbf3e4ee9d4c5542eff9116c824f0cf2f983605 100644 (file)
@@ -52,6 +52,9 @@ config NO_IOPORT
 config NO_DMA
        def_bool SUN3
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 mainmenu "Linux/68k Kernel Configuration"
 
 source "init/Kconfig"
index 6abbbb8aac5ebc733f7e4eb8cc8df3df6ef3959c..24f732342d3edca6f31ebd7da4f7d159daac58e8 100644 (file)
@@ -64,6 +64,9 @@ config TIME_LOW_RES
 config NO_IOPORT
        def_bool y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 source "init/Kconfig"
 
 menu "Processor type and features"
index 028d8a0fdbfd2b3213c183a5f6a371211fe55833..d929ac84f25a1fcd5a636249d24c5921508d483d 100644 (file)
@@ -75,6 +75,9 @@ config IRQ_PER_CPU
        bool
        default y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 # unless you want to implement ACPI on PA-RISC ... ;-)
 config PM
        bool
index 1c3a90835c7e00caf0cb6960c4da7a75f603ea51..6e035d1cf7895663f5c51eed1b4167f16dd1d759 100644 (file)
@@ -89,6 +89,9 @@ config ARCH_HAS_ILOG2_U64
 config ARCH_NO_VIRT_TO_BUS
        def_bool y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 source "init/Kconfig"
 
 menu "System type"
index 99f8971716d2226a53a27c3e5c19e99c32b6f135..08821b078eccc20a3b4da15359115b5c2ea3990f 100644 (file)
@@ -27,6 +27,9 @@ config ARCH_NO_VIRT_TO_BUS
 config OF
        def_bool y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 source "init/Kconfig"
 
 menu "General machine setup"
index a8c6366f05a1b416ddbfd3a28c2e31b6d333a05d..5023b815e52274d6ef0445120c0b686133ffb286 100644 (file)
@@ -81,6 +81,9 @@ config GENERIC_HARDIRQS_NO__DO_IRQ
        bool
        def_bool y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 choice
        prompt "Kernel page size"
        default SPARC64_PAGE_SIZE_8KB
@@ -390,7 +393,7 @@ config BINFMT_ELF32
 
 config BINFMT_AOUT32
        bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
-       depends on SPARC32_COMPAT
+       depends on SPARC32_COMPAT && ARCH_SUPPORTS_AOUT
        help
          This allows you to run 32-bit a.out format binaries on your Ultra.
          If you want to run SunOS binaries (see SunOS binary emulation below)
index 717f5d3440e3bc89c784fa1cd1d930fbbde78844..e75264603d24cee82385be42a9de13d66512310a 100644 (file)
@@ -84,3 +84,5 @@ config GENERIC_HWEIGHT
        bool
        default y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
index d632e9a89cc3d671ab69730cb5d0e457457e30d9..b438f0e14271b85f075e3c55e023bb63e05b3956 100644 (file)
@@ -39,3 +39,5 @@ config GENERIC_HWEIGHT
        bool
        default y
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
index ace479ab273ff329cc387ce536e8598f171054b4..225f30d7cb32477ca1489412df2c72bfd8eec840 100644 (file)
@@ -53,6 +53,9 @@ config ARCH_HAS_ILOG2_U64
        bool
        default n
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 # Turn off some random 386 crap that can affect device config
 config ISA
        bool
index 9d0acedf5f3f7674cc558d2042b287c52be58121..65a70b777c12e149d14c95a9775896abbe720964 100644 (file)
@@ -136,6 +136,9 @@ config AUDIT_ARCH
        bool
        default X86_64
 
+config ARCH_SUPPORTS_AOUT
+       def_bool y
+
 # Use the generic interrupt handling code in kernel/irq/:
 config GENERIC_HARDIRQS
        bool
@@ -1577,7 +1580,7 @@ config IA32_EMULATION
 
 config IA32_AOUT
        tristate "IA32 a.out support"
-       depends on IA32_EMULATION
+       depends on IA32_EMULATION && ARCH_SUPPORTS_AOUT
        help
          Support old a.out binaries in the 32bit emulation.
 
This page took 0.061895 seconds and 5 git commands to generate.