103ccde8fe
No non-comment changes to the .S files. Change-Id: Iafcfd004c3ea92b64268f80ab16df615b97cefac
18 lines
330 B
ArmAsm
18 lines
330 B
ArmAsm
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
#include <asm/unistd.h>
|
|
#include <linux/err.h>
|
|
#include <machine/asm.h>
|
|
|
|
ENTRY(lstat)
|
|
movl $__NR_lstat, %eax
|
|
syscall
|
|
cmpq $-MAX_ERRNO, %rax
|
|
jb 1f
|
|
negl %eax
|
|
movl %eax, %edi
|
|
call __set_errno
|
|
orq $-1, %rax
|
|
1:
|
|
ret
|
|
END(lstat)
|