From owner-freebsd-arch Tue May 7 10:49:44 2002 Delivered-To: freebsd-arch@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id E7CD137B40E; Tue, 7 May 2002 10:49:37 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g47HnIev023652; Tue, 7 May 2002 10:49:18 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g47HnIAa023651; Tue, 7 May 2002 10:49:18 -0700 (PDT) Date: Tue, 7 May 2002 10:49:18 -0700 From: "David O'Brien" To: John Baldwin Cc: Matthew Dillon , arch@FreeBSD.org, Poul-Henning Kamp Subject: Re: syscall changes to deal with 32->64 changes. Message-ID: <20020507104918.C23330@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , John Baldwin , Matthew Dillon , arch@FreeBSD.ORG, Poul-Henning Kamp References: <200205070815.g478Fn180961@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.org on Tue, May 07, 2002 at 10:33:20AM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 10:33:20AM -0400, John Baldwin wrote: > Right. I would like to use the ELF_ABI_OSVERSION thingie, but according to > O'Brien it violates the ELF spec to use any value other than 0. Not quite. We cannot touch EI_VERSION (this is the ELF spec version). We are able to play with EI_ABIVERSION since we also play with EI_OSABI. EI_ABIVERSION Byte e_ident[EI_ABIVERSION] identifies the the version of the ABI to which the object is targeted. This field is used to distinguish among incompatible versions of an ABI. The interpretation of this version number is dependent on the ABI identified by the EI_OSABI field. Applications conforming to this specification use the value 0 Well, it is a minor violation to use a non-0 value. But what that really means is that given a non-0 value, a generic ELF program manipulating the binary cannot make general assumptions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message