From a6462e05cf1cd55da44002cdede04053a928cf0a Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Thu, 18 Jan 2024 14:01:12 +0100 Subject: [PATCH] feat(memmap): add RELA section display When PIE is enabled, it can be handy to display the .rela.dyn section. Add RELA in the list of symbols parsed, to display this section in memory map. Signed-off-by: Yann Gautier Change-Id: Ic40da54ce6fb6e281fb1a6627e9b8830993cfb2c --- tools/memory/memory/memmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/memory/memory/memmap.py b/tools/memory/memory/memmap.py index 31b6ec7c6..34f5069c0 100755 --- a/tools/memory/memory/memmap.py +++ b/tools/memory/memory/memmap.py @@ -99,7 +99,7 @@ def main( if symbols: expr = ( - r"(.*)(TEXT|BSS|RO|RODATA|STACKS|_OPS|PMF|XLAT|GOT|FCONF" + r"(.*)(TEXT|BSS|RO|RODATA|STACKS|_OPS|PMF|XLAT|GOT|FCONF|RELA" r"|R.M)(.*)(START|UNALIGNED|END)__$" ) printer.print_symbol_table(