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

Unified Diff: fusl/src/thread/mips/syscall_cp.s

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space Created 4 years, 10 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/thread/arm/atomics.s ('k') | fusl/src/thread/pthread_cancel.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/thread/mips/syscall_cp.s
diff --git a/fusl/src/thread/mips/syscall_cp.s b/fusl/src/thread/mips/syscall_cp.s
index 8f76d40e1ebf2976f4139caaf735f781e098e50a..d284626450f9e2f074f25fca28f89e7baf3b433a 100644
--- a/fusl/src/thread/mips/syscall_cp.s
+++ b/fusl/src/thread/mips/syscall_cp.s
@@ -40,7 +40,14 @@ __cp_end:
nop
__cp_cancel:
+ move $2, $ra
+ bal 1f
addu $sp, $sp, 32
- lw $25, %call16(__cancel)($gp)
+ .gpword .
+ .gpword __cancel
+1: lw $3, ($ra)
+ subu $3, $ra, $3
+ lw $25, 4($ra)
+ addu $25, $25, $3
jr $25
- nop
+ move $ra, $2
« no previous file with comments | « fusl/src/thread/arm/atomics.s ('k') | fusl/src/thread/pthread_cancel.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698