On 11/30/2009 02:53 PM, Robert Huo wrote:
Does gcc/g++ (on a typical Linux platform) supports delayed loaded shared objects similar to the /DELAYLOAD option of MSVC [1]?
No.The glibc elf.h file defines (and thus presumably reserves) the DF_P1_LAZYLOAD interface used on Solaris, but does not actually implement lazy loading in the glibc dynamic linker. Nor does the binutils linker provide a mechanism for setting this bit.
r~