This is the mail archive of the binutils@sources.redhat.com 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]

Re: elflink.h -Bsymbolic change


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   `------------------------


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