___faccessat.S revision 5043212b7615bc4c03463c4d242769de69cd4685
15043212b7615bc4c03463c4d242769de69cd4685Chris Dearman/* Generated by gensyscalls.py. Do not edit. */ 25043212b7615bc4c03463c4d242769de69cd4685Chris Dearman 35043212b7615bc4c03463c4d242769de69cd4685Chris Dearman#include <asm/unistd.h> 45043212b7615bc4c03463c4d242769de69cd4685Chris Dearman#include <machine/asm.h> 55043212b7615bc4c03463c4d242769de69cd4685Chris Dearman#include <machine/regdef.h> 65043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .text 75043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .globl faccessat 85043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .align 4 95043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .ent faccessat 105043212b7615bc4c03463c4d242769de69cd4685Chris Dearman 115043212b7615bc4c03463c4d242769de69cd4685Chris Dearmanfaccessat: 125043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .set push 135043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .set noreorder 145043212b7615bc4c03463c4d242769de69cd4685Chris Dearman li v0, __NR_faccessat 155043212b7615bc4c03463c4d242769de69cd4685Chris Dearman syscall 165043212b7615bc4c03463c4d242769de69cd4685Chris Dearman bnez a3, 1f 175043212b7615bc4c03463c4d242769de69cd4685Chris Dearman move a0, v0 185043212b7615bc4c03463c4d242769de69cd4685Chris Dearman j ra 195043212b7615bc4c03463c4d242769de69cd4685Chris Dearman nop 205043212b7615bc4c03463c4d242769de69cd4685Chris Dearman1: 215043212b7615bc4c03463c4d242769de69cd4685Chris Dearman move t0, ra 225043212b7615bc4c03463c4d242769de69cd4685Chris Dearman bal 2f 235043212b7615bc4c03463c4d242769de69cd4685Chris Dearman nop 245043212b7615bc4c03463c4d242769de69cd4685Chris Dearman2: 255043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .cpsetup ra, t1, 2b 265043212b7615bc4c03463c4d242769de69cd4685Chris Dearman LA t9,__set_errno 275043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .cpreturn 285043212b7615bc4c03463c4d242769de69cd4685Chris Dearman j t9 295043212b7615bc4c03463c4d242769de69cd4685Chris Dearman move ra, t0 305043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .set pop 315043212b7615bc4c03463c4d242769de69cd4685Chris Dearman .end faccessat 32