linux_dsm_epyc7002/arch/m68k
David Howells 7fa3031500 aout: suppress A.OUT library support if !CONFIG_ARCH_SUPPORTS_AOUT
Suppress A.OUT library support if CONFIG_ARCH_SUPPORTS_AOUT is not set.

Not all architectures support the A.OUT binfmt, so the ELF binfmt should not
be permitted to go looking for A.OUT libraries to load in such a case.  Not
only that, but under such conditions A.OUT core dumps are not produced either.

To make this work, this patch also does the following:

 (1) Makes the existence of the contents of linux/a.out.h contingent on
     CONFIG_ARCH_SUPPORTS_AOUT.

 (2) Renames dump_thread() to aout_dump_thread() as it's only called by A.OUT
     core dumping code.

 (3) Moves aout_dump_thread() into asm/a.out-core.h and makes it inline.  This
     is then included only where needed.  This means that this bit of arch
     code will be stored in the appropriate A.OUT binfmt module rather than
     the core kernel.

 (4) Drops A.OUT support for Blackfin (according to Mike Frysinger it's not
     needed) and FRV.

This patch depends on the previous patch to move STACK_TOP[_MAX] out of
asm/a.out.h and into asm/processor.h as they're required whether or not A.OUT
format is available.

[jdike@addtoit.com: uml: re-remove accidentally restored code]
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-08 09:22:30 -08:00
..
amiga cleanup after APUS removal 2008-02-06 10:41:01 -08:00
apollo m68k: missing __init 2007-07-20 08:24:49 -07:00
atari Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
bvme6000 m68k: missing __init 2007-07-20 08:24:49 -07:00
configs mac68k: remove dead MAC_ADBKEYCODES 2008-02-05 09:44:24 -08:00
fpsp040 [PATCH] Add wording to m68k .S files to help clarify license info 2006-02-11 21:41:11 -08:00
hp300 m68k: kill arch/m68k/hp300/ksyms.c 2008-02-05 09:44:23 -08:00
ifpsp060 Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
kernel aout: suppress A.OUT library support if !CONFIG_ARCH_SUPPORTS_AOUT 2008-02-08 09:22:30 -08:00
lib missing exports of csum_... 2007-07-17 11:01:07 -07:00
mac mac68k: remove dead code 2008-02-05 09:44:24 -08:00
math-emu spelling fixes: arch/m68k/ 2007-10-20 01:20:32 +02:00
mm pid namespaces: define is_global_init() and is_container_init() 2007-10-19 11:53:37 -07:00
mvme16x m68k: kill arch/m68k/mvme16x/mvme16x_ksyms.c 2008-02-05 09:44:24 -08:00
mvme147 m68k: missing __init 2007-07-20 08:24:49 -07:00
q40 spelling fixes: arch/m68k/ 2007-10-20 01:20:32 +02:00
sun3 spelling fixes: arch/m68k/ 2007-10-20 01:20:32 +02:00
sun3x m68k: missing __init 2007-07-20 08:24:49 -07:00
tools/amiga Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
defconfig [PATCH] M68k: Update defconfigs 2005-06-12 20:43:21 -07:00
Kconfig aout: mark arches that support A.OUT format 2008-02-08 09:22:30 -08:00
Kconfig.debug Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile m68k: Use cc-cross-prefix 2008-02-05 09:44:23 -08:00