From 90bfb532a728da163c3be1e3b65650886340e420 Mon Sep 17 00:00:00 2001 From: Graham Sanderson Date: Thu, 21 Nov 2024 10:10:12 -0600 Subject: [PATCH] provide slightly meaningless _start symbol for boot_stage2 to make LLVM lld happy (#2080) --- src/rp2040/boot_stage2/boot_stage2.ld | 1 + src/rp2350/boot_stage2/boot_stage2.ld | 1 + 2 files changed, 2 insertions(+) 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