diff --git a/tools/add_to_symbol_addrs.py b/tools/add_to_symbol_addrs.py index 00639961d6..bb81628bed 100755 --- a/tools/add_to_symbol_addrs.py +++ b/tools/add_to_symbol_addrs.py @@ -103,7 +103,7 @@ def read_elf(): continue addr = int(components[0], 16) - if " F " in line: + if " F " in line or name.startswith("func_"): type = "func" else: type = "data"