m68k: Remove _dl_skip_args usage
commitee39fafa9814f19506524e35a51b3ad4ccbd154e
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 26 May 2022 16:10:38 +0000 (26 13:10 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 30 May 2022 19:33:11 +0000 (30 16:33 -0300)
tree7d41d11d15be38f93b44bf5d32967a6b13b531ed
parent57bb1e5b9fce7f3797bdb3005065187ba9d66c59
m68k: 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 with qemu-user that arguments are correctly passed on both
constructors and main program.

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