Skip to content

Commit 3047813

Browse files
committed
Document .weak usage.
1 parent 9275ca9 commit 3047813

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

riscv-rt/asm.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ _abs_start:
125125
*/
126126
.section .trap, "ax"
127127
.global _start_trap
128+
/* Make it .weak so PAC/HAL can provide their own if needed. */
128129
.weak _start_trap
129130

130131
_start_trap:

0 commit comments

Comments
 (0)