diff options
Diffstat (limited to 'binutils')
-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 |
18 files changed, 55 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 (); |