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