summaryrefslogtreecommitdiff
path: root/gprof/gprof.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 /gprof/gprof.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 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index 0430df7245..2ac43408ee 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -197,6 +197,8 @@ main (int argc, char **argv)
whoami = argv[0];
xmalloc_set_program_name (whoami);
+ expandargv (&argc, &argv);
+
while ((ch = getopt_long (argc, argv,
"aA::bBcCd::De:E:f:F:hiI:J::k:lLm:n::N::O:p::P::q::Q::st:Tvw:xyzZ::",
long_options, 0))