Historic C++ ABI question

Florian Weimer fweimer@redhat.com
Wed Jun 1 15:39:00 GMT 2016


Given these definitions

struct base
{
   int a;
   int b;
};

struct plus : base
{
   virtual ~plus();
};

is there a historic C++ ABI which puts the vtable at offset 8 in struct 
plus (after the fields from struct base)?  This must have been before 
the Itanium C++ ABI.

Thanks,
Florian



More information about the Gcc-help mailing list