Skip to content
New issue

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

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

Already on GitHub? # to your account

Either support or explicitly reject the x32 abi for x86_64. #8694

Open
bjorn3 opened this issue May 26, 2024 · 0 comments
Open

Either support or explicitly reject the x32 abi for x86_64. #8694

bjorn3 opened this issue May 26, 2024 · 0 comments

Comments

@bjorn3
Copy link
Contributor

bjorn3 commented May 26, 2024

Feature

The x32 abi uses 32bit pointers rather than 64bit pointers. Currently Cranelift accepts x86_64-unknown-linux-gnux32 as target but treats it as x86_64-unknown-linux including usage of 64bit pointers. Cranelift should either implement actual x32 support or reject building a TargetIsa for it.

Benefit

Avoid silent miscompilation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant