The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 1 | /* autogenerated by gensyscalls.py */ |
Kenny Root | fb723c8 | 2011-02-17 10:47:44 -0800 | [diff] [blame] | 2 | #include <machine/asm.h> |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 3 | #include <sys/linux-syscalls.h> |
| 4 | |
Kenny Root | fb723c8 | 2011-02-17 10:47:44 -0800 | [diff] [blame] | 5 | ENTRY(bind) |
Matthieu Castet | faa0fdb | 2013-01-16 14:02:50 +0100 | [diff] [blame] | 6 | mov ip, r7 |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 7 | ldr r7, =__NR_bind |
| 8 | swi #0 |
Matthieu Castet | faa0fdb | 2013-01-16 14:02:50 +0100 | [diff] [blame] | 9 | mov r7, ip |
The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 10 | movs r0, r0 |
| 11 | bxpl lr |
| 12 | b __set_syscall_errno |
Kenny Root | fb723c8 | 2011-02-17 10:47:44 -0800 | [diff] [blame] | 13 | END(bind) |