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 and shared objects with gcc 4.1.2


Roland Baumann <roland.baumann@CoWare.com> writes:

> this patch indeed fixes my problem. Thanks a lot.

You're welcome.  Thanks for reporting the bug.

> Actually, I am wondering whether it makes sense to use "-s" and
> "-shared" together. What information stays in the shared object that I
> am still able to link it?

An ELF shared object has two symbol tables: the dynamic symbol table
and the normal symbol table.  The -s option removes the normal symbol
table.  The dynamic symbol table contains whatever is needed for
dynamic linking.

Ian


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