summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/Kconfig
diff options
context:
space:
mode:
authorDavid Howells2008-02-08 13:19:27 +0100
committerLinus Torvalds2008-02-08 18:22:30 +0100
commitb0b933c08bd5fd053bbba8ba6387f543be03d49f (patch)
treec3c6d2e44d2104231daa31f684b9e7fcdc3b7896 /arch/sparc64/Kconfig
parentaout: move STACK_TOP[_MAX] to asm/processor.h (diff)
downloadkernel-qcow2-linux-b0b933c08bd5fd053bbba8ba6387f543be03d49f.tar.gz
kernel-qcow2-linux-b0b933c08bd5fd053bbba8ba6387f543be03d49f.tar.xz
kernel-qcow2-linux-b0b933c08bd5fd053bbba8ba6387f543be03d49f.zip
aout: mark arches that support A.OUT format
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>
Diffstat (limited to 'arch/sparc64/Kconfig')
-rw-r--r--arch/sparc64/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig
index a8c6366f05a1..5023b815e522 100644
--- a/arch/sparc64/Kconfig
+++ b/arch/sparc64/Kconfig
@@ -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)