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

Unified Diff: fusl/src/setjmp/i386/longjmp.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/arm/setjmp.s ('k') | fusl/src/setjmp/i386/setjmp.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/setjmp/i386/longjmp.s
diff --git a/fusl/src/setjmp/i386/longjmp.s b/fusl/src/setjmp/i386/longjmp.s
new file mode 100644
index 0000000000000000000000000000000000000000..772d28ddb283e8ee983e75ec6b167ef0f80979d7
--- /dev/null
+++ b/fusl/src/setjmp/i386/longjmp.s
@@ -0,0 +1,20 @@
+.global _longjmp
+.global longjmp
+.type _longjmp,@function
+.type longjmp,@function
+_longjmp:
+longjmp:
+ mov 4(%esp),%edx
+ mov 8(%esp),%eax
+ test %eax,%eax
+ jnz 1f
+ inc %eax
+1:
+ mov (%edx),%ebx
+ mov 4(%edx),%esi
+ mov 8(%edx),%edi
+ mov 12(%edx),%ebp
+ mov 16(%edx),%ecx
+ mov %ecx,%esp
+ mov 20(%edx),%ecx
+ jmp *%ecx
« no previous file with comments | « fusl/src/setjmp/arm/setjmp.s ('k') | fusl/src/setjmp/i386/setjmp.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698