__getcwd.S revision 7f8863dc07377544c1289efd0aaf787f5a4ecc04
1/* Generated by gensyscalls.py. Do not edit. */ 2 3#include <asm/unistd.h> 4#include <linux/err.h> 5#include <machine/asm.h> 6 7ENTRY(__getcwd) 8 stp x29, x30, [sp, #-16]! 9 mov x29, sp 10 str x8, [sp, #-16]! 11 12 mov x8, __NR_getcwd 13 svc #0 14 15 ldr x8, [sp], #16 16 ldp x29, x30, [sp], #16 17 18 cmn x0, #(MAX_ERRNO + 1) 19 cneg x0, x0, hi 20 b.hi __set_errno 21 22 ret 23END(__getcwd) 24.hidden _C_LABEL(__getcwd) 25