83f30e
commit a2211c76c3b994099fd58a06d6072d7495d699cd
83f30e
Author: Florian Weimer <fweimer@redhat.com>
83f30e
Date:   Fri Mar 18 18:18:35 2022 +0100
83f30e
83f30e
    scripts/dso-ordering-test.py: Fix C&P error in * callrefs processing
83f30e
    
83f30e
    The elf/dso-sort-tests-src subdirectory is not changed by this commit,
83f30e
    so it seems that the cut-and-paste error was not material.
83f30e
    
83f30e
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
83f30e
83f30e
diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py
83f30e
index bde0406be9da14fc..ee476c810c76f1b0 100644
83f30e
--- a/scripts/dso-ordering-test.py
83f30e
+++ b/scripts/dso-ordering-test.py
83f30e
@@ -551,17 +551,17 @@ def process_testcase(t):
83f30e
         if obj in t.deps:
83f30e
             deps = t.deps[obj]
83f30e
             if '*' in deps:
83f30e
-                t.deps[obj].remove('*')
83f30e
+                deps.remove('*')
83f30e
                 t.add_deps([obj], non_dep_tgt_objs)
83f30e
         if obj in t.callrefs:
83f30e
             deps = t.callrefs[obj]
83f30e
             if '*' in deps:
83f30e
-                t.deps[obj].remove('*')
83f30e
+                deps.remove('*')
83f30e
                 t.add_callrefs([obj], non_dep_tgt_objs)
83f30e
     if "#" in t.deps:
83f30e
         deps = t.deps["#"]
83f30e
         if '*' in deps:
83f30e
-            t.deps["#"].remove('*')
83f30e
+            deps.remove('*')
83f30e
             t.add_deps(["#"], non_dep_tgt_objs)
83f30e
 
83f30e
     # If no main program was specified in dependency description, make a