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: [patch i386]: always allow for pe-coff that relocations can be put into readonly memory


On Jun 27, 2012, at 1:13 PM, Richard Henderson wrote:
> Would it be of any use to introduce an .rdata$N section (equivalent
> to .data.ro) so that most of the runtime relocations are adjacent,
> and more of the executable image is sharable?

I can't help but think that grouping them together would be a win, provided the relocations are allowed...  I know on darwin, we kinda hate those sorts of relocations because they are a performance sap.  This type of performance sap is nasty as it is pervasive and invisible and hard to ever get back.  Would be nice to ensure any change applied doesn't hurt performance...


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