Skip to content

Commit

Permalink
use march
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed Sep 5, 2024
1 parent 242794f commit aca4b55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test: test_files
test_files: $(PROGS) $(C_PROGS)

%.bin: %.s
riscv64-unknown-elf-gcc -Wl,-Ttext=0x0 -nostdlib -o $@ $<
riscv64-unknown-elf-gcc -march=rv64g -Wl,-Ttext=0x0 -nostdlib -o $@ $<
riscv64-unknown-elf-objcopy -O binary $@ $@

%.s: %.c
Expand Down
Binary file modified tests/fib.bin
Binary file not shown.

0 comments on commit aca4b55

Please sign in to comment.