mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Attempt to enable RV32 C extension. c.lw and c.sw are definitely broken somehow wrt MMIO memory.
Examples built using C extensions, many fail in strange ways
This commit is contained in:
parent
652094c289
commit
adec69e1d7
17 changed files with 132 additions and 76 deletions
|
|
@ -3,7 +3,7 @@ OPT ?= -Os
|
|||
CFLAGS+=-I${TOPDIR}/common -I${TOPDIR}/apps/common
|
||||
CFLAGS+=${OPT} -fno-stack-protector -fno-builtin-memcpy -fno-builtin
|
||||
CFLAGS+=-static-libgcc -fdata-sections -ffunction-sections
|
||||
CFLAGS+=-g -march=rv32im -mabi=ilp32 -static
|
||||
CFLAGS+=-g -march=rv32imac -mabi=ilp32 -static
|
||||
LDFLAGS:= -T ${TOPDIR}/apps/common/linker.ld -nostdlib -Wl,--gc-sections
|
||||
LIBS:= -lgcc # needed for softfp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue