From 5672230c19650a2affcf409553a18c114e645ba3 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 29 Jun 2025 16:56:41 +0200 Subject: [PATCH] bin/symbols-check: ignore `nm` lines that don't have a symbol name Part-of: --- bin/symbols-check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/symbols-check.py b/bin/symbols-check.py index b11639319f5..e42787e3cf2 100644 --- a/bin/symbols-check.py +++ b/bin/symbols-check.py @@ -66,6 +66,8 @@ def get_symbols_nm(nm, lib): output = subprocess.check_output([nm, '-gP', lib], stderr=open(os.devnull, 'w')).decode("ascii") for line in output.splitlines(): + if line.startswith(' '): + continue fields = line.split() if len(fields) == 2 and fields[1] == 'U': continue