This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: The future of __main


Jamie Lokier <jamie@shareable.org> writes:

> Chris Lattner wrote:
>> sort the ctor/dtor lists by priority,
>
> Can't this be done at link time, using section names based on the
> numeric priority?

In fact it *is* done at link time, when .init/.fini sections are in
use.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]