mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-25 04:01:10 +00:00
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:
parent
ec7bc492b6
commit
81e7fdd7cc
@ -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
|
||||
|
@ -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. */
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user