Skip to content

Conversation

@bjorn3
Copy link
Contributor

@bjorn3 bjorn3 commented Sep 23, 2025

The relative address accidentally got zero-extended rather than sign-extended, causing relocation targets before the adrp instruction to be 4GB off.

The relative address accidentally got zero-extended rather than
sign-extended, causing relocation targets before the adrp instruction to
be 4GB off.
@bjorn3 bjorn3 requested a review from a team as a code owner September 23, 2025 08:35
@bjorn3 bjorn3 requested review from fitzgen and removed request for a team September 23, 2025 08:35
@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Sep 23, 2025
Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good; thanks for the fix!

@cfallin cfallin added this pull request to the merge queue Sep 23, 2025
Merged via the queue into bytecodealliance:main with commit f7e2ff0 Sep 23, 2025
44 checks passed
@bjorn3 bjorn3 deleted the cranelift_jit_fix_adrp_reloc branch September 23, 2025 18:25
bongjunj pushed a commit to prosyslab/wasmtime that referenced this pull request Oct 20, 2025
The relative address accidentally got zero-extended rather than
sign-extended, causing relocation targets before the adrp instruction to
be 4GB off.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants