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

Replace uses of endbr64 with _CET_ENDBR from cet.h #990

Merged
merged 5 commits into from
Feb 12, 2024

Conversation

busterb
Copy link
Contributor

@busterb busterb commented Jan 9, 2024

cet.h is needed for other platforms to emit the relevant .gnu.properties sections that are necessary for them to enable IBT. It also avoids issues with older toolchains on macOS that explode on encountering endbr64.

This also fixes an data alignment issue that occur when building on Windows where .section directives get a fixed 4 or 8 byte alignment, but then the section alignment is overridden on the next line, causing an assembler error.

@busterb
Copy link
Contributor Author

busterb commented Jan 9, 2024

Failed checks here are due to github having a moment https://www.githubstatus.com/

Avoid conflicts where alignment is specified later in the underlying
assembly.
it is autogenerated, so don't keep it in tree
Using FC on Windows through a WSL mount assumes all filenames are UPPERCASE.
So make the filenames UPPERCASE in the first place.
@busterb busterb merged commit 4e25dc4 into libressl:master Feb 12, 2024
35 checks passed
@botovq
Copy link
Contributor

botovq commented Feb 12, 2024 via email

@busterb busterb changed the title Replace uses of endbr64 with _CET_ENDBR from cet.h (test patch) Replace uses of endbr64 with _CET_ENDBR from cet.h Feb 19, 2024
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