diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | a27d2baa0c1a2ec70f47ea9199b1dd6762c8a349 (patch) | |
tree | defd1cc07d16ad2f3b21154114e092d11c94c5bb /libc/arch-arm/syscalls/readlink.S | |
download | bionic-1d77faaaade70555d4b6667b02e7c07b05477401.zip bionic-1d77faaaade70555d4b6667b02e7c07b05477401.tar.gz bionic-1d77faaaade70555d4b6667b02e7c07b05477401.tar.bz2 |
Initial Contributionandroid-1.0
Diffstat (limited to 'libc/arch-arm/syscalls/readlink.S')
-rw-r--r-- | libc/arch-arm/syscalls/readlink.S | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libc/arch-arm/syscalls/readlink.S b/libc/arch-arm/syscalls/readlink.S new file mode 100644 index 0000000..eb8ae8b --- /dev/null +++ b/libc/arch-arm/syscalls/readlink.S @@ -0,0 +1,19 @@ +/* autogenerated by gensyscalls.py */ +#include <sys/linux-syscalls.h> + + .text + .type readlink, #function + .globl readlink + .align 4 + .fnstart + +readlink: + .save {r4, r7} + stmfd sp!, {r4, r7} + ldr r7, =__NR_readlink + swi #0 + ldmfd sp!, {r4, r7} + movs r0, r0 + bxpl lr + b __set_syscall_errno + .fnend |