From owner-freebsd-arch@FreeBSD.ORG Thu Aug 30 22:00:37 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96081106566B for ; Thu, 30 Aug 2012 22:00:37 +0000 (UTC) (envelope-from asp654@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0EC5B8FC0A for ; Thu, 30 Aug 2012 22:00:36 +0000 (UTC) Received: by lbbgg13 with SMTP id gg13so1003731lbb.13 for ; Thu, 30 Aug 2012 15:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Wsa19unfNgqGM2R2f16BbYfbYbkH/3yUv/npN9VIoR0=; b=hhGqtZZxB4d03kbwZOCj1e11JNDUSt0OnSpcO+mz1vSEZcg2W+3Yny3sj0s4gkgYXi qFZTUBUsji6yTiEmvRMNsuyKqC1yBzzNMDJjFzra5aPXwSJFKSnl9uQ5J30OYqgrwmr+ sPfD1hfxbyt2EePIE1a0DJdvRqHkwahXcNd9TUhx4oq5Gsr8V4fLRyYQyiAm+6hs1zzF kaKyakxM1ERPQansgx7/txljOL36qdEjRYGID2Z19jw/Jrsnd1K5Z2MSpK0rFzjegQQm ZAuuxfPaUj8OVyG1D/p2q3idBV5KdnmjS/WhOZynmYlqlYJwBsG8jHS5EIc75PGJWN8Q PErA== MIME-Version: 1.0 Received: by 10.152.110.40 with SMTP id hx8mr4760341lab.9.1346364035371; Thu, 30 Aug 2012 15:00:35 -0700 (PDT) Received: by 10.112.106.73 with HTTP; Thu, 30 Aug 2012 15:00:35 -0700 (PDT) In-Reply-To: <20120830213004.GA81386@troutmask.apl.washington.edu> References: <20120830213004.GA81386@troutmask.apl.washington.edu> Date: Thu, 30 Aug 2012 15:00:35 -0700 Message-ID: From: asp imho To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-arch@freebsd.org Subject: Re: FreeBSD complies with which ABI X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2012 22:00:37 -0000 Thanks Steve. On Thu, Aug 30, 2012 at 2:30 PM, Steve Kargl < sgk@troutmask.apl.washington.edu> wrote: > On Thu, Aug 30, 2012 at 01:40:22PM -0700, asp imho wrote: > > Hi all, > > > > Which ABI does FreeBSD comply to for multiple architectures (x86, > > powerpc)... I've seen that the executable is in the ELF format (specified > > in System V ABI), so does this mean that we comply to System V ABI > > completely for all architectures. Please let me know. > > > > man brandelf > > % brandelf -l > known ELF types are: FreeBSD(9) Linux(3) Solaris(6) SVR4(0) > > On an AMD64 system with compat_linux: > % elfdump -e /bin/cat | grep e_ident > e_ident: ELFCLASS64 ELFDATA2LSB ELFOSABI_FREEBSD > % elfdump -e /compat/linux//bin/cat | grep e_ident > e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_LINUX > > On a sparc64 system, > % elfdump -e /bin/cat | grep ident > e_ident: ELFCLASS64 ELFDATA2MSB ELFOSABI_FREEBSD > > > -- > Steve >