]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
readelf: Grok -W/--wide for binutils compatibility.
authorRoland McGrath <roland@hack.frob.com>
Sat, 9 Jul 2011 12:33:37 +0000 (05:33 -0700)
committerRoland McGrath <roland@hack.frob.com>
Sat, 9 Jul 2011 12:33:37 +0000 (05:33 -0700)
src/ChangeLog
src/readelf.c

index 1dd107961f4558e2e1129f6daff8df6f80aba2ac..879331d488681b2f551a2d708eb4d1ec4d31a70c 100644 (file)
@@ -1,6 +1,8 @@
 2011-07-09  Roland McGrath  <roland@hack.frob.com>
 
-       * ar.c (parse_opt): Grok -u.
+       * readelf.c (options, parse_opt): Grok -W/--wide and ignore it.
+
+       * ar.c (parse_opt): Grok -u.
 
 2011-05-30  Mark Wielaard  <mjw@redhat.com>
 
index 1d9249189135cb1583f1b708eb71924df0945154..4032bd432129904f3f04c05fb6b008a3948f1338 100644 (file)
@@ -106,7 +106,8 @@ static const struct argp_option options[] =
   { NULL, 0, NULL, 0, N_("Output control:"), 0 },
   { "numeric-addresses", 'N', NULL, 0,
     N_("Do not find symbol names for addresses in DWARF data"), 0 },
-
+  { "wide", 'W', NULL, 0,
+    N_("Ignored for compatibility (lines always wide)"), 0 },
   { NULL, 0, NULL, 0, NULL, 0 }
 };
 
@@ -444,6 +445,8 @@ parse_opt (int key, char *arg,
          exit (EXIT_FAILURE);
        }
       break;
+    case 'W':                  /* Ignored.  */
+      break;
     default:
       return ARGP_ERR_UNKNOWN;
     }