aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/csu/mips/crt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/csu/mips/crt.h b/lib/csu/mips/crt.h
index 7da894280f53f..1d967b73ffe4b 100644
--- a/lib/csu/mips/crt.h
+++ b/lib/csu/mips/crt.h
@@ -36,6 +36,7 @@
"1: \n" \
".cpload $ra \n" \
".set reorder \n" \
+ ".local " __STRING(func) "\n" \
"jal " __STRING(func)
#else
#define INIT_CALL_SEQ(func) \
@@ -45,6 +46,7 @@
"1: \n" \
".set reorder \n" \
".cpsetup $ra, $v0, 1b \n" \
+ ".local " __STRING(func) "\n" \
"jal " __STRING(func)
#endif