2013-10-16 21:27:59 +00:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 18:31:05 +00:00
|
|
|
#include <private/bionic_asm.h>
|
2009-03-04 03:28:35 +00:00
|
|
|
|
2011-02-17 18:47:44 +00:00
|
|
|
ENTRY(getsockopt)
|
2009-03-04 03:28:35 +00:00
|
|
|
mov ip, sp
|
|
|
|
stmfd sp!, {r4, r5, r6, r7}
|
2013-12-03 01:44:53 +00:00
|
|
|
.cfi_def_cfa_offset 16
|
|
|
|
.cfi_rel_offset r4, 0
|
|
|
|
.cfi_rel_offset r5, 4
|
|
|
|
.cfi_rel_offset r6, 8
|
|
|
|
.cfi_rel_offset r7, 12
|
2009-03-04 03:28:35 +00:00
|
|
|
ldmfd ip, {r4, r5, r6}
|
|
|
|
ldr r7, =__NR_getsockopt
|
|
|
|
swi #0
|
|
|
|
ldmfd sp!, {r4, r5, r6, r7}
|
2013-12-03 01:44:53 +00:00
|
|
|
.cfi_def_cfa_offset 0
|
2013-03-12 21:57:30 +00:00
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
2014-09-08 22:25:01 +00:00
|
|
|
b __set_errno_internal
|
2011-02-17 18:47:44 +00:00
|
|
|
END(getsockopt)
|