minimal_rt

Module reloc

Source
Expand description

Code to apply relocations in an environment without a runtime.

Do not reach out to global variables or function pointers (and the Rust formatting facilities in particular or panic processing) from this code as they generate relocation records.

Functions§

  • Apply relocations to the image mapped at mapped_addr so that it can be run at vaddr, using the _DYNAMIC section at dynamic_addr.