The future of __main

Zack Weinberg zack@codesourcery.com
Thu Jun 26 17:56:00 GMT 2003


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



More information about the Gcc mailing list