Note that the 'riscv32ima-unknown-none-elf' target is not available by
default in rustc, you need a patched version.
I'm also pretty sure just converting the ELF binary to raw using objdump
messes with stack and heap addresses, but it seems to work fine for now.