sparc: Remove _dl_skip_args usage
commitb6712b137f2ba6160599bdae60b8562bb6361737
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 26 May 2022 16:14:37 +0000 (26 13:14 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 30 May 2022 19:33:31 +0000 (30 16:33 -0300)
treed3c07c9c84686f42e7c41d5ac171b0fabf5d007a
parent4dc1f6530e22df8ccab75b65300f3dd731e3539b
sparc: Remove _dl_skip_args usage

Since ad43cac44a the generic code already shuffles the argv/envp/auxv
on the stack to remove the ld.so own arguments and thus _dl_skip_args
is always 0.   So there is no need to adjust the argc or argv.

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/sparc/sparc32/dl-machine.h
sysdeps/sparc/sparc64/dl-machine.h