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


Tomasz Francuz <tfrancuz@mp.pl> writes:

> 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?

The build_vtbl_ref function.

Ian


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