diff options
Diffstat (limited to 'plat/arm/board/fvp/platform.mk')
-rw-r--r-- | plat/arm/board/fvp/platform.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plat/arm/board/fvp/platform.mk b/plat/arm/board/fvp/platform.mk index 3d858c20..3b60daad 100644 --- a/plat/arm/board/fvp/platform.mk +++ b/plat/arm/board/fvp/platform.mk @@ -201,9 +201,15 @@ ENABLE_AMU := 1 # Enable dynamic mitigation support by default DYNAMIC_WORKAROUND_CVE_2018_3639 := 1 -# Enable reclaiming of BL31 initialisation code for secondary cores stacks for FVP ifneq (${RESET_TO_BL31},1) +# Enable reclaiming of BL31 initialisation code for secondary cores stacks for +# FVP. We cannot enable PIE for this case because the overlayed init section +# creates some dynamic relocations which cannot be handled by the fixup +# logic currently. RECLAIM_INIT_CODE := 1 +else +# Enable PIE support when RESET_TO_BL31=1 +ENABLE_PIE := 1 endif ifeq (${ENABLE_AMU},1) |