aboutsummaryrefslogtreecommitdiff
path: root/estorm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'estorm/Makefile')
-rw-r--r--estorm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/estorm/Makefile b/estorm/Makefile
index 9b3c7ab..19936c9 100644
--- a/estorm/Makefile
+++ b/estorm/Makefile
@@ -9,7 +9,7 @@ TOOL_PREFIX=arm-elf-
all:
$(TOOL_PREFIX)gcc -W -Wall -O3 -mcpu=arm7tdmi -mapcs -mthumb-interwork -c -o boot.o boot.c
$(TOOL_PREFIX)as --warn -mcpu=arm7tdmi -mapcs-32 -EL -mthumb-interwork -o crt0.o crt0.s
- $(TOOL_PREFIX)ld -T estorm.lds --gc-sections crt0.o boot.o -o estorm
+ $(TOOL_PREFIX)ld -N -O3 -T estorm.lds crt0.o boot.o -o estorm
$(TOOL_PREFIX)objcopy -O binary estorm estorm.bin
$(TOOL_PREFIX)objdump --disassemble-all -b binary -m arm7tdmi estorm.bin > estorm.asm