On Thu, Oct 01, 2015 at 03:40:42PM +0200, Ard Biesheuvel wrote:
> In order to support the Properties Table memory protection feature
> on 32-bit ARM, build DXE_RUNTIME_DRIVER type binaries with 4 KB section
> alignment by setting the common-page-size linker command line option.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Ard Biesheuvel <ard.biesheu...@linaro.org>
> ---
>  ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc 
> b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
> index 19af996f8eda..4fce05b1bf3b 100644
> --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
> +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
> @@ -16,7 +16,8 @@ [Defines]
>    USE_ARM_BDS         = FALSE
>    SECURE_BOOT_ENABLE  = FALSE
>  
> -[BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]
> +[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
> +  GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
>    GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
>  
>  [LibraryClasses.common]
> -- 
> 1.9.1
> 

Thanks, Ard!

Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org>
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to