Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: fusl/src/thread/arm/clone.s

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/src/thread/arm/__unmapself.s ('k') | fusl/src/thread/arm/syscall_cp.s » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 .syntax unified
2 .text
3 .global __clone
4 .type __clone,%function
5 __clone:
6 stmfd sp!,{r4,r5,r6,r7}
7 mov r7,#120
8 mov r6,r3
9 mov r5,r0
10 mov r0,r2
11 and r1,r1,#-16
12 ldr r2,[sp,#16]
13 ldr r3,[sp,#20]
14 ldr r4,[sp,#24]
15 svc 0
16 tst r0,r0
17 beq 1f
18 ldmfd sp!,{r4,r5,r6,r7}
19 bx lr
20
21 1: mov r0,r6
22 tst r5,#1
23 bne 1f
24 mov lr,pc
25 mov pc,r5
26 2: mov r7,#1
27 svc 0
28
29 1: mov lr,pc
30 bx r5
31 b 2b
OLDNEW
« no previous file with comments | « fusl/src/thread/arm/__unmapself.s ('k') | fusl/src/thread/arm/syscall_cp.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698