16k: Define PRODUCT_MAX_PAGE_SIZE_SUPPORTED flag
The PRODUCT_MAX_PAGE_SIZE_SUPPORTED will be used to define the ELF segment alignment of the binaries (executables and shared libraries). The alignment is set based on these conditions: - If PRODUCT_MAX_PAGE_SIZE_SUPPORTED is defined, that value will be used to align the binaries. If not defined, see condition below: - If it is a low memory device, 4096 will be the alignment. If it is not low memory device, see conditon below: - If VSR vendor API level < 34, 4096 will be the alignment, otherwise it will be 65536. Test: Built for in Pixel 4a, 6 and verified the alignment with readelf. Bug: 276963698 Bug: 276801883 Change-Id: I53a8902ab62e6d378aec84c28bc627f0e8a98500
Loading
Please register or sign in to comment