From owner-freebsd-arch Wed May 8 0:19:23 2002 Delivered-To: freebsd-arch@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 9D01437B400 for ; Wed, 8 May 2002 00:19:16 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g487IXJ81349; Wed, 8 May 2002 00:18:33 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3) with ESMTP id g487IXtu007620; Wed, 8 May 2002 00:18:33 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3/Submit) id g487IXJ4007619; Wed, 8 May 2002 00:18:33 -0700 (PDT) Date: Wed, 8 May 2002 00:18:32 -0700 From: Marcel Moolenaar To: Peter Wemm Cc: Nathan Hawkins , arch@FreeBSD.ORG Subject: Re: syscall changes to deal with 32->64 changes. Message-ID: <20020508071832.GA7568@dhcp01.pn.xcllnt.net> References: <3CD823E8.2010809@quic.net> <20020508062837.696D738CC@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020508062837.696D738CC@overcee.wemm.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 07, 2002 at 11:28:37PM -0700, Peter Wemm wrote: > > > > > >Why? Just to follow the NIH herd? The EI_OSABI and EI_ABIVERSION fields > > >were in the gABI spec before anyone started using .note sections for > > >this. > > > > > > > > Because AFAICS, it's a defacto, unwritten standard. Even if it violates > > spec. > > > > NIH is a matter of perspective. FreeBSD could be considered to be in NIH > > mode, because the other ELF based systems use a different method. > > I seem to recall that NetBSD invented .note.ABI-tag and pushed it back > to the binutils folks. Interestingly, the LSB (Linux Standards Body) version 1.1.0 has it documented as Linux specific. My whole take on the ELF aspect is that we should use EI_OSABI and EI_ABIVERSION and stop trying to be more compliant than the standard allows. It's basicly a mess and nobody is truely compliant anyway. The new draft has EI_OSABI and EI_ABIVERSION documented for years, so I think we can speculatively use it. If our toolchain throws in a .note.ABI-tag section than so be it; we might as well give it sensible contents. I don't think we should use it as the primary means to select the ABI though. FWIW, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message