[GOLD] sort powerpc64 toc sections

Ian Lance Taylor iant@google.com
Wed Dec 12 01:42:00 GMT 2012


On Mon, Dec 10, 2012 at 4:41 AM, Alan Modra <amodra@gmail.com> wrote:

> @@ -1112,6 +1112,9 @@ class General_options
>    DEFINE_bool(no_toc_optimize, options::TWO_DASHES, '\0', false,
>               N_("(PowerPC64 only) Don't optimize TOC code sequences"), NULL);
>
> +  DEFINE_bool(no_toc_sort, options::TWO_DASHES, '\0', false,
> +             N_("(PowerPC64 only) Don't sort TOC and GOT sections"), NULL);
> +

I didn't notice this for no_toc_optimize, but it seems to me that
these options should really be toc_optimize and toc_sort, with a
default of true.  The --no option will be added automatically if you
provide the help string.

This is OK with that change.

Thanks.

Ian



More information about the Binutils mailing list