Hey Martin,

When I first wrote this I only considered letters and not numbers for
ctor/dtor names.
If there any special characters ordered after numbers we should use them
instead.
Otherwise LGTM.

Martell

On Sun 26 Nov 2017 at 23:58, Martin Storsjö <mar...@martin.st> wrote:

> On Mon, 27 Nov 2017, Martin Storsjö wrote:
>
> > If a constructor has a non-default priority, it is placed in a section
> > .ctors.1234 instead of the default .ctors.
> >
> > With the default sorting, .ctors.1234 would be sorted after .ctors$zzz,
> > which would make such a constructor be missed.
> >
> > Instead of implementing a custom sorting, ordering .ctors.1234 before
> > .ctors$zzz, just use .ctors.99999 as sentinel here instead.
>
> To clarify - the last actual used priority number here would be
> .ctors.65535, so .ctors.99999 should always be sorted after that.
>
> // Martin
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to