2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 19:31:05 +01:00
|
|
|
#include <private/bionic_asm.h>
|
2010-09-27 17:33:08 +02:00
|
|
|
|
2011-02-17 19:47:44 +01:00
|
|
|
ENTRY(pipe2)
|
2013-01-16 14:02:50 +01:00
|
|
|
mov ip, r7
|
2016-04-28 03:31:02 +02:00
|
|
|
.cfi_register r7, ip
|
2010-09-27 17:33:08 +02:00
|
|
|
ldr r7, =__NR_pipe2
|
|
|
|
swi #0
|
2013-01-16 14:02:50 +01:00
|
|
|
mov r7, ip
|
2016-04-28 03:31:02 +02:00
|
|
|
.cfi_restore r7
|
2013-03-12 22:57:30 +01:00
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
2014-09-09 00:25:01 +02:00
|
|
|
b __set_errno_internal
|
2011-02-17 19:47:44 +01:00
|
|
|
END(pipe2)
|