This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] sh64: Fix gas testsuite expected output


At 08:03 AM 10/16/2002, Alan Modra wrote:
On Wed, Oct 16, 2002 at 06:16:25AM -0700, H. J. Lu wrote:
> If NetBSD uses the same
> ABI as Linux, they should share the same ELFOSABI_XXX.

Aye, but should NetBSD use ELFOSABI_LINUX or Linux use ELFOSABI_NETBSD?
Bun fight coming up..
IMO, even though Linux and NetBSD use the same calling conventions,
they are different ABIs since syscalls are handled differently and
libc has different conventions.  You can't use a Linux shared lib
natively on NetBSD nor can you use a NetBSD shared lib natively on
Linux.  Without a kernel compatibility layer, a small staticly
linked "Hello World" program linked on one O/S won't run on the
other.




--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]