This is the mail archive of the gcc-patches@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: Group static constructors and destructors in specific subsections


>> I am not sure how to update gold - I basically copied existing code in binutils
>> for .text.unlikely group in GNU LD linker script, but I think gold is doing
>> independent decisions somewhere.

Ian committed this patch a few months ago, after a lengthy discussion
around a patch originally submitted by Sriraman:

   http://sourceware.org/ml/binutils/2012-12/msg00227.html

That should have gold handling .text.startup, .text.exit, and
.text.hot the same as Gnu ld.

-cary


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