This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: A new visibility patch
On Mon, May 22, 2000 at 02:56:54PM +0200, Martin von Loewis wrote:
> > This patch tries to ensure we only set ELF_ST_VISIBILITY in the
> > binary where the symbol is defined. Martin, any comments?
>
> As I said, it shouldn't matter - and it would be an error for a hidden
> symbol to be undefined in a shared library. Do you have any test cases
> for these problems? What problems does the patch solve, anyway?
I am working on STV_PROTECTED for glibc 2.2. Without my patch, the
undefined symbol is marked as STV_PROTECTED if it is marked
STV_PROTECTED in library. It doesn't make any senses and causes
problems for the dynamic linker.
H.J.