mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 00:54:22 +00:00

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>
30 lines
705 B
ArmAsm
30 lines
705 B
ArmAsm
/*
|
|
* Copyright (c) 2017-2023, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef ARM_TZC_DRAM_LD_S
|
|
#define ARM_TZC_DRAM_LD_S
|
|
|
|
#include <lib/xlat_tables/xlat_tables_defs.h>
|
|
|
|
MEMORY {
|
|
EL3_SEC_DRAM (rw): ORIGIN = ARM_EL3_TZC_DRAM1_BASE, LENGTH = ARM_EL3_TZC_DRAM1_SIZE
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
. = ARM_EL3_TZC_DRAM1_BASE;
|
|
ASSERT(. == ALIGN(PAGE_SIZE),
|
|
"ARM_EL3_TZC_DRAM_BASE address is not aligned on a page boundary.")
|
|
.el3_tzc_dram (NOLOAD) : ALIGN(PAGE_SIZE) {
|
|
__EL3_SEC_DRAM_START__ = .;
|
|
*(.arm_el3_tzc_dram)
|
|
__EL3_SEC_DRAM_UNALIGNED_END__ = .;
|
|
|
|
. = ALIGN(PAGE_SIZE);
|
|
__EL3_SEC_DRAM_END__ = .;
|
|
} >EL3_SEC_DRAM
|
|
}
|
|
|
|
#endif /* ARM_TZC_DRAM_LD_S */
|