diff --git a/Makefile b/Makefile index a62ac58a8..b9a81028f 100644 --- a/Makefile +++ b/Makefile @@ -283,7 +283,7 @@ endif # --cref: add cross reference to map file # -lc : tells the linker to tie in newlib # -lgcc : tells the linker to tie in newlib -LDFLAGS=-nostartfiles -Map=$(BINDIR)/$(BOOT_NAME).map --cref -static +LDFLAGS=-Map=$(BINDIR)/$(BOOT_NAME).map --cref -static LDFLAGS+=-T $(link_script) $(GC_SECTIONS) -Ttext $(LINK_ADDR) ifneq ($(DATA_SECTION_ADDR),)