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

Unified Diff: fusl/crt/sh/crti.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/crt/rcrt1.c ('k') | fusl/crt/sh/crtn.s » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/crt/sh/crti.s
diff --git a/fusl/crt/sh/crti.s b/fusl/crt/sh/crti.s
new file mode 100644
index 0000000000000000000000000000000000000000..d99bfd5c82dc3e1900891139c1935a9ea46a48ea
--- /dev/null
+++ b/fusl/crt/sh/crti.s
@@ -0,0 +1,21 @@
+.section .init
+.global _init
+.type _init, @function
+_init:
+ add #-4, r15
+ mov.l r12, @-r15
+ mov.l r14, @-r15
+ sts.l pr, @-r15
+ mov r15, r14
+ nop
+
+.section .fini
+.global _fini
+.type _fini, @function
+_fini:
+ add #-4, r15
+ mov.l r12, @-r15
+ mov.l r14, @-r15
+ sts.l pr, @-r15
+ mov r15, r14
+ nop
« no previous file with comments | « fusl/crt/rcrt1.c ('k') | fusl/crt/sh/crtn.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698