Always compile for single-issue Patmos.

This commit is contained in:
Wolfgang Puffitsch
2014-05-02 15:56:41 +02:00
parent d265e9f7e8
commit 7203454960
2 changed files with 4 additions and 4 deletions

View File

@@ -14,10 +14,10 @@ RTEMS_CPU_MODEL=pasim
CPU_CFLAGS = -msoft-float
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -Xllc -trap-func=abort_trap
CFLAGS_OPTIMIZE_V = -O2 -g -Xllc -trap-func=abort_trap -mpatmos-disable-vliw
# debug flags: disable optimizations
# We need the optimized register allocator here, the fast register allocator at -O0 wants to introduce spill code in naked functions.
CFLAGS_DEBUG_V = -O0 -Xllc -optimize-regalloc
CFLAGS_DEBUG_V = -O0 -Xllc -optimize-regalloc -mpatmos-disable-vliw
LINK_LIBS += $(PROJECT_RELEASE)/lib/start.o $(PROJECT_RELEASE)/lib/libsyms.ll -l=c -l=rtemscpu -l=rtemsbsp -nostartfiles -Xgold -Map -Xgold map.map -Xgold --script=$(PROJECT_RELEASE)/lib/linkcmds

View File

@@ -14,10 +14,10 @@ RTEMS_CPU_MODEL=tcrest
CPU_CFLAGS = -msoft-float
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -Xllc -trap-func=abort_trap
CFLAGS_OPTIMIZE_V = -O2 -g -Xllc -trap-func=abort_trap -mpatmos-disable-vliw
# debug flags: disable optimizations
# We need the optimized register allocator here, the fast register allocator at -O0 wants to introduce spill code in naked functions.
CFLAGS_DEBUG_V = -O0 -Xllc -optimize-regalloc
CFLAGS_DEBUG_V = -O0 -Xllc -optimize-regalloc -mpatmos-disable-vliw
LINK_LIBS += $(PROJECT_RELEASE)/lib/start.o $(PROJECT_RELEASE)/lib/libsyms.ll -l=c -l=rtemscpu -l=rtemsbsp -nostartfiles -Xgold -Map -Xgold map.map -Xgold --script=$(PROJECT_RELEASE)/lib/linkcmds