elf: Remove _dl_skip_args

Now that no architecture uses it anymore.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
Adhemerval Zanella 2022-05-26 13:15:56 -03:00
parent ec7bc492b6
commit 81e7fdd7cc
3 changed files with 0 additions and 7 deletions

View File

@ -158,8 +158,6 @@ static void process_envvars (struct dl_main_state *state);
int _dl_argc attribute_relro attribute_hidden;
char **_dl_argv attribute_relro = NULL;
/* Always 0, only kept for not-yet-updated target start code. */
const unsigned int _dl_skip_args attribute_hidden;
rtld_hidden_data_def (_dl_argv)
#ifndef THREAD_SET_STACK_GUARD

View File

@ -755,10 +755,6 @@ rtld_hidden_proto (__libc_stack_end)
extern int _dl_argc attribute_hidden attribute_relro;
extern char **_dl_argv attribute_relro;
rtld_hidden_proto (_dl_argv)
#if IS_IN (rtld)
/* Always 0, only kept for not-yet-updated target start code. */
extern const unsigned int _dl_skip_args attribute_hidden;
#endif
#define rtld_progname _dl_argv[0]
/* Flag set at startup and cleared when the last initializer has run. */

View File

@ -139,7 +139,6 @@ _dl_sysdep_start (void **start_argptr,
mach_port_t memobj;
error_t err;
++_dl_skip_args;
--_dl_argc;
p = _dl_argv++[1] + 1;