bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gold and shared objects with gcc 4.1.2


From: Ian Lance Taylor
Subject: Re: gold and shared objects with gcc 4.1.2
Date: Fri, 16 Jan 2009 06:22:01 -0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Roland Baumann <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]