There's a bogus 'shift' statement in the processing of the --dwz-single-file-mode.
Urgh, you are right. Fixed by: commit 73d6c2cee05928f146adf4fbb54a5ea31e1b4045 Author: Mark Wielaard <mark@klomp.org> Date: Fri Sep 24 12:16:07 2021 +0200 find-debuginfo.sh: Remove bogus shift after --dwz-single-file-mode https://sourceware.org/bugzilla/show_bug.cgi?id=28382 Reported-by: mls@suse.de Signed-off-by: Mark Wielaard <mark@klomp.org>