Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153717892
D21697.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
789 B
Referenced Files
None
Subscribers
None
D21697.diff
View Options
Index: head/lib/csu/mips/crt.h
===================================================================
--- head/lib/csu/mips/crt.h
+++ head/lib/csu/mips/crt.h
@@ -34,10 +34,14 @@
"bal 1f \n" \
"nop \n" \
"1: \n" \
- ".cpload $ra \n" \
+ ".cpload $ra \n" \
+ "addu $sp, $sp, -8 \n" \
".set reorder \n" \
+ ".cprestore 4 \n" \
".local " __STRING(func) "\n" \
- "jal " __STRING(func)
+ "jal " __STRING(func) "\n" \
+ "nop \n" \
+ "addu $sp, $sp, 8 \n"
#else
#define INIT_CALL_SEQ(func) \
".set noreorder \n" \
@@ -48,6 +52,7 @@
".cpsetup $ra, $v0, 1b \n" \
".local " __STRING(func) "\n" \
"jal " __STRING(func)
+ "nop \n" \
#endif
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 4:37 AM (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32060367
Default Alt Text
D21697.diff (789 B)
Attached To
Mode
D21697: Fix MIPS CSU compilation w/ LLVM
Attached
Detach File
Event Timeline
Log In to Comment