Skip to content

arch/aarch64: replace offset__of with a safe macro #339

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 1 commit into from
Jun 3, 2025

Conversation

slp
Copy link
Collaborator

@slp slp commented Jun 3, 2025

We were using an unsafe macro with undefined behavior and, with the latest compiler, it generates broken code. Replace it with a cleaner alternative.

We were using an unsafe macro with undefined behavior and, with
the latest compiler, it generates broken code. Replace it with
a cleaner alternative.

Signed-off-by: Sergio Lopez <[email protected]>
@slp slp merged commit 6a3b278 into containers:main Jun 3, 2025
6 checks passed
@slp slp deleted the aarch64-fix-regs-offset branch June 3, 2025 15:59
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.

2 participants