From: Nikola Pajkovsky Date: Thu, 28 May 2026 11:18:41 +0000 (+0200) Subject: armv4cpuid.pl: add missing function alignment X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0ae9d50dd8ba1cebc5ebc699705ae1d7466d64bd;p=thirdparty%2Fopenssl.git armv4cpuid.pl: add missing function alignment Signed-off-by: Nikola Pajkovsky Reviewed-by: Tom Cosgrove Reviewed-by: Saša Nedvědický MergeDate: Wed Jun 10 07:51:19 2026 (Merged from https://github.com/openssl/openssl/pull/31327) --- diff --git a/crypto/armv4cpuid.pl b/crypto/armv4cpuid.pl index 9b6670e66dc..0d2b590ad3b 100644 --- a/crypto/armv4cpuid.pl +++ b/crypto/armv4cpuid.pl @@ -73,6 +73,7 @@ OPENSSL_atomic_add: .global OPENSSL_cleanse .type OPENSSL_cleanse,%function +.align 5 OPENSSL_cleanse: eor ip,ip,ip cmp r1,#7 @@ -112,7 +113,7 @@ OPENSSL_cleanse: .global CRYPTO_memcmp .type CRYPTO_memcmp,%function -.align 4 +.align 5 CRYPTO_memcmp: eor ip,ip,ip cmp r2,#0 @@ -154,6 +155,7 @@ _armv7_neon_probe: .global _armv7_tick .type _armv7_tick,%function +.align 5 _armv7_tick: #ifdef __APPLE__ mrrc p15,0,r0,r1,c14 @ CNTPCT @@ -165,6 +167,7 @@ _armv7_tick: .global _armv8_aes_probe .type _armv8_aes_probe,%function +.align 5 _armv8_aes_probe: #if defined(__thumb2__) && !defined(__APPLE__) .byte 0xb0,0xff,0x00,0x03 @ aese.8 q0,q0 @@ -176,6 +179,7 @@ _armv8_aes_probe: .global _armv8_sha1_probe .type _armv8_sha1_probe,%function +.align 5 _armv8_sha1_probe: #if defined(__thumb2__) && !defined(__APPLE__) .byte 0x00,0xef,0x40,0x0c @ sha1c.32 q0,q0,q0 @@ -187,6 +191,7 @@ _armv8_sha1_probe: .global _armv8_sha256_probe .type _armv8_sha256_probe,%function +.align 5 _armv8_sha256_probe: #if defined(__thumb2__) && !defined(__APPLE__) .byte 0x00,0xff,0x40,0x0c @ sha256h.32 q0,q0,q0 @@ -197,6 +202,7 @@ _armv8_sha256_probe: .size _armv8_sha256_probe,.-_armv8_sha256_probe .global _armv8_pmull_probe .type _armv8_pmull_probe,%function +.align 5 _armv8_pmull_probe: #if defined(__thumb2__) && !defined(__APPLE__) .byte 0xa0,0xef,0x00,0x0e @ vmull.p64 q0,d0,d0 @@ -209,6 +215,7 @@ _armv8_pmull_probe: .global OPENSSL_instrument_bus .type OPENSSL_instrument_bus,%function +.align 5 OPENSSL_instrument_bus: eor r0,r0,r0 #if __ARM_ARCH__>=5 @@ -222,6 +229,7 @@ OPENSSL_instrument_bus: .global OPENSSL_instrument_bus2 .type OPENSSL_instrument_bus2,%function +.align 5 OPENSSL_instrument_bus2: eor r0,r0,r0 #if __ARM_ARCH__>=5