search for: __syscall5

Displaying 1 result from an estimated 1 matches for "__syscall5".

Did you mean: __syscall
2015 Feb 10
3
[LLVMdev] Bug in ARM Thumb inline asm?
...ks like inline asm is failing in some cases. Here's one: The lseek system call looks like this: ... off_t result; return syscall(SYS__llseek, fd, offset>>32, offset, &result, whence) ? -1 : result; ... Which eventually goes through this macro: static inline long __syscall5(long n, long a, long b, long c, long d, long e) { register long r7 __asm__("r7") = n; register long r0 __asm__("r0") = a; register long r1 __asm__("r1") = b; register long r2 __asm__("r2") = c; register long r3 __...