[arch][m68k] use a jsr in the initial start routine to main
It's non ideal, since there's no relaxation done in the linker so we have to assume the branch target is > 16 bits away and do what the compiler usually does and emit a full 32bit jsr.
This commit is contained in:
@@ -20,7 +20,7 @@ FUNCTION(_start)
|
||||
1:
|
||||
|
||||
movel #_default_stack_top,%sp
|
||||
bsr lk_main
|
||||
jsr lk_main
|
||||
jmp .
|
||||
|
||||
END_FUNCTION(_start)
|
||||
|
||||
Reference in New Issue
Block a user