Re: architectures with ARCH_SUPPORTS_AOUT but no binfmt_aout

From: David Woodhouse
Date: Tue Jun 17 2008 - 05:47:50 EST


On Tue, 2008-06-17 at 11:42 +0300, Adrian Bunk wrote:
>
> > Why _are_ there architectures which define ARCH_SUPPORTS_AOUT and have
> > <asm/a.out.h> but don't support binfmt_aout, anyway? How does that make
> > sense?
>
> My guess would be that binfmt_aout isn't actually used there.
>
> The affected architectures are:
> - h8300
> - m32r
> - parisc
> - sh
> - v850
>
> v850 is broken beyond repair, and I hope my patch to remove the
> architecture will make it into 2.6.27.
>
> For the other 4 architectures I have Cc'ed the architecture maintainers.

There's another set of architectures which have <asm/a.out.h> but don't
define ARCH_SUPPORTS_AOUT. Including PowerPC.

I think we can probably get away with removing <asm/a.out.h> from every
architecture other than Alpha, ARM, m68k and x86, and killing
ARCH_SUPPORTS_AOUT completely.

Or maybe, as dhowells suggests, re-defining ARCH_SUPPORTS_AOUT to be set
only on Alpha, ARM, m68k and x86 (so BINFMT_AOUT can depend on it).

--
dwmw2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/