1.1 --- a/lib/start.S Thu Oct 25 21:19:01 2018 +0200
1.2 +++ b/lib/start.S Fri Oct 26 19:05:41 2018 +0200
1.3 @@ -71,13 +71,8 @@
1.4 lui $gp, %hi(_GLOBAL_OFFSET_TABLE_)
1.5 ori $gp, $gp, %lo(_GLOBAL_OFFSET_TABLE_)
1.6
1.7 - /*
1.8 - Jump to the main program. Since the boot code is separate from the
1.9 - other code, the address cannot be obtained via the GOT.
1.10 - ("relocation truncated to fit: R_MIPS_PC16 against `main'")
1.11 - */
1.12 + /* Jump to the main program. */
1.13
1.14 - lui $t9, %hi(main)
1.15 - ori $t9, $t9, %lo(main)
1.16 + la $t9, main
1.17 jr $t9
1.18 nop