Hello Aurelio,
you don't need such a patch. We already have a more flexible system to deal
with such problems. It is also supported on Linux for example. You can use the
constructor attribute with a priority, e.g.
void __attribute__((constructor(1000))) f(void)
{
...
}
Such constructors are
On 19/11/2015 2:06 AM, Aurelio Remonda wrote:
> Having an optional function that could be called prior to the construction of
> any global
> objects would be very useful.
> This is being discussed in the C++Embedded mailing list, in this thread:
> http://www.open-std.org/pipermail/embedded/2014-No