projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/nolibc/arch: mark the _start symbol as weak
[platform/kernel/linux-rpi.git]
/
tools
/
include
/
nolibc
/
arch-riscv.h
diff --git
a/tools/include/nolibc/arch-riscv.h
b/tools/include/nolibc/arch-riscv.h
index
9d5ff78
..
bc10b7b
100644
(file)
--- a/
tools/include/nolibc/arch-riscv.h
+++ b/
tools/include/nolibc/arch-riscv.h
@@
-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"