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

Unified Diff: fusl/src/setjmp/sh-nofpu/setjmp.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/setjmp/sh-nofpu/longjmp.sub ('k') | fusl/src/setjmp/sh-nofpu/setjmp.sub » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/setjmp/sh-nofpu/setjmp.s
diff --git a/fusl/src/setjmp/sh-nofpu/setjmp.s b/fusl/src/setjmp/sh-nofpu/setjmp.s
new file mode 100644
index 0000000000000000000000000000000000000000..41210f92b023c0f5cb030e469b0b3474c72413c8
--- /dev/null
+++ b/fusl/src/setjmp/sh-nofpu/setjmp.s
@@ -0,0 +1,24 @@
+.global ___setjmp
+.hidden ___setjmp
+.global __setjmp
+.global _setjmp
+.global setjmp
+.type __setjmp, @function
+.type _setjmp, @function
+.type setjmp, @function
+___setjmp:
+__setjmp:
+_setjmp:
+setjmp:
+ add #36, r4
+ sts.l pr, @-r4
+ mov.l r15 @-r4
+ mov.l r14, @-r4
+ mov.l r13, @-r4
+ mov.l r12, @-r4
+ mov.l r11, @-r4
+ mov.l r10, @-r4
+ mov.l r9, @-r4
+ mov.l r8, @-r4
+ rts
+ mov #0, r0
« no previous file with comments | « fusl/src/setjmp/sh-nofpu/longjmp.sub ('k') | fusl/src/setjmp/sh-nofpu/setjmp.sub » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698