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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to