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 | |
Dan Albert | bc9f9f2 | 2014-08-08 15:19:20 -0700 | [diff] [blame] | 5 | .hidden __set_errno |
6 | |||||
Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame] | 7 | ENTRY(getpgid) |
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 8 | .set noreorder |
Elliott Hughes | eae27dc | 2014-02-19 12:20:00 -0800 | [diff] [blame] | 9 | .cpload t9 |
10 | li v0, __NR_getpgid | ||||
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 11 | syscall |
Elliott Hughes | eae27dc | 2014-02-19 12:20:00 -0800 | [diff] [blame] | 12 | bnez a3, 1f |
13 | move a0, v0 | ||||
14 | j ra | ||||
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 15 | nop |
16 | 1: | ||||
Elliott Hughes | eae27dc | 2014-02-19 12:20:00 -0800 | [diff] [blame] | 17 | la t9,__set_errno |
18 | j t9 | ||||
Raghu Gandham | 1fa0d84 | 2012-01-27 17:51:42 -0800 | [diff] [blame] | 19 | nop |
20 | .set reorder | ||||
Elliott Hughes | 9abbbdc | 2014-02-19 14:54:31 -0800 | [diff] [blame] | 21 | END(getpgid) |