tools/nolibc/arch: mark the _start symbol as weak
[platform/kernel/linux-rpi.git] / tools / include / nolibc / arch-riscv.h
index 9d5ff78..bc10b7b 100644 (file)
@@ -184,6 +184,7 @@ struct sys_stat_struct {
 
 /* startup code */
 asm(".section .text\n"
+    ".weak _start\n"
     ".global _start\n"
     "_start:\n"
     ".option push\n"