blob: ca913df8d7671eba2f116bfd6306d7a7e538ba15 [file] [log] [blame]
Elliott Hughes0f461e32014-01-09 10:17:03 -08001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08003#include <private/bionic_asm.h>
Elliott Hughes0f461e32014-01-09 10:17:03 -08004
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08005ENTRY(prlimit64)
Elliott Hughes0f461e32014-01-09 10:17:03 -08006 .set noreorder
Elliott Hugheseae27dc2014-02-19 12:20:00 -08007 .cpload t9
8 li v0, __NR_prlimit64
Elliott Hughes0f461e32014-01-09 10:17:03 -08009 syscall
Elliott Hugheseae27dc2014-02-19 12:20:00 -080010 bnez a3, 1f
11 move a0, v0
12 j ra
Elliott Hughes0f461e32014-01-09 10:17:03 -080013 nop
141:
Elliott Hughes011e1112014-09-08 15:25:01 -070015 la t9,__set_errno_internal
Elliott Hugheseae27dc2014-02-19 12:20:00 -080016 j t9
Elliott Hughes0f461e32014-01-09 10:17:03 -080017 nop
18 .set reorder
Elliott Hughes9abbbdc2014-02-19 14:54:31 -080019END(prlimit64)