f8fcfbc85a
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
23 lines
340 B
ArmAsm
23 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
|