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]

Re: AVR C++ - how to move vtables into FLASH memory


As I can see in my first post I would like to modify gcc AVR backend to support new feature â putting vtables into FLASH not SRAM. Thatâs why I sent my message here.

Ok, Iâve studied a little bit gcc sources, Iâve found sections responsible for generating different register loading instructions, and indeed there is no information telling to the compiler how to load data from FLASH. This is easy to correct, I suppose. But I have no idea how compiler generates code responsible for loading pointers from vtable. I found code responsible for generating vtable itself. So please, can anybody point me to the peace of code responsible for loading pointers from vtables?


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