Sign in
ara-mdk
/
platform
/
bionic
/
a40751185f3a7245f73afb45382c23f71dbbcfc3
/
.
/
libc
/
arch-arm
/
syscalls
/
dup.S
blob: 060d555a5e3a37f6919a986869a68bab3cc9c518 [
file
] [
log
] [
blame
]
/*
autogenerated by gensyscalls.py
*/
#include <asm/unistd.h>
#include <linux/err.h>
#include <machine/asm.h>
ENTRY
(
dup
)
mov ip
,
r7
ldr r7
,
=
__NR_dup
swi
#0
mov r7
,
ip
cmn r0
,
#(MAX_ERRNO + 1)
bxls lr
neg r0
,
r0
b __set_errno
END
(
dup
)