Skip to content

Move to unconditional absolute function pointer #4389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 30, 2022

Conversation

kateinoigakukun
Copy link
Member

No description provided.

On some Harvard architectures like WebAssembly that allow sliding code
and data address space offsets independently, it's impossible to make
direct relative reference to code from data because the relative offset
between them is not representable.
Use absolute function references instead of relative ones on such targets.
@kateinoigakukun kateinoigakukun force-pushed the katei/move-to-unconditional-absfuncptr branch from 92eae58 to 72c9e34 Compare March 30, 2022 04:53
@kateinoigakukun kateinoigakukun marked this pull request as ready for review March 30, 2022 10:05
@kateinoigakukun kateinoigakukun merged commit d5463cf into swiftwasm Mar 30, 2022
@kateinoigakukun kateinoigakukun deleted the katei/move-to-unconditional-absfuncptr branch March 30, 2022 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant