blob: 2056bcd611f3d93a636d4425649a5dfd7eea63c7 [file] [log] [blame]
Elliott Hughes103ccde2013-10-16 14:27:59 -07001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08003#include <private/bionic_asm.h>
Raghu Gandham1fa0d842012-01-27 17:51:42 -08004
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08005ENTRY(socket)
Raghu Gandham1fa0d842012-01-27 17:51:42 -08006 .set noreorder
Elliott Hugheseae27dc2014-02-19 12:20:00 -08007 .cpload t9
8 li v0, __NR_socket
Raghu Gandham1fa0d842012-01-27 17:51:42 -08009 syscall
Elliott Hugheseae27dc2014-02-19 12:20:00 -080010 bnez a3, 1f
11 move a0, v0
12 j ra
Raghu Gandham1fa0d842012-01-27 17:51:42 -080013 nop
141:
Elliott Hugheseae27dc2014-02-19 12:20:00 -080015 la t9,__set_errno
16 j t9
Raghu Gandham1fa0d842012-01-27 17:51:42 -080017 nop
18 .set reorder
Elliott Hughes9abbbdc2014-02-19 14:54:31 -080019END(socket)