summaryrefslogtreecommitdiffstats
path: root/rtemstoolkit
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-05-18 18:13:30 +1000
committerChris Johns <chrisj@rtems.org>2022-05-18 18:17:33 +1000
commitf199d42e47e2e19175427e95797ca2f829f6aaa9 (patch)
tree4beb63f5ebb337fbdf3ec094153614506673c55d /rtemstoolkit
parentrtemstoolkit:libelf: sync _libelf_config.h with FreeBSD (diff)
downloadrtems-tools-f199d42e47e2e19175427e95797ca2f829f6aaa9.tar.bz2
linkers: Speed up reading large executables for all cases except inlining
- Only load the function DWARF data if checking inlines
Diffstat (limited to 'rtemstoolkit')
-rw-r--r--rtemstoolkit/rld-dwarf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/rld-dwarf.cpp b/rtemstoolkit/rld-dwarf.cpp
index e41be8c..c11a13e 100644
--- a/rtemstoolkit/rld-dwarf.cpp
+++ b/rtemstoolkit/rld-dwarf.cpp
@@ -1812,7 +1812,7 @@ namespace rld
debug_info_entry next (die.get_debug ());
if (die.get_child (next))
- load_functions (next);
+ load_variables (next);
if (!die.get_sibling (next))
break;