From: Roland McGrath Date: Sat, 9 Jul 2011 12:33:37 +0000 (-0700) Subject: readelf: Grok -W/--wide for binutils compatibility. X-Git-Tag: elfutils-0.153~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd75419d3ad5950e17b14cb713d98bade721e800;p=thirdparty%2Felfutils.git readelf: Grok -W/--wide for binutils compatibility. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1dd107961..879331d48 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,8 @@ 2011-07-09 Roland McGrath - * 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 diff --git a/src/readelf.c b/src/readelf.c index 1d9249189..4032bd432 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -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; }