Force linker to treat "_start" as undefined, so it pulls it in from src.a.
This commit is contained in:
parent
9b6f648efb
commit
ba2792a70b
|
@ -45,7 +45,7 @@ CFLAGS_THUMB ?= -mthumb -mcallee-super-interworking
|
|||
|
||||
# Linker flags
|
||||
LINKERSCRIPT ?= $(MC1322X)/mc1322x.lds
|
||||
LDFLAGS ?= -T $(LINKERSCRIPT) -nostartfiles -static -export-dynamic -Wl,-Map=$(@:.elf=.map)
|
||||
LDFLAGS ?= -T $(LINKERSCRIPT) -nostartfiles -static -export-dynamic -u_start -Wl,-Map=$(@:.elf=.map)
|
||||
|
||||
# Assembler flags
|
||||
AFLAGS ?= -Wa,-gstabs $(CFLAGS)
|
||||
|
|
Loading…
Reference in a new issue