Commit e56ae3c4 authored by Angelo Dureghello's avatar Angelo Dureghello
Browse files

m68k: use longword-based jumps



Increasing of binary size requires longword-based jumps.
Signed-off-by: Angelo Dureghello's avatarAngelo Durgehello <angelo.dureghello@timesys.com>
parent 7d2a0859
......@@ -133,7 +133,8 @@ _start:
* then (and always) gd struct space will be reserved
*/
move.l %sp, -(%sp)
bsr board_init_f_alloc_reserve
move.l #board_init_f_alloc_reserve, %a1
jsr (%a1)
/* update stack and frame-pointers */
move.l %d0, %sp
......@@ -141,14 +142,17 @@ _start:
/* initialize reserved area */
move.l %d0, -(%sp)
bsr board_init_f_init_reserve
move.l #board_init_f_init_reserve, %a1
jsr (%a1)
/* run low-level CPU init code (from flash) */
bsr cpu_init_f
move.l #cpu_init_f, %a1
jsr (%a1)
/* run low-level board init code (from flash) */
clr.l %sp@-
bsr board_init_f
move.l #board_init_f, %a1
jsr (%a1)
/* board_init_f() does not return */
......@@ -244,7 +248,8 @@ _fault:
_exc_handler:
SAVE_ALL
movel %sp,%sp@-
bsr exc_handler
move.l #exc_handler, %a1
jsr (%a1)
addql #4,%sp
RESTORE_ALL
......@@ -252,7 +257,8 @@ _exc_handler:
_int_handler:
SAVE_ALL
movel %sp,%sp@-
bsr int_handler
move.l #int_handler, %a1
jsr (%a1)
addql #4,%sp
RESTORE_ALL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment