query about a possible bug in strip command
Alan Modra
amodra@gmail.com
Sun Nov 18 10:43:00 GMT 2018
On Fri, Nov 16, 2018 at 12:08:05PM -0500, Syed Imtiaz Hussain wrote:
> Hi,
> The strip command offers a -D option which doesnt seem to work. I checked
> the source code, and the getopt_long in the *objcopy.c* doesnt seem to be
> picking -D or -U option.
>
> *while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXHhVvw",*
>
>
> *am i missing something. or is it a bug*
You must be looking at old sources. Current strip_main has
while ((c = getopt_long (argc, argv, "I:O:F:K:MN:R:o:sSpdgxXHhVvwDU",
strip_options, (int *) 0)) != EOF)
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list