public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Delay loaded shared objects
       [not found] <26a808110911301453h5dfbaa2xb4d322a1ea45cd48@mail.gmail.com>
@ 2009-12-01  0:19 ` Richard Henderson
  2009-12-01 21:47   ` Robert Huo
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2009-12-01  0:19 UTC (permalink / raw)
  To: Robert Huo; +Cc: gcc

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~

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Delay loaded shared objects
  2009-12-01  0:19 ` Delay loaded shared objects Richard Henderson
@ 2009-12-01 21:47   ` Robert Huo
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Huo @ 2009-12-01 21:47 UTC (permalink / raw)
  To: Richard Henderson; +Cc: gcc

On Tue, Dec 1, 2009 at 12:18 AM, Richard Henderson <rth@redhat.com> wrote:
> 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.
>

Thanks for your answer.

Robert.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-01 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <26a808110911301453h5dfbaa2xb4d322a1ea45cd48@mail.gmail.com>
2009-12-01  0:19 ` Delay loaded shared objects Richard Henderson
2009-12-01 21:47   ` Robert Huo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).