aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.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
commit869b9d07bbfd935cc39b6bccb3da0506e467b6a7 (patch)
tree42d3ddf72ff4cf1163eb14e0c790fa9876901220 /ld/ldmain.c
parent58654fd86881e7321ff008ba2977e175a5b141b7 (diff)
downloadgdb-869b9d07bbfd935cc39b6bccb3da0506e467b6a7.zip
gdb-869b9d07bbfd935cc39b6bccb3da0506e467b6a7.tar.gz
gdb-869b9d07bbfd935cc39b6bccb3da0506e467b6a7.tar.bz2
* 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 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index b5bf2cb..dd79c23 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -198,6 +198,8 @@ main (int argc, char **argv)
START_PROGRESS (program_name, 0);
+ expandargv (&argc, &argv);
+
bfd_init ();
bfd_set_error_program_name (program_name);