7fa3031500
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> |
||
---|---|---|
.. | ||
a.out-core.h | ||
a.out.h | ||
agp.h | ||
apb.h | ||
asi.h | ||
atomic.h | ||
auxio.h | ||
auxvec.h | ||
backoff.h | ||
bbc.h | ||
bitops.h | ||
bpp.h | ||
bsderrno.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
chafsr.h | ||
checksum.h | ||
chmctrl.h | ||
cmt.h | ||
compat_signal.h | ||
compat.h | ||
cpudata.h | ||
cputime.h | ||
current.h | ||
dcr.h | ||
dcu.h | ||
delay.h | ||
device.h | ||
display7seg.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
ebus.h | ||
elf.h | ||
emergency-restart.h | ||
envctrl.h | ||
errno.h | ||
estate.h | ||
fb.h | ||
fbio.h | ||
fcntl.h | ||
fhc.h | ||
floppy.h | ||
fpumacro.h | ||
futex.h | ||
hardirq.h | ||
head.h | ||
hvtramp.h | ||
hw_irq.h | ||
hypervisor.h | ||
ide.h | ||
idprom.h | ||
intr_queue.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
iommu.h | ||
ipcbuf.h | ||
irq_regs.h | ||
irq.h | ||
irqflags.h | ||
isa.h | ||
Kbuild | ||
kdebug.h | ||
kmap_types.h | ||
kprobes.h | ||
ldc.h | ||
linkage.h | ||
local.h | ||
lsu.h | ||
mc146818rtc.h | ||
mdesc.h | ||
mman.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
mostek.h | ||
msgbuf.h | ||
mutex.h | ||
namei.h | ||
ns87303.h | ||
numnodes.h | ||
of_device.h | ||
of_platform.h | ||
openprom.h | ||
openpromio.h | ||
oplib.h | ||
page.h | ||
param.h | ||
parport.h | ||
pci.h | ||
pconf.h | ||
percpu.h | ||
perfctr.h | ||
pgalloc.h | ||
pgtable.h | ||
pil.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
prom.h | ||
psrcompat.h | ||
pstate.h | ||
ptrace.h | ||
reg.h | ||
resource.h | ||
rtc.h | ||
rwsem-const.h | ||
rwsem.h | ||
sbus.h | ||
scatterlist.h | ||
scratchpad.h | ||
seccomp.h | ||
sections.h | ||
semaphore.h | ||
sembuf.h | ||
setup.h | ||
sfafsr.h | ||
sfp-machine.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
solerrno.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
spitfire.h | ||
sstate.h | ||
starfire.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
sunbpp.h | ||
svr4.h | ||
system.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
tsb.h | ||
ttable.h | ||
types.h | ||
uaccess.h | ||
uctx.h | ||
unaligned.h | ||
unistd.h | ||
upa.h | ||
user.h | ||
utrap.h | ||
vga.h | ||
vio.h | ||
visasm.h | ||
watchdog.h | ||
xor.h |