summaryrefslogtreecommitdiff
path: root/bl2
diff options
context:
space:
mode:
authorBoyan Karatotev <boyan.karatotev@arm.com>2025-05-13 11:11:44 +0100
committerBoyan Karatotev <boyan.karatotev@arm.com>2025-10-08 08:03:37 +0100
commit05d22c3045e2e972c2262b9ccd6c82cb7545bf83 (patch)
treef0647fae524f296b5a2256f7b1df5fa773c42290 /bl2
parent6c2e5bf68955cdcce18fbd32697692e352e3c34c (diff)
downloadarm-trusted-firmware-05d22c3045e2e972c2262b9ccd6c82cb7545bf83.tar.gz
arm-trusted-firmware-05d22c3045e2e972c2262b9ccd6c82cb7545bf83.zip
refactor(build): make sorting of sections generic
All BLs define essentially the same sequence for sorting of sections. Make that generic so it applies more easily. Change-Id: I81f5f6635232bd43d999c8054e290a6437c26c71 Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Diffstat (limited to 'bl2')
-rw-r--r--bl2/bl2.mk6
1 files changed, 0 insertions, 6 deletions
diff --git a/bl2/bl2.mk b/bl2/bl2.mk
index 36be877ed..554c8ae8d 100644
--- a/bl2/bl2.mk
+++ b/bl2/bl2.mk
@@ -15,12 +15,6 @@ ifeq (${ARCH},aarch64)
BL2_SOURCES += common/aarch64/early_exceptions.S
endif
-ifeq ($($(ARCH)-ld-id),gnu-gcc)
- BL2_LDFLAGS += -Wl,--sort-section=alignment
-else ifneq ($(filter llvm-lld gnu-ld,$($(ARCH)-ld-id)),)
- BL2_LDFLAGS += --sort-section=alignment
-endif
-
ifeq (${ENABLE_RME},1)
include lib/gpt_rme/gpt_rme.mk