Skip to content

Comments

x86: embed .note.gnu.property for Intel CET in assembly files#16

Closed
ueno wants to merge 1 commit intosmuellerDD:masterfrom
ueno:wip/intel-cet
Closed

x86: embed .note.gnu.property for Intel CET in assembly files#16
ueno wants to merge 1 commit intosmuellerDD:masterfrom
ueno:wip/intel-cet

Conversation

@ueno
Copy link
Contributor

@ueno ueno commented Feb 12, 2025

Instead of generating the note section with a linker option, this embeds it in each .S file through a preprocessor macro. The main motivation behind this is to simplify the build process when a shared library is statically linking to leancrypto. As a bonus, this mechanism could be used to support PACBTI on AArch64 in a future extension.

@ueno ueno force-pushed the wip/intel-cet branch 3 times, most recently from e91dd03 to e210d06 Compare February 13, 2025 00:32
Instead of generating the note section with a linker option, this
embeds it in each .S file through a preprocessor macro. The main
motivation behind this is to simplify the build process when a shared
library is statically linking to leancrypto. As a bonus, this
mechanism could be used to support PACBTI on AArch64 in a future
extension.

Signed-off-by: Daiki Ueno <dueno@redhat.com>
@smuellerDD
Copy link
Owner

smuellerDD commented Feb 13, 2025 via email

@smuellerDD
Copy link
Owner

Applied, thanks

@smuellerDD smuellerDD closed this Feb 13, 2025
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