This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push: new a556bbf arm/rp2040: Fix LDFLAGS for boot stage2 a556bbf is described below commit a556bbf3a4e993273224c47d7d94a9d7283a657c Author: Yuichi Nakamura <y.512.nakam...@gmail.com> AuthorDate: Thu Feb 25 23:12:02 2021 +0900 arm/rp2040: Fix LDFLAGS for boot stage2 --- arch/arm/src/rp2040/boot2/Make.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/rp2040/boot2/Make.defs b/arch/arm/src/rp2040/boot2/Make.defs index 0ab127f..eb5a207 100644 --- a/arch/arm/src/rp2040/boot2/Make.defs +++ b/arch/arm/src/rp2040/boot2/Make.defs @@ -46,6 +46,6 @@ $(BOOT_STAGE2).bin: %.bin: %.elf $(OBJCOPY) -Obinary $< $@ $(BOOT_STAGE2).elf: $(BOOT2SRC) - $(CC) $(LDFLAGS) $(BOOT2CFLAGS) -o $@ $< + $(CC) -nostartfiles -nodefaultlibs $(ARCHSCRIPT) $(BOOT2CFLAGS) -o $@ $< EXTRADELFILE = $(BOOT_STAGE2).*