From owner-svn-src-head@FreeBSD.ORG Wed Mar 18 15:01:39 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5EEBF01; Wed, 18 Mar 2015 15:01:39 +0000 (UTC) Received: from kif.fubar.geek.nz (kif.fubar.geek.nz [178.62.119.249]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2E786C; Wed, 18 Mar 2015 15:01:39 +0000 (UTC) Received: from bender (c112.sec.cl.cam.ac.uk [128.232.18.112]) by kif.fubar.geek.nz (Postfix) with ESMTPSA id BDB99D7A37; Wed, 18 Mar 2015 15:01:31 +0000 (UTC) Date: Wed, 18 Mar 2015 15:01:31 +0000 From: Andrew Turner To: John Baldwin Subject: Re: svn commit: r280219 - head/lib/libc/gen Message-ID: <20150318150131.5b81a8d1@bender> In-Reply-To: <1938111.D25SRQMHbg@ralph.baldwin.cx> References: <201503181354.t2IDssGG085551@svn.freebsd.org> <1938111.D25SRQMHbg@ralph.baldwin.cx> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Andrew Turner , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2015 15:01:40 -0000 On Wed, 18 Mar 2015 10:32:33 -0400 John Baldwin 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