Date: Thu, 30 Aug 2012 15:00:35 -0700 From: asp imho <asp654@gmail.com> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: freebsd-arch@freebsd.org Subject: Re: FreeBSD complies with which ABI Message-ID: <CALGwOv%2BXHP%2BLTWyPQCNkvhJUi3yVDyphjfdjXqyo%2BBJ7YPLnmQ@mail.gmail.com> In-Reply-To: <20120830213004.GA81386@troutmask.apl.washington.edu> References: <CALGwOv%2By-0cJu2xmUVZCT4LR91v_WP4sNS3fmtxhN7v5-KH1Dw@mail.gmail.com> <20120830213004.GA81386@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALGwOv%2BXHP%2BLTWyPQCNkvhJUi3yVDyphjfdjXqyo%2BBJ7YPLnmQ>