From: Florian Weimer Date: Fri, 18 Mar 2022 17:18:35 +0000 (+0100) Subject: scripts/dso-ordering-test.py: Fix C&P error in * callrefs processing X-Git-Tag: glibc-2.36~489 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2211c76c3b994099fd58a06d6072d7495d699cd;p=thirdparty%2Fglibc.git 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 --- diff --git a/scripts/dso-ordering-test.py b/scripts/dso-ordering-test.py index 0b526aff456..2dd6bfda183 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