summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorChris Kay <chris.kay@arm.com>2023-02-14 11:30:04 +0000
committerChris Kay <chris.kay@arm.com>2023-02-20 18:29:33 +0000
commitda04341ed52d214139fe2d16667ef5b58c38e502 (patch)
tree3dd46c3cd597ab3c72c141e09017cf9ed5e2d220 /services
parentac98b82a1f2e1ee323967a8a80e496e82ad9a832 (diff)
downloadarm-trusted-firmware-da04341ed52d214139fe2d16667ef5b58c38e502.tar.gz
build: always prefix section names with `.`
Some of our specialized sections are not prefixed with the conventional period. The compiler uses input section names to derive certain other section names (e.g. `.rela.text`, `.relacpu_ops`), and these can be difficult to select in linker scripts when there is a lack of a delimiter. This change introduces the period prefix to all specialized section names. BREAKING-CHANGE: All input and output linker section names have been prefixed with the period character, e.g. `cpu_ops` -> `.cpu_ops`. Change-Id: I51c13c5266d5975fbd944ef4961328e72f82fc1c Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'services')
-rw-r--r--services/std_svc/spm/spm_mm/spm_mm_xlat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/std_svc/spm/spm_mm/spm_mm_xlat.c b/services/std_svc/spm/spm_mm/spm_mm_xlat.c
index 6261016f7..b1ca55ae3 100644
--- a/services/std_svc/spm/spm_mm/spm_mm_xlat.c
+++ b/services/std_svc/spm/spm_mm/spm_mm_xlat.c
@@ -19,7 +19,7 @@
/* Place translation tables by default along with the ones used by BL31. */
#ifndef PLAT_SP_IMAGE_XLAT_SECTION_NAME
-#define PLAT_SP_IMAGE_XLAT_SECTION_NAME "xlat_table"
+#define PLAT_SP_IMAGE_XLAT_SECTION_NAME ".xlat_table"
#endif
#ifndef PLAT_SP_IMAGE_BASE_XLAT_SECTION_NAME
#define PLAT_SP_IMAGE_BASE_XLAT_SECTION_NAME ".bss"