[17/17] elf: Remove _dl_skip_args
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
Now that no architecture uses it anymore.
---
elf/rtld.c | 2 --
sysdeps/generic/ldsodefs.h | 4 ----
sysdeps/mach/hurd/dl-sysdep.c | 1 -
3 files changed, 7 deletions(-)
@@ -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;