Skip to content
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

zipl: Update inline assembly for GCC 15 #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sharkcz
Copy link
Contributor

@sharkcz sharkcz commented Jan 16, 2025

Properly escape % (as %%) for extended assembly in stage3.c in start_kernel().

Fixes: #179

Properly escape % (as %%) for extended assembly in stage3.c in start_kernel().

Fixes: ibm-s390-linux#179
Signed-off-by: Dan Horák <dan@danny.cz>
@sharkcz
Copy link
Contributor Author

sharkcz commented Jan 16, 2025

FWIW disassembly shows the expected instructions when built with both GCC 14 and GCC 15 (I mean when using the new code). I have also verified the old code produces the same instructions with GCC 14 as the new one from this MR.

@keszybz
Copy link

keszybz commented Jan 21, 2025

Copy link
Contributor

@stefan-haberland stefan-haberland left a comment

Choose a reason for hiding this comment

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

Thanks for the patch.
Looks good for me. Tested on F41 LPAR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zipl stage3.c won't compile with GCC 15
5 participants