This is the mail archive of the gcc@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: i386: Problems with references to import symbols.


On Wed, Mar 21, 2007 at 04:16:20PM -0000, Dave Korn wrote:
>   Presumably there would be no problem in just waiting until runtime to
> initialise the my_malloc_hook variable dynamically instead of trying to
> statically initialise it?

Dunno.  One could also wait to expand *__imp_foo, for functions,
until expanding the function call.  And then this variable would
receive the address of the import library thunk.

What does VC++ do?  I'm mostly wondering about what pointer 
equality guarantees we can make.


r~


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