PATCH: PR ld/5789 and ld/5943

H.J. Lu hjl.tools@gmail.com
Sun Mar 16 17:55:00 GMT 2008


On Sun, Mar 16, 2008 at 06:20:32PM +0100, Andreas Schwab wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
> 
> > +	      if (!h->def_regular)
> > +		{
> > +		  const char *v;
> > +
> > +		  switch (ELF_ST_VISIBILITY (h->other))
> > +		    {
> > +		    case STV_HIDDEN:
> > +		      v = _("hidden symbol");
> > +		      break;
> > +		    case STV_INTERNAL:
> > +		      v = _("internal symbol");
> > +		      break;
> > +		    case STV_PROTECTED:
> > +		      v = _("protected symbol");
> > +		      break;
> > +		    default:
> > +		      v = _("symbol");
> > +		      break;
> > +		    }
> > +
> > +		  (*_bfd_error_handler)
> > +		    (_("%B: relocation R_386_GOTOFF against undefined %s `%s' can not be used when making a shared object"),
> > +		     input_bfd, v, h->root.root.string);
> 
> That is impossible to translate properly.


I don't want to use to use many if. Or we can just say "symbol"
without visibility info.


H.J.



More information about the Binutils mailing list