cvw/tests/riscv-coremark/transferobjump.sh

9 lines
365 B
Bash
Executable File

#!/usr/bin/env bash
./build-coremark.sh
riscv64-unknown-elf-objdump -D coremark.bare.riscv > coremarkcodemod.bare.riscv.objdump
cp coremarkcodemod.bare.riscv.objdump ~/riscv-wally/imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark/.
pushd ~/riscv-wally/imperas-riscv-tests/riscv-ovpsim-plus/examples/CoreMark
./exe2memfile.pl coremarkcodemod.bare.riscv
popd