This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: PATCH: PR ld/5789 and ld/5943


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.


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