Elliott Hughes | 0f461e3 | 2014-01-09 10:17:03 -0800 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
2 | |||||
3 | #include <private/bionic_asm.h> | ||||
4 | |||||
5 | ENTRY(prlimit64) | ||||
6 | stp x29, x30, [sp, #-16]! | ||||
7 | mov x29, sp | ||||
8 | str x8, [sp, #-16]! | ||||
9 | |||||
10 | mov x8, __NR_prlimit64 | ||||
11 | svc #0 | ||||
12 | |||||
13 | ldr x8, [sp], #16 | ||||
14 | ldp x29, x30, [sp], #16 | ||||
15 | |||||
16 | cmn x0, #(MAX_ERRNO + 1) | ||||
17 | cneg x0, x0, hi | ||||
18 | b.hi __set_errno | ||||
19 | |||||
20 | ret | ||||
21 | END(prlimit64) | ||||
22 | |||||
Elliott Hughes | 986f906 | 2014-02-18 16:42:36 -0800 | [diff] [blame^] | 23 | .globl prlimit |
24 | .equ prlimit, prlimit64 |