mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
feat(bl_common): add XLAT tables symbols in linker script
Add __BASE_XLAT_TABLE_START__/_END__ and __XLAT_TABLE_START__/_END__ symbols in the linker script to have them in the .map file. This allows displaying those areas when running memory map script. Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I768a459c5cecc403a9b81b36a71397ecc3179f4f
This commit is contained in:
parent
1bbe2135c3
commit
bb5b942e6f
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2021, ARM Limited and Contributors. All rights reserved.
|
||||
* Copyright (c) 2020-2022, ARM Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
@ -70,7 +70,9 @@
|
|||
*/
|
||||
#define BASE_XLAT_TABLE \
|
||||
. = ALIGN(16); \
|
||||
*(base_xlat_table)
|
||||
__BASE_XLAT_TABLE_START__ = .; \
|
||||
*(base_xlat_table) \
|
||||
__BASE_XLAT_TABLE_END__ = .;
|
||||
|
||||
#if PLAT_RO_XLAT_TABLES
|
||||
#define BASE_XLAT_TABLE_RO BASE_XLAT_TABLE
|
||||
|
@ -210,7 +212,9 @@
|
|||
*/
|
||||
#define XLAT_TABLE_SECTION \
|
||||
xlat_table (NOLOAD) : { \
|
||||
__XLAT_TABLE_START__ = .; \
|
||||
*(xlat_table) \
|
||||
__XLAT_TABLE_END__ = .; \
|
||||
}
|
||||
|
||||
#endif /* BL_COMMON_LD_H */
|
||||
|
|
Loading…
Add table
Reference in a new issue