diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-09-30 16:37:32 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-09-30 16:37:32 +0000 |
commit | 869b9d07bbfd935cc39b6bccb3da0506e467b6a7 (patch) | |
tree | 42d3ddf72ff4cf1163eb14e0c790fa9876901220 | |
parent | 58654fd86881e7321ff008ba2977e175a5b141b7 (diff) | |
download | gdb-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.
-rw-r--r-- | binutils/ChangeLog | 20 | ||||
-rw-r--r-- | binutils/addr2line.c | 2 | ||||
-rw-r--r-- | binutils/ar.c | 2 | ||||
-rw-r--r-- | binutils/coffdump.c | 2 | ||||
-rw-r--r-- | binutils/cxxfilt.c | 2 | ||||
-rw-r--r-- | binutils/dlltool.c | 2 | ||||
-rw-r--r-- | binutils/dllwrap.c | 2 | ||||
-rw-r--r-- | binutils/nlmconv.c | 2 | ||||
-rw-r--r-- | binutils/nm.c | 2 | ||||
-rw-r--r-- | binutils/objcopy.c | 2 | ||||
-rw-r--r-- | binutils/objdump.c | 2 | ||||
-rw-r--r-- | binutils/readelf.c | 2 | ||||
-rw-r--r-- | binutils/size.c | 2 | ||||
-rw-r--r-- | binutils/srconv.c | 2 | ||||
-rw-r--r-- | binutils/strings.c | 3 | ||||
-rw-r--r-- | binutils/sysdump.c | 2 | ||||
-rw-r--r-- | binutils/sysinfo.y | 2 | ||||
-rw-r--r-- | binutils/windres.c | 2 | ||||
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/as.c | 2 | ||||
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rw-r--r-- | gprof/gprof.c | 2 | ||||
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/ldmain.c | 2 |
24 files changed, 73 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 1b05787..fbe5e8f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,23 @@ +2005-08-30 Mark Mitchell <mark@codesourcery.com> + + * 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. + 2005-09-30 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". diff --git a/binutils/addr2line.c b/binutils/addr2line.c index 6464e37..7b9550d 100644 --- a/binutils/addr2line.c +++ b/binutils/addr2line.c @@ -296,6 +296,8 @@ main (int argc, char **argv) program_name = *argv; xmalloc_set_program_name (program_name); + expandargv (&argc, &argv); + bfd_init (); set_default_bfd_target (); 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; diff --git a/binutils/coffdump.c b/binutils/coffdump.c index c79c978..4361295 100644 --- a/binutils/coffdump.c +++ b/binutils/coffdump.c @@ -494,6 +494,8 @@ main (int ac, char **av) program_name = av[0]; xmalloc_set_program_name (program_name); + expandargv (&ac, &av); + while ((opt = getopt_long (ac, av, "HhVv", long_options, (int *) NULL)) != EOF) diff --git a/binutils/cxxfilt.c b/binutils/cxxfilt.c index 25e8e35..f0a3a9e 100644 --- a/binutils/cxxfilt.c +++ b/binutils/cxxfilt.c @@ -170,6 +170,8 @@ main (int argc, char **argv) program_name = argv[0]; xmalloc_set_program_name (program_name); + expandargv (&argc, &argv); + strip_underscore = TARGET_PREPENDS_UNDERSCORE; while ((c = getopt_long (argc, argv, "_nps:", long_options, (int *) 0)) != EOF) diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 512cf7b..6c86071 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -3124,6 +3124,8 @@ main (int ac, char **av) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); + expandargv (&argc, &argv); + while ((c = getopt_long (ac, av, #ifdef DLLTOOL_MCORE_ELF "m:e:l:aD:d:z:b:xp:cCuUkAS:f:nvVHhM:L:F:", 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)); diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c index aa68b6e..55bcceb 100644 --- a/binutils/nlmconv.c +++ b/binutils/nlmconv.c @@ -210,6 +210,8 @@ main (int argc, char **argv) program_name = argv[0]; xmalloc_set_program_name (program_name); + expandargv (&argc, &argv); + bfd_init (); set_default_bfd_target (); diff --git a/binutils/nm.c b/binutils/nm.c index 999a6db..c47e99e 100644 --- a/binutils/nm.c +++ b/binutils/nm.c @@ -1491,6 +1491,8 @@ main (int argc, char **argv) START_PROGRESS (program_name, 0); + expandargv (&argc, &argv); + bfd_init (); set_default_bfd_target (); diff --git a/binutils/objcopy.c b/binutils/objcopy.c index abc0eb1..496d4bf 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -3181,6 +3181,8 @@ main (int argc, char *argv[]) START_PROGRESS (program_name, 0); + expandargv (&argc, &argv); + strip_symbols = STRIP_UNDEF; discard_locals = LOCALS_UNDEF; diff --git a/binutils/objdump.c b/binutils/objdump.c index 513308e..e5db661 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2983,6 +2983,8 @@ main (int argc, char **argv) START_PROGRESS (program_name, 0); + expandargv (&argc, &argv); + bfd_init (); set_default_bfd_target (); diff --git a/binutils/readelf.c b/binutils/readelf.c index a976903..7d50b88 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -8829,6 +8829,8 @@ main (int argc, char **argv) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); + expandargv (&argc, &argv); + parse_args (argc, argv); if (num_dump_sects > 0) diff --git a/binutils/size.c b/binutils/size.c index 021d503..4bc1bf6 100644 --- a/binutils/size.c +++ b/binutils/size.c @@ -133,6 +133,8 @@ main (int argc, char **argv) program_name = *argv; xmalloc_set_program_name (program_name); + expandargv (&argc, &argv); + bfd_init (); set_default_bfd_target (); diff --git a/binutils/srconv.c b/binutils/srconv.c index 1ae5b65..e6f35ca 100644 --- a/binutils/srconv.c +++ b/binutils/srconv.c @@ -1761,6 +1761,8 @@ main (int ac, char **av) program_name = av[0]; xmalloc_set_program_name (program_name); + expandargv (&ac, &av); + while ((opt = getopt_long (ac, av, "dHhVvqn", long_options, (int *) NULL)) != EOF) diff --git a/binutils/strings.c b/binutils/strings.c index bdfca226..14f9194 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -185,6 +185,9 @@ main (int argc, char **argv) program_name = argv[0]; xmalloc_set_program_name (program_name); + + expandargv (&argc, &argv); + string_min = -1; print_addresses = FALSE; print_filenames = FALSE; diff --git a/binutils/sysdump.c b/binutils/sysdump.c index 2b38b2f..ec19472 100644 --- a/binutils/sysdump.c +++ b/binutils/sysdump.c @@ -673,6 +673,8 @@ main (int ac, char **av) program_name = av[0]; xmalloc_set_program_name (program_name); + expandargv (&ac, &av); + while ((opt = getopt_long (ac, av, "HhVv", long_options, (int *) NULL)) != EOF) { switch (opt) diff --git a/binutils/sysinfo.y b/binutils/sysinfo.y index a707748..d340abf 100644 --- a/binutils/sysinfo.y +++ b/binutils/sysinfo.y @@ -412,6 +412,8 @@ int yydebug; int main (int ac, char **av) { + expandargv (&ac, &av); + yydebug=0; if (ac > 1) writecode = av[1][1]; diff --git a/binutils/windres.c b/binutils/windres.c index 4336f00..c0f1b8c 100644 --- a/binutils/windres.c +++ b/binutils/windres.c @@ -767,6 +767,8 @@ main (int argc, char **argv) program_name = argv[0]; xmalloc_set_program_name (program_name); + expandargv (&ac, &av); + bfd_init (); set_default_bfd_target (); diff --git a/gas/ChangeLog b/gas/ChangeLog index 1617e21..8f93184 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-09-30 Mark Mitchell <mark@codesourcery.com> + + * as.c (main): Use expandargv. + 2005-09-30 Jan Beulich <jbeulich@novell.com> * config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past @@ -1050,6 +1050,8 @@ main (int argc, char ** argv) myname = argv[0]; xmalloc_set_program_name (myname); + expandargv (&argc, &argv); + START_PROGRESS (myname, 0); #ifndef OBJ_DEFAULT_OUTPUT_FILE_NAME diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 7140813..4c438df 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,7 @@ +2005-09-30 Mark Mitchell <mark@codesourcery.com> + + * gprof.c (main): Use expandargv. + 2005-09-30 Matthias Kurz <mk@baerlap.north.de> * gprof.c (main):Only invoke bindtextdomain() and textdomain() if diff --git a/gprof/gprof.c b/gprof/gprof.c index 0430df7..2ac4340 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)) diff --git a/ld/ChangeLog b/ld/ChangeLog index c5df64e..24ae88f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2005-09-30 Mark Mitchell <mark@codesourcery.com> + + * ldmain.c (main): Use expandargv. + 2005-09-30 Catherine Moore <clm@cm00re.com> * Makefile.am: Bfin support. 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); |