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]

Followup: [g++] RFH: Is there a way to make gcc place global const class objects in .rodata ?


I realized just a bit too late that there is an open bug report for the
issue:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131

> Bjoern Haase wrote
>Hello,
>
>Is there a way to place global const objects in .rodata, thus avoiding
construction at program start? 

So: Sorry for the noise on the list.

According to PR4131, there is currently no solution for this issue. The
".rodata" placement would be highly desireable for my current projects.
This means that I would be willing to try to implement the required
enhancements myself.

Since so far I know only about how the back-ends work, I'd appreciate a
hint on where to start, which part of the code to look at, etc. .

Bjoern.


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