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] |
Can someone tell me why on ELF system, crtbegin.o defines __do_global_dtors_aux and crtend.o defines __do_global_ctors_aux, and not the other way around? Is it just so that the calls from _fini and _init respectively are to static functions?
The reason I'm asking is that this arrangement means that the calls go from one end of the app to the other, which isn't ideal for targets having limited branch range.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |