Skip to content

Commit 09b1f01

Browse files
authored
Place abort in the .text section
Don't clutter the .init section needlessly.
1 parent 5a31ab7 commit 09b1f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv-rt/asm.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ _start_trap:
133133

134134

135135
/* Make sure there is an abort when linking */
136-
.section .init
136+
.section .text
137137
.globl abort
138138
abort:
139139
j abort

0 commit comments

Comments
 (0)