We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36aab16 commit 69891dcCopy full SHA for 69891dc
tools/include/nolibc/arch-mips.h
@@ -183,15 +183,11 @@ void __start(void);
183
void __attribute__((weak, noreturn)) __nolibc_entrypoint __no_stack_protector __start(void)
184
{
185
__asm__ volatile (
186
- ".set push\n"
187
- ".set noreorder\n"
188
"move $a0, $sp\n" /* save stack pointer to $a0, as arg1 of _start_c */
189
"addiu $sp, $sp, -16\n" /* the callee expects to save a0..a3 there */
190
"lui $t9, %hi(_start_c)\n" /* ABI requires current function address in $t9 */
191
"ori $t9, %lo(_start_c)\n"
192
"jalr $t9\n" /* transfer to c runtime */
193
- " nop\n" /* delayed slot */
194
- ".set pop\n"
195
);
196
__nolibc_entrypoint_epilogue();
197
}
0 commit comments