mirror of
https://github.com/t-crest/rtems.git
synced 2025-11-16 04:24:46 +00:00
Always compile for single-issue Patmos.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user