bionic/libc/arch-mips/syscalls/linkat.S
Elliott Hughes f8fcfbc85a Move away from the __ARCH_WANT_SYSCALL_NO_AT system calls.
Modern architectures only get the *at(2) system calls. For example,
aarch64 doesn't have open(2), and expects userspace to use openat(2)
instead.

Change-Id: I87b4ed79790cb8a80844f5544ac1a13fda26c7b5
2013-10-22 16:31:01 -07:00

24 lines
340 B
ArmAsm

/* Generated by gensyscalls.py. Do not edit. */
#include <asm/unistd.h>
.text
.globl linkat
.align 4
.ent linkat
linkat:
.set noreorder
.cpload $t9
li $v0, __NR_linkat
syscall
bnez $a3, 1f
move $a0, $v0
j $ra
nop
1:
la $t9,__set_errno
j $t9
nop
.set reorder
.end linkat