diff --git a/src/rp2040/boot_stage2/boot_stage2.ld b/src/rp2040/boot_stage2/boot_stage2.ld index f8669ab64..32978a16e 100644 --- a/src/rp2040/boot_stage2/boot_stage2.ld +++ b/src/rp2040/boot_stage2/boot_stage2.ld @@ -7,6 +7,7 @@ MEMORY { SECTIONS { . = ORIGIN(SRAM); .text : { + _start = .; /* make LLVM happy */ *(.entry) *(.text) } >SRAM diff --git a/src/rp2350/boot_stage2/boot_stage2.ld b/src/rp2350/boot_stage2/boot_stage2.ld index 0162414a8..ee1bce466 100644 --- a/src/rp2350/boot_stage2/boot_stage2.ld +++ b/src/rp2350/boot_stage2/boot_stage2.ld @@ -7,6 +7,7 @@ MEMORY { SECTIONS { . = ORIGIN(SRAM); .text : { + _start = .; /* make LLVM happy */ *(.entry) *(.text) } >SRAM