bc9f9f25bf
This fixes the build after the -Bsymbolic change. Bug: 16853291 Change-Id: I989c9fec3c32e0289ea257a3bd2b7fd2709b6ce2
29 lines
568 B
ArmAsm
29 lines
568 B
ArmAsm
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
#include <private/bionic_asm.h>
|
|
|
|
.hidden __set_errno
|
|
|
|
ENTRY(__socket)
|
|
pushl %ebx
|
|
.cfi_def_cfa_offset 8
|
|
.cfi_rel_offset ebx, 0
|
|
pushl %ecx
|
|
.cfi_adjust_cfa_offset 4
|
|
.cfi_rel_offset ecx, 0
|
|
mov $1, %ebx
|
|
mov %esp, %ecx
|
|
addl $12, %ecx
|
|
movl $__NR_socketcall, %eax
|
|
int $0x80
|
|
cmpl $-MAX_ERRNO, %eax
|
|
jb 1f
|
|
negl %eax
|
|
pushl %eax
|
|
call __set_errno
|
|
addl $4, %esp
|
|
1:
|
|
popl %ecx
|
|
popl %ebx
|
|
ret
|
|
END(__socket)
|