This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: elflink.h -Bsymbolic change
- To: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Subject: Re: elflink.h -Bsymbolic change
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 08 Apr 2001 14:24:48 -0700
- Cc: alan at linuxcare dot com dot au, binutils at sourceware dot cygnus dot com
- References: <200104082105.XAA11467@ignucius.axis.se>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Hans-Peter Nilsson <hans-peter.nilsson@axis.com> writes:
> if ((h->elf_link_hash_flags & ELF_LINK_HASH_NEEDS_PLT) != 0
> && eif->info->shared
> ! && (eif->info->symbolic
> ! || ELF_ST_VISIBILITY (h->other) == STV_INTERNAL
> ! || ELF_ST_VISIBILITY (h->other) == STV_HIDDEN)
> && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) != 0)
> {
> struct elf_backend_data *bed;
This is definitely more correct. Although the STV_INTERNAL might have
some processor-specific meaning. But since I'm not aware of any which
differs from STV_HIDDEN in this respect I think it's fine.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------