wip test opt with gp relaxation

This commit is contained in:
R
2024-04-14 06:13:29 +01:00
parent 50672d80b9
commit 4fc4d0c2ee
3 changed files with 33 additions and 22 deletions
+7
View File
@@ -87,6 +87,13 @@ _enter_application_code:
_enter_bootloader:
sh zero, (a3)
// Set up global pointer
.option push
.option norelax
la gp, __global_pointer$
.option pop
li t0, 0x1f
csrw 0xbc0, t0