aboutsummaryrefslogtreecommitdiff
path: root/binutils/dllwrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/dllwrap.c')
-rw-r--r--binutils/dllwrap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/dllwrap.c b/binutils/dllwrap.c
index a3b3794..1c953d3 100644
--- a/binutils/dllwrap.c
+++ b/binutils/dllwrap.c
@@ -627,6 +627,8 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+ expandargv (&argc, &argv);
+
saved_argv = (char **) xmalloc (argc * sizeof (char*));
dlltool_arg_indices = (int *) xmalloc (argc * sizeof (int));
driver_arg_indices = (int *) xmalloc (argc * sizeof (int));