[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:
Travis Geiselbrecht
2021-06-11 21:34:34 -07:00
parent bd12570f3c
commit 4b508cecc9

View File

@@ -20,7 +20,7 @@ FUNCTION(_start)
1:
movel #_default_stack_top,%sp
bsr lk_main
jsr lk_main
jmp .
END_FUNCTION(_start)