Another patch for visibility.

Martin von Loewis loewis@informatik.hu-berlin.de
Wed May 31 05:37:00 GMT 2000


>  	      if (symvis && (hvis > symvis || hvis == 0))
> -		{
> -		  visibility_changed = true;
> -		  h->other = sym.st_other;
> -		}
> +		h->other = sym.st_other;

I remember talk about a revised version of the gABI changing parts of
the symbol visibility semantics; is that text available?

Because under the current draft text I have, I believe that patch is
incorrect:

# If different visibility attributes are specified for distinct
# references to or definitions of a symbol, the most constraining
# visibility attribute must be propagated to the resolving symbol in
# the linked object.

Is there any code left in binutils that propagates the most
constraining visibility to the resolving symbol?

Regards,
Martin


More information about the Binutils mailing list