]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86_64: Remove _dl_skip_args usage
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 26 May 2022 16:15:28 +0000 (13:15 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 30 May 2022 19:33:34 +0000 (16:33 -0300)
commitec7bc492b6047529603bb7f59575b6551c73639e
tree33a73c40c5aea8bd16e66c4be9709056987eaf88
parentb6712b137f2ba6160599bdae60b8562bb6361737
x86_64: 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 x86_64-linux-gnu and i686-linux-gnu.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
sysdeps/x86_64/dl-machine.h
sysdeps/x86_64/x32/dl-machine.h