aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.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 /binutils/ar.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 'binutils/ar.c')
-rw-r--r--binutils/ar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/ar.c b/binutils/ar.c
index 4e53c78..10c62bf 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -360,6 +360,8 @@ main (int argc, char **argv)
program_name = argv[0];
xmalloc_set_program_name (program_name);
+ expandargv (&argc, &argv);
+
if (is_ranlib < 0)
{
char *temp;