summaryrefslogtreecommitdiff
path: root/binutils/dllwrap.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-09-30 16:37:32 +0000
committerMark Mitchell <mark@codesourcery.com>2005-09-30 16:37:32 +0000
commitf56b99f97a41876aa83f137c6526dc015980b736 (patch)
tree88292b36dce963eed225bf85b121e3a674004dd4 /binutils/dllwrap.c
parente0dbed5c5f5e973cdc0eecb89657e4730a983363 (diff)
downloadbinutils-redhat-f56b99f97a41876aa83f137c6526dc015980b736.tar.gz
* addr2line.c (main): Likewise.
* ar.c (main): Likewise. * coffdump.c (main): Likewise. * cxxfilt.c (main): Likewise. * dlltool.c (main): Likewise. * dllwrap.c (main): Likewise. * nlmconv.c (main): Likewise. * nm.c (main): Likewise. * objcopy.c (main): Likewise. * objdump.c (main): Likewise. * readelf.c (main): Likewise. * size.c (main): Likeiwse. * srcconv.c (main): Likewise. * strings.c (main): Likewise. * sysdump.c (main): Likewise. * sysinfo.c (main): Likewise. * windres.c (main): Likewise. * ldmain.c (main): Use expandargv. * gprof.c (main): Use expandargv. * as.c (main): Use expandargv.
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 a3b3794a6a..1c953d36af 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));