This is the mail archive of the gcc-help@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]

C++ objects with virtual tables in eeprom


Hello all:

I am wondering if anyone has ever implemented a __attribute__ or #pragma
statement for use with constructors to specify to the compiler that the
object does not exist in ram; therefore it can not just do a "MOV.L
<reg>,<memory>" with the register containing the virtual tables address.
The compiler I am presently using (from the chip vendor) does not take
into account that C++ objects that have virtual tables, might reside in
the eeprom. I am asking them to add this feature, and they are asking me
if there is a standard way of handling this. Any thoughts would be
greatly appreciated.

Thank you,
Jon


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