Home | History | Annotate | Download | only in syscalls
      1 /* Generated by gensyscalls.py. Do not edit. */
      2 
      3 #include <private/bionic_asm.h>
      4 
      5 ENTRY(__set_tls)
      6     mov     ip, r7
      7     .cfi_register r7, ip
      8     ldr     r7, =__ARM_NR_set_tls
      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
     16 END(__set_tls)
     17