blob: 3c5b4673fe00cf78d6b17d37025d17cfab32c3b7 [file] [log] [blame]
Elliott Hughes8465e962017-09-27 16:33:35 -07001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(getrandom)
6 .set push
7 .set noreorder
8 li v0, __NR_getrandom
9 syscall
10 bnez a3, 1f
11 move a0, v0
12 j ra
13 nop
141:
15 move t0, ra
16 bal 2f
17 nop
182:
19 .cpsetup ra, t1, 2b
20 LA t9,__set_errno_internal
21 .cpreturn
22 j t9
23 move ra, t0
24 .set pop
25END(getrandom)