svn commit: r280219 - head/lib/libc/gen

Andrew Turner andrew at fubar.geek.nz
Wed Mar 18 15:01:40 UTC 2015


On Wed, 18 Mar 2015 10:32:33 -0400
John Baldwin <jhb at freebsd.org> wrote:

> On Wednesday, March 18, 2015 01:54:54 PM Andrew Turner wrote:
> > Author: andrew
> > Date: Wed Mar 18 13:54:53 2015
> > New Revision: 280219
> > URL: https://svnweb.freebsd.org/changeset/base/280219
> > 
> > Log:
> >   We won't support a.out on arm64/aarch64. As such there will be no
> > need to support it in nlist(3).
> 
> I wonder if this should be #ifdef __i386__ instead?  We've only had
> a.out binaries and kernels for FreeBSD/i386 (3.0 was the first
> release to use ELF by default, and I don't think Alpha was supported
> until 4.0).

I will leave this to someone who knows more about each architecture
than I do to decide. I would have no problem removing the a.out support
on 32-bit ARM, and I expect we can also do this on MIPS, PowerPC, and
Sparc64.

It may also pay to import the NetBSD version of this as they have split
out the different executable file formats to separate source files.
They also have a header to select which formats to support on each
platform.

Andrew


More information about the svn-src-head mailing list