From 02f0984a6528f20988e597781ebcc015fb0151e8 Mon Sep 17 00:00:00 2001 From: Vilas Bhat Date: Mon, 6 May 2024 17:34:53 +0000 Subject: [PATCH] 16k: Enable 16k ELF alignment on all mainline modules Test: banchan get_build_var TARGET_MAX_PAGE_SIZE_SUPPORTED Bug: 321754477 Change-Id: Ia356d6edbf2f451b17f1780d11607ceb9a4adff4 --- target/product/module_arm64.mk | 1 + target/product/module_arm64only.mk | 1 + target/product/module_x86_64.mk | 1 + target/product/module_x86_64only.mk | 1 + 4 files changed, 4 insertions(+) diff --git a/target/product/module_arm64.mk b/target/product/module_arm64.mk index 634a03dca1..d6487ca56b 100644 --- a/target/product/module_arm64.mk +++ b/target/product/module_arm64.mk @@ -21,3 +21,4 @@ PRODUCT_NAME := module_arm64 PRODUCT_DEVICE := module_arm64 PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true +PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384 diff --git a/target/product/module_arm64only.mk b/target/product/module_arm64only.mk index 822ac247c0..137701a441 100644 --- a/target/product/module_arm64only.mk +++ b/target/product/module_arm64only.mk @@ -21,3 +21,4 @@ PRODUCT_NAME := module_arm64only PRODUCT_DEVICE := module_arm64only PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true +PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384 diff --git a/target/product/module_x86_64.mk b/target/product/module_x86_64.mk index 9bd0264f36..e182bf6578 100644 --- a/target/product/module_x86_64.mk +++ b/target/product/module_x86_64.mk @@ -21,3 +21,4 @@ PRODUCT_NAME := module_x86_64 PRODUCT_DEVICE := module_x86_64 PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true +PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384 diff --git a/target/product/module_x86_64only.mk b/target/product/module_x86_64only.mk index 056fb9097c..fa4a04d7e8 100644 --- a/target/product/module_x86_64only.mk +++ b/target/product/module_x86_64only.mk @@ -21,3 +21,4 @@ PRODUCT_NAME := module_x86_64only PRODUCT_DEVICE := module_x86_64only PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true +PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384