OSDN Git Service

* readelf.c (parse_args): Change debug_dump_opt to static.
authoramodra <amodra>
Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)
committeramodra <amodra>
Tue, 20 Aug 2002 23:46:41 +0000 (23:46 +0000)
binutils/ChangeLog
binutils/readelf.c

index 9b0a306..08ce5a9 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-21  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * readelf.c (parse_args): Change debug_dump_opt to static.
+
 2002-08-16  Sivaguru Sankaridurg  <siva@eternal-systems.com>
 
        * stabs.c (parse_stab_argtype): Pass length of physname to
index b0a7934..ea0aa02 100644 (file)
@@ -2517,7 +2517,7 @@ parse_args (argc, argv)
            do_debugging = 1;
          else
            {
-             const char *debug_dump_opt[]
+             static const char *debug_dump_opt[]
                = { "line", "info", "abbrev", "pubnames", "ranges",
                    "macro", "frames", "frames-interp", "str", "loc", NULL };
              unsigned int index;