summaryrefslogtreecommitdiffstats
path: root/lib/csu/arm/crt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/arm/crt1.c')
-rw-r--r--lib/csu/arm/crt1.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/csu/arm/crt1.c b/lib/csu/arm/crt1.c
index 127c28d..e3529b8 100644
--- a/lib/csu/arm/crt1.c
+++ b/lib/csu/arm/crt1.c
@@ -98,10 +98,7 @@ __start(int argc, char **argv, char **env, struct ps_strings *ps_strings,
const struct Struct_Obj_Entry *obj __unused, void (*cleanup)(void))
{
- environ = env;
-
- if (argc > 0 && argv[0] != NULL)
- handle_progname(argv[0]);
+ handle_argv(argc, argv, env);
if (ps_strings != (struct ps_strings *)0)
__ps_strings = ps_strings;
OpenPOWER on IntegriCloud