]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Android: Enable 16 KB ELF alignment for `arm64-v8a` and `x86_64` platforms
authorvkryl <6242627+vkryl@users.noreply.github.com>
Fri, 15 Aug 2025 12:01:51 +0000 (15:01 +0300)
committerAlexandr Nedvedicky <sashan@openssl.org>
Fri, 22 Aug 2025 07:16:09 +0000 (09:16 +0200)
CLA: trivial

Reviewed-by: Hugo Landau <hlandau@devever.net>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28277)

Configurations/15-android.conf

index 1de6b7a91571d7ec22f8549effc5867819663164..26d9d6508f582808fe3a91f924322e280a57b929 100644 (file)
@@ -232,6 +232,7 @@ my %targets = (
         bn_ops           => add("RC4_CHAR"),
         asm_arch         => 'aarch64',
         perlasm_scheme   => "linux64",
+        shared_ldflag    => add("-Wl,-z,max-page-size=16384"),
     },
 
     "android-mips" => {
@@ -269,6 +270,7 @@ my %targets = (
         bn_ops           => add("RC4_INT"),
         asm_arch         => 'x86_64',
         perlasm_scheme   => "elf",
+        shared_ldflag    => add("-Wl,-z,max-page-size=16384"),
     },
 
     "android-riscv64" => {