|ARM Technical Support Knowledge Articles|
Applies to: C166 C Compiler
Information in this article applies to:
I am using virtual functions and I see they are located in sections with the prefix __vtbl__. Is there a way to locate this section in some specific memory regions?
I am using the HLARGE memory model and I saw that these sections are located in the HDATA0 memory class. Can I define them in near memory?
The memory class HDATA0 can be located to any memory space. Therefore it is possible to locate the virtual function tables in any address space.
However, you cannot re-allocate the virtual function tables to near memory, since they must match the memory model definitions, and they must fit the function pointer size used in your program.
Article last edited on: 2004-05-01 14:34:33
Did you find this article helpful? Yes No
How can we improve this article?