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]

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


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


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