Hi! I'm trying to use cranelift-jit
to do some basic JIT compilation on aarch64, but it doesn't support Arm64Call
relocations.
It looked pretty simple, so I read some ARM docs and did this: https://github.com/Monadic-Cat/wasmtime/commit/ad36df54951d562c6a0e2c59d37c85bd7d3c7b6b
It appears to work now, so should I open a PR?
@Monadic Cat indeed, we'd be happy to take a PR for this, thanks!
quick drive-by pre-review comment: it'd probably be good to assert that the relative offset is in range rather than silently truncating the upper bits
Good idea. I'll add that. :D
Monadic Cat has marked this topic as resolved.
Last updated: Nov 22 2024 at 16:03 UTC