mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
scripts: check-symfile: Allow also symbols in 'readonly' section
Validate also variables exported as 'extern' e.g. from the util submodule. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
1 parent
6756e1d193
commit
197a368de5
1 file changed
+1
-1
@@ -61,7 +61,7 @@ for elflib in elflibs:
|
||||
|
||||
for line in nm:
|
||||
line = line.decode("utf-8")
|
||||
symmatch = re.search(r'''^\S+\s(?:[TBSDG])\s(\S+)\s*$''', line)
|
||||
symmatch = re.search(r'''^\S+\s(?:[TBSDGR])\s(\S+)\s*$''', line)
|
||||
if symmatch is None:
|
||||
continue
|
||||
|
||||
|
||||
Reference in new issue
Block a user