]> sourceware.org Git - glibc.git/commit
sh: Remove _dl_skip_args usage
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 26 May 2022 16:14:04 +0000 (13:14 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 30 May 2022 19:33:28 +0000 (16:33 -0300)
commit4dc1f6530e22df8ccab75b65300f3dd731e3539b
tree47f29804b9373053975954fb7680dc8287520d4b
parent22d8935d1d80c73b564cccde1bcb10cba05bc8d3
sh: 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/sh/dl-machine.h
This page took 0.042092 seconds and 5 git commands to generate.