From 4324a14bf548f5c56edc48128aba1aca0da2edf5 Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Mon, 5 Oct 2020 11:02:54 +0200 Subject: Add PIE support for AARCH32 Only BL32 (SP_min) is supported at the moment, BL1 and BL2_AT_EL3 are just stubbed with _pie_fixup_size=0. The changes are an adaptation for AARCH32 on what has been done for PIE support on AARCH64. The RELA_SECTION is redefined for AARCH32, as the created section is .rel.dyn and the symbols are .rel*. Change-Id: I92bafe70e6b77735f6f890f32f2b637b98cf01b9 Signed-off-by: Yann Gautier --- Makefile | 2 -- 1 file changed, 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d424508e7c..219413e5b2 100644 --- a/Makefile +++ b/Makefile @@ -579,11 +579,9 @@ endif endif BL31_CFLAGS += -fpie BL31_LDFLAGS += $(PIE_LDFLAGS) -ifeq ($(ARCH),aarch64) BL32_CFLAGS += -fpie BL32_LDFLAGS += $(PIE_LDFLAGS) endif -endif ifeq (${ARCH},aarch64) BL1_CPPFLAGS += -DIMAGE_AT_EL3 -- cgit v1.2.3