about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-03-18 18:18:35 +0100
committerFlorian Weimer <fweimer@redhat.com>2022-03-18 18:18:45 +0100
commita2211c76c3b994099fd58a06d6072d7495d699cd (patch)
tree8e9308677e302b231f114570ea0c62921321d72e /scripts
parente297d33c73aa22c86228170343c7b2f9bfac6f1e (diff)
downloadglibc-a2211c76c3b994099fd58a06d6072d7495d699cd.tar.gz
glibc-a2211c76c3b994099fd58a06d6072d7495d699cd.tar.xz
glibc-a2211c76c3b994099fd58a06d6072d7495d699cd.zip
scripts/dso-ordering-test.py: Fix C&P error in * callrefs processing
The elf/dso-sort-tests-src subdirectory is not changed by this commit,
so it seems that the cut-and-paste error was not material.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/dso-ordering-test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py
index 0b526aff45..2dd6bfda18 100644
--- a/scripts/dso-ordering-test.py
+++ b/scripts/dso-ordering-test.py
@@ -551,17 +551,17 @@ def process_testcase(t):
         if obj in t.deps:
             deps = t.deps[obj]
             if '*' in deps:
-                t.deps[obj].remove('*')
+                deps.remove('*')
                 t.add_deps([obj], non_dep_tgt_objs)
         if obj in t.callrefs:
             deps = t.callrefs[obj]
             if '*' in deps:
-                t.deps[obj].remove('*')
+                deps.remove('*')
                 t.add_callrefs([obj], non_dep_tgt_objs)
     if "#" in t.deps:
         deps = t.deps["#"]
         if '*' in deps:
-            t.deps["#"].remove('*')
+            deps.remove('*')
             t.add_deps(["#"], non_dep_tgt_objs)
 
     # If no main program was specified in dependency description, make a