This is gonna be kinda hard, and require 2 passes over the code (especially for ARM), but will be necessary for Assembly Hooks.
As temporary workaround, allow specifying assembly code (at given offset) to be appended as bytes to JIT, then our existing tools will relocate that.