Date: Wed, 12 Jan 2000 18:38:31 -0800 From: Mike Smith <msmith@freebsd.org> To: freebsd-emulation@FreeBSD.ORG Subject: Re: DUAL-brand ELF binaries Message-ID: <200001130238.SAA03580@mass.cdrom.com> In-Reply-To: Your message of "Thu, 13 Jan 2000 02:34:30 %2B0100." <200001130134.CAA61708@dorifer.heim3.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> Martin v.Loewis <loewis@cs.tu-berlin.de> wrote in list.freebsd-emulatio= n: > > Sure there is. On Linux, "int 0x80" performs a system call. You can > > emit this instruction either directly (via assembler code), or via > > the _syscall<n> macros from <asm/unistd.h>. > = > But is that the usual, common and recommended way to issue > syscalls? That's one perfectly legitimate way of doing it, yes. However, the real issue here is not system calls, it's the binary = interface to libc. If the third-party library binds to anything other = than a clearly defined interface layer in the application, ie. it makes = any calls at all into libc, the chances are good that it will fail = because the interface to libc is defined at the source level, not the = binary level. -- = \\ Give a man a fish, and you feed him for a day. \\ Mike Smith \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001130238.SAA03580>