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

Side by Side Diff: fusl/src/internal/powerpc/syscall.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/internal/or1k/syscall.s ('k') | fusl/src/internal/procfdname.c » ('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 .global __syscall
2 .hidden __syscall
3 .type __syscall,@function
4 __syscall:
5 mr 0, 3 # Save the system call number
6 mr 3, 4 # Shift the arguments: arg1
7 mr 4, 5 # arg2
8 mr 5, 6 # arg3
9 mr 6, 7 # arg4
10 mr 7, 8 # arg5
11 mr 8, 9 # arg6
12 sc
13 bnslr+ # return if not summary overflow
14 #else error:
15 # return negated value.
16 neg 3, 3
17 blr
18 .end __syscall
19 .size __syscall, .-__syscall
OLDNEW
« no previous file with comments | « fusl/src/internal/or1k/syscall.s ('k') | fusl/src/internal/procfdname.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698