Date: Mon, 18 Oct 2010 18:41:21 +0700 From: Eugene Grosbein <eugen@grosbein.pp.ru> To: Kostik Belousov <kostikbel@gmail.com> Cc: hackers@freebsd.org Subject: Re: syscall Message-ID: <4CBC3261.8040308@grosbein.pp.ru> In-Reply-To: <20101018111131.GE2392@deviant.kiev.zoral.com.ua> References: <4CBC2109.4030303@grosbein.pp.ru> <20101018111131.GE2392@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18.10.2010 18:11, Kostik Belousov wrote: >> For arm, i386 and mips there are: >> >> lib/libc/arm/sys/syscall.S >> lib/libc/i386/sys/syscall.S >> lib/libc/mips/sys/syscall.S > amd64 syscall() wrapper code is autogenerated. It seems, it's written here: # less /usr/obj/usr/src/lib/libc/syscall.S #include "compat.h" #include "SYS.h" RSYSCALL(syscall) Well, I can just copy there three lines to ./syscall.S and add the file to gcc command line. Thanks. Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CBC3261.8040308>