Question about C++ functinos and __i686.get_pc_thunk.bx

Eljay Love-Jensen eljay@adobe.com
Sun May 1 07:17:00 GMT 2005


Hi Garrett,

I believe the __i686.get_pc_thunk.bx call puts the PC (program counter) into the general purpose BX register.

Why it does that, I'm not sure.  It may have to do with constructors of an object that are leaf classes, versus inherited as a base class.

And if it can (or should) be disabled, and (if so) how to do that... I don't know.

HTH,
--Eljay



More information about the Gcc-help mailing list