Serban Constantinescu | 7f8863d | 2013-10-10 23:05:06 +0100 | [diff] [blame] | 1 | /* Generated by gensyscalls.py. Do not edit. */ |
| 2 | |
Elliott Hughes | ed74484 | 2013-11-07 10:31:05 -0800 | [diff] [blame] | 3 | #include <private/bionic_asm.h> |
Serban Constantinescu | 7f8863d | 2013-10-10 23:05:06 +0100 | [diff] [blame] | 4 | |
Elliott Hughes | 625993d | 2014-07-15 16:53:13 -0700 | [diff] [blame] | 5 | ENTRY(__clock_gettime) |
Serban Constantinescu | 7f8863d | 2013-10-10 23:05:06 +0100 | [diff] [blame] | 6 | mov x8, __NR_clock_gettime |
| 7 | svc #0 |
| 8 | |
Serban Constantinescu | 7f8863d | 2013-10-10 23:05:06 +0100 | [diff] [blame] | 9 | cmn x0, #(MAX_ERRNO + 1) |
| 10 | cneg x0, x0, hi |
Elliott Hughes | 011e111 | 2014-09-08 15:25:01 -0700 | [diff] [blame] | 11 | b.hi __set_errno_internal |
Serban Constantinescu | 7f8863d | 2013-10-10 23:05:06 +0100 | [diff] [blame] | 12 | |
| 13 | ret |
Elliott Hughes | 625993d | 2014-07-15 16:53:13 -0700 | [diff] [blame] | 14 | END(__clock_gettime) |
| 15 | .hidden __clock_gettime |