[Patch] sh64: Fix gas testsuite expected output

Matt Thomas matt@3am-software.com
Wed Oct 16 09:50:00 GMT 2002


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



More information about the Binutils mailing list