Fix oor branch via linking
@@ -47,4 +47,3 @@ jobs:
if: always()
steps:
- run: jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
-
@@ -57,7 +57,7 @@ SECTIONS
. = ALIGN(4);
*(.trap);
*(.trap.rust);
+ *(.text.abort);
*(.text .text.*);
} > REGION_TEXT
@@ -92,11 +92,7 @@ _abs_start:
"csrr t2, mhartid",
"lui t0, %hi(_max_hart_id)
add t0, t0, %lo(_max_hart_id)
- // bgtu t2, t0, abort
- bleu t2, t0, not_abort
- la t0, abort
- jr t0
- not_abort:
+ bgtu t2, t0, abort
// Allocate stacks
la sp, _stack_start