check first XSPN result value in FW, add gcc_except_table, replace

self-made printf with one from the lib.
This commit is contained in:
2020-12-07 12:55:10 +01:00
parent 1d46ef5fea
commit afb8a677f1
5 changed files with 19 additions and 276 deletions

View File

@ -5,7 +5,6 @@ CXX_SRCS = $(wildcard src/*.cpp)
HEADERS = $(wildcard src/*.h)
CFLAGS = -g -fno-builtin-printf -DUSE_PLIC -I./src
CXXFLAGS = -fno-use-cxa-atexit
LDFLAGS = -Wl,--wrap=printf
LDFLAGS += -g -lstdc++ -fno-use-cxa-atexit -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -mcmodel=medany