Browse Source

Document .weak usage.

Karol Harasim 4 years ago
parent
commit
3047813439
1 changed files with 1 additions and 0 deletions
  1. 1 0
      riscv-rt/asm.S

+ 1 - 0
riscv-rt/asm.S

@@ -125,6 +125,7 @@ _abs_start:
 */
 .section .trap, "ax"
 .global _start_trap
+/* Make it .weak so PAC/HAL can provide their own if needed. */
 .weak _start_trap
 
 _start_trap: