gold and shared objects with gcc 4.1.2
Ian Lance Taylor
ian@airs.com
Fri Jan 16 14:22:00 GMT 2009
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
More information about the Binutils
mailing list