blob: 9a32c785f5cbe25cfd0b0b9369ee84ff30e14b2d [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 noreorder
Elliott Hughesd4ca2312017-10-11 22:27:45 -07007 .cpload $t9
8 li $v0, __NR_getrandom
Elliott Hughes8465e962017-09-27 16:33:35 -07009 syscall
Elliott Hughesd4ca2312017-10-11 22:27:45 -070010 bnez $a3, 1f
11 move $a0, $v0
12 j $ra
Elliott Hughes8465e962017-09-27 16:33:35 -070013 nop
141:
Elliott Hughesd4ca2312017-10-11 22:27:45 -070015 la $t9,__set_errno_internal
16 j $t9
Elliott Hughes8465e962017-09-27 16:33:35 -070017 nop
18 .set reorder
19END(getrandom)