aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/Kconfig
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-02-08 07:19:27 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 12:22:30 -0500
commitb0b933c08bd5fd053bbba8ba6387f543be03d49f (patch)
treec3c6d2e44d2104231daa31f684b9e7fcdc3b7896 /arch/sparc64/Kconfig
parent922a70d327bd4b11342c2afd08e20d35f52064c3 (diff)
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
81 bool 81 bool
82 def_bool y 82 def_bool y
83 83
84config ARCH_SUPPORTS_AOUT
85 def_bool y
86
84choice 87choice
85 prompt "Kernel page size" 88 prompt "Kernel page size"
86 default SPARC64_PAGE_SIZE_8KB 89 default SPARC64_PAGE_SIZE_8KB
@@ -390,7 +393,7 @@ config BINFMT_ELF32
390 393
391config BINFMT_AOUT32 394config BINFMT_AOUT32
392 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries" 395 bool "Kernel support for 32-bit (ie. SunOS) a.out binaries"
393 depends on SPARC32_COMPAT 396 depends on SPARC32_COMPAT && ARCH_SUPPORTS_AOUT
394 help 397 help
395 This allows you to run 32-bit a.out format binaries on your Ultra. 398 This allows you to run 32-bit a.out format binaries on your Ultra.
396 If you want to run SunOS binaries (see SunOS binary emulation below) 399 If you want to run SunOS binaries (see SunOS binary emulation below)