about summary refs log tree commit diff
path: root/elf/rtld.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index f1b612166d..f60a357d98 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -65,6 +65,7 @@ static void process_envvars (enum mode *modep, int *lazyp);
 
 int _dl_argc;
 char **_dl_argv;
+unsigned int _dl_skip_args;	/* Nonzero if we were run directly.  */
 const char *_dl_rpath;
 int _dl_verbose;
 const char *_dl_platform;
@@ -269,7 +270,6 @@ match_version (const char *string, struct link_map *map)
   return 0;
 }
 
-static unsigned int _dl_skip_args;	/* Nonzero if we were run directly.  */
 static const char *library_path;	/* The library search path.  */
 static const char *preloadlist;		/* The list preloaded objects.  */
 static int version_info;		/* Nonzero if information about
@@ -982,6 +982,7 @@ process_dl_debug (const char *dl_debug)
 		  _dl_debug_bindings = 1;
 		  _dl_debug_versions = 1;
 		  any_debug = 1;
+		  continue;
 		}
 	      break;