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
740 B
SourcePawn
30 lines
740 B
SourcePawn
/*
|
|
* Copyright (c) 2022, MediaTek Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef PLAT_LD_RODATA_INC
|
|
#define PLAT_LD_RODATA_INC
|
|
|
|
#include <lib/mtk_init/mtk_init.h>
|
|
. = ALIGN(32);
|
|
INIT_CALL_TABLE(EXPAND_AS_LINK_SECTION);
|
|
__MTK_PLAT_INITCALL_END__ = .;
|
|
. = ALIGN(32);
|
|
__MTK_MMAP_POINTER_POOL_START__ = .;
|
|
KEEP(*(.mtk_mmap_pool))
|
|
__MTK_MMAP_POINTER_POOL_END_UNALIGNED__ = .;
|
|
. = ALIGN(8);
|
|
__MTK_MMAP_POOL_START__ = .;
|
|
KEEP(*(.mtk_mmap_lists))
|
|
__MTK_MMAP_POOL_END_UNALIGNED__ = .;
|
|
. = ALIGN(32);
|
|
__MTK_SMC_POOL_START__ = .;
|
|
KEEP(*(.mtk_smc_descriptor_pool))
|
|
__MTK_SMC_POOL_END_UNALIGNED__ = .;
|
|
. = ALIGN(8);
|
|
#include <vendor_pubsub_events.h>
|
|
*(.mtk_plat_ro)
|
|
|
|
#endif /* PLAT_LD_RODATA_INC */
|