Skip to content

Commit

Permalink
provide slightly meaningless _start symbol for boot_stage2 to make LL…
Browse files Browse the repository at this point in the history
…VM lld happy
  • Loading branch information
kilograham committed Nov 21, 2024
1 parent e17a82d commit b052ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rp2040/boot_stage2/boot_stage2.ld
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ MEMORY {
SECTIONS {
. = ORIGIN(SRAM);
.text : {
_start = .; /* make LLVM happy */
*(.entry)
*(.text)
} >SRAM
Expand Down
1 change: 1 addition & 0 deletions src/rp2350/boot_stage2/boot_stage2.ld
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ MEMORY {
SECTIONS {
. = ORIGIN(SRAM);
.text : {
_start = .; /* make LLVM happy */
*(.entry)
*(.text)
} >SRAM
Expand Down

0 comments on commit b052ea6

Please sign in to comment.