This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/2] binutils: Add new GNU format mode to `size` utility
- From: Nick Clifton <nickc at redhat dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, binutils at sourceware dot org
- Date: Thu, 7 Feb 2019 14:05:11 +0000
- Subject: Re: [PATCH 2/2] binutils: Add new GNU format mode to `size` utility
- References: <cover.1548931650.git.andrew.burgess@embecosm.com> <274324e00d814e5fdbc598fd932a756bf88a1857.1548931650.git.andrew.burgess@embecosm.com>
Hi Andrew,
> binutils/ChangeLog:
>
> * size.c (berkeley_format): Delete.
> (enum output_format): New enum.
> (selected_output_format): New variable.
> (usage): Update to mention GNU format.
> (main): Update to extract options, and select format as needed.
> Handle GNU format where needed.
> (berkeley_sum): Renamed to...
> (berkeley_or_gnu_sum): ...this, and updated to handle both formats.
> (berkeley_format): Renamed to...
> (berkeley_or_gnu_format): ...this, and updated to handle both
> formats.
> (print_sizes): Handle GNU format.
> * doc/binutils.texi (size): Document new GNU format.
> * testsuite/binutils-all/size.exp: Add test of extended
> functionality.
> * NEWS: Mention new functionality.
Approved - please apply.
There is no need to change the option name. Noone objected and I kind
of like it, so lets keep it.
> +Berkeley's. Alternatively, you can choose GNU format output (using @option{-G},
Minor possible grammar nit: I wonder if the above sentance fragment ought
to read:
...you can choose the GNU format output...
(Ie adding in the word "the"). I am not insisting on this however, so the
choice is up to you.
Cheers
Nick