aboutsummaryrefslogtreecommitdiff
path: root/lib/csu/mips/crt.h
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2018-11-23 16:33:03 +0000
committerAndrew Turner <andrew@FreeBSD.org>2018-11-23 16:33:03 +0000
commite1fa5626cfbb6559a53ee633f8bc9c6fa0c44d18 (patch)
tree0e4d52454a76d1518109592a4e61d01db3e2ce71 /lib/csu/mips/crt.h
parentfbca55a51c16add5c58660af24e8ab419d1d4420 (diff)
Notes
Diffstat (limited to 'lib/csu/mips/crt.h')
-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