Skip to content

Commit

Permalink
am: fix riscv32-nemu's mabi
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonyanyusong committed Aug 29, 2023
1 parent 6c461b5 commit 8878f1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/riscv32-nemu.mk
@@ -1,7 +1,7 @@
include $(AM_HOME)/scripts/isa/riscv.mk
include $(AM_HOME)/scripts/platform/nemu.mk
CFLAGS += -DISA_H=\"riscv/riscv.h\"
COMMON_CFLAGS += -march=rv32im_zicsr -mabi=ilp32e # overwrite
COMMON_CFLAGS += -march=rv32im_zicsr -mabi=ilp32 # overwrite
LDFLAGS += -melf32lriscv # overwrite

AM_SRCS += riscv/nemu/start.S \
Expand Down

0 comments on commit 8878f1f

Please sign in to comment.