summaryrefslogtreecommitdiffstats
path: root/arch/x86
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/x86
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/x86')
-rw-r--r--arch/x86/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 9d0acedf5f3f..65a70b777c12 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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.