Skip to content

Commit

Permalink
Switch ABI to rv64gc to add compressed instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmarz committed May 31, 2020
1 parent 0ed7eb9 commit af21dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion risc_v/userspace/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CROSS=riscv64-unknown-linux-gnu-
CXX=g++
OBJCOPY=objcopy
CXXFLAGS=-Wall -O3 -ffreestanding -nostartfiles -nostdlib -static -march=rv64g -mabi=lp64d
CXXFLAGS=-Wall -O3 -ffreestanding -nostartfiles -nostdlib -static -march=rv64gc -mabi=lp64d
LINKER_SCRIPT=-T./startlib/linker.lds
INCLUDES=-I./startlib
LIBS=-L./startlib
Expand Down

0 comments on commit af21dc3

Please sign in to comment.