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?

Reply via email to