scripts/logging: Allow targets that prefix global symbols with '_'
RX adds an underscore to all global symbols, so when we look for log_const_ globals, we need to allow for that. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
4b1c96f377
commit
296d81ad58
@ -159,7 +159,7 @@ def find_log_const_symbols(elf):
|
||||
continue
|
||||
|
||||
for symbol in section.iter_symbols():
|
||||
if symbol.name.startswith("log_const_"):
|
||||
if symbol.name.startswith("log_const_") or symbol.name.startswith("_log_const_"):
|
||||
ret_list.append(symbol)
|
||||
|
||||
return ret_list
|
||||
|
||||
Loading…
Reference in New Issue
Block a user