]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix error in PAC/BTI AArch64 build
authorPaul Elliott <paul.elliott@arm.com>
Mon, 15 Dec 2025 13:05:00 +0000 (13:05 +0000)
committerNorbert Pocs <norbertp@openssl.org>
Wed, 17 Dec 2025 12:17:09 +0000 (13:17 +0100)
Clang format removes a space here, which creates a compiler error when
building for PAC/BTI. Fix this and Turn off clang format for this line

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/29399)

crypto/arm_arch.h

index 1cf41ff5b5ad78dbba74a268228a15d542656166..ee7cba05ea7712732e7847c17e06d90751096eb9 100644 (file)
@@ -192,7 +192,9 @@ extern unsigned int OPENSSL_armv8_rsa_neonized;
 #endif
 
 #if GNU_PROPERTY_AARCH64_POINTER_AUTH != 0 || GNU_PROPERTY_AARCH64_BTI != 0
-.pushsection.note.gnu.property, "a";
+/* clang-format off */
+.pushsection .note.gnu.property, "a";
+/* clang-format on */
 .balign 8;
 .long 4;
 .long 0x10;