Skip to content

Commit 90bfb53

Browse files
authored
provide slightly meaningless _start symbol for boot_stage2 to make LLVM lld happy (#2080)
1 parent 31c1be5 commit 90bfb53

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/rp2040/boot_stage2/boot_stage2.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ MEMORY {
77
SECTIONS {
88
. = ORIGIN(SRAM);
99
.text : {
10+
_start = .; /* make LLVM happy */
1011
*(.entry)
1112
*(.text)
1213
} >SRAM

src/rp2350/boot_stage2/boot_stage2.ld

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ MEMORY {
77
SECTIONS {
88
. = ORIGIN(SRAM);
99
.text : {
10+
_start = .; /* make LLVM happy */
1011
*(.entry)
1112
*(.text)
1213
} >SRAM

0 commit comments

Comments
 (0)