Elliott Hughes | 103ccde | 2013-10-16 14:27:59 -0700 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
2 | |||||
Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame^] | 3 | #include <private/bionic_asm.h> |
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 4 | |
Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame^] | 5 | ENTRY(socket) |
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 6 | .set noreorder |
Elliott Hughes | eae27dc | 2014-02-19 12:20:00 -0800 | [diff] [blame] | 7 | .cpload t9 |
8 | li v0, __NR_socket | ||||
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 9 | syscall |
Elliott Hughes | eae27dc | 2014-02-19 12:20:00 -0800 | [diff] [blame] | 10 | bnez a3, 1f |
11 | move a0, v0 | ||||
12 | j ra | ||||
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 13 | nop |
14 | 1: | ||||
Elliott Hughes | eae27dc | 2014-02-19 12:20:00 -0800 | [diff] [blame] | 15 | la t9,__set_errno |
16 | j t9 | ||||
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 17 | nop |
18 | .set reorder | ||||
Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame^] | 19 | END(socket) |