This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: GOLD LINKER DYNAMIC TABLE ISSUE


mean to write

still on this file we have objdump -T libfoo.so.1 is empty


>
> On Fri, 11 Dec 2009, Ian Lance Taylor wrote:
>
> > I guess I wonder what file the dynamic linker finds at run time.
> > I assume that the dynamic linker does not actually open the archive
> > and find the shared object in there.  I assume that it instead finds a
> > different shared object, based on the DT_SONAME tag of the one in the
> > archive.  And I assume that the latter shared object has a dynamic
> > symbol table.
> >
>
> The GNU linker upon linking the "archived shared" libfoo.so will record in
> it the soname of the dynamic object required to be loaded at execution
> time. It will record correctly libfoo.so.1
> Indeed a libfoo.so.1 must exist on its own. However
>
> still on this file we have objdump -T libfoo.so.1
>
> and the resulting executable is still usuable.
>
> Regards,
>


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