Skip to main content

link_elf

Function link_elf 

Source
pub fn link_elf(elf_data: &[u8]) -> Result<Image, TranspileError>
Expand description

Link an RV ELF into a PVM2 [Image]. [Image::code] holds the raw RV+C+custom-0 bytes, mapped read-only at CODE_BASE by the runtime.