Re: How does GCC implement dynamic binding?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Lacefield, Greg \(CNS COE\)" <Greg.Lacefield@xxxxxxxxxxxxx> writes:

> Is there any information available which documents, or can it be
> otherwise officially confirmed, that GCC uses static v-tables?

Yes, gcc uses static tables for virtual functions.  When it
initializes an object whose type is a class with virtual functions, a
pointer to the relevant static table is stored in the object.

The format of the tables is documented here:
    http://codesourcery.com/cxx-abi/
Although that document refers to the Itanium, gcc uses that same ABI
for all processors.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux