• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(read)
6    mov     ip, r7
7    .cfi_register r7, ip
8    ldr     r7, =__NR_read
9    swi     #0
10    mov     r7, ip
11    .cfi_restore r7
12    cmn     r0, #(MAX_ERRNO + 1)
13    bxls    lr
14    neg     r0, r0
15    b       __set_errno_internal
16END(read)
17