Mark the function called by the MIPS .init/.fini sequence with .local.
As with r328939 we need to mark local symbols as such. Without this the assembly parser treats the symbols as global and created relocations against these private symbols. MFC with: r339738 Sponsored by: DARPA, AFRL
This commit is contained in:
parent
fbca55a51c
commit
e1fa5626cf
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user