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: ld/2537: Linker doesn't allow sections reserved for applications.


On Wed, Apr 19, 2006 at 09:19:33AM -0700, H. J. Lu wrote:
> +	  else if (hdr->sh_type >= SHT_LOPROC
> +		   && hdr->sh_type <= SHT_HIPROC)
> +	    {
> +	      specific = " processor specific";
> +	      goto unsupported;
> +	    }
> +	  else if (hdr->sh_type >= SHT_LOOS
> +		   && hdr->sh_type <= SHT_HIOS)
> +	    {
> +	      specific = " OS specific";
> +	      goto unsupported;
> +	    }
> +
> +unsupported:
> +	  /* FIXME: We should handle this section.  */
> +	  (*_bfd_error_handler)
> +	    (_("%B: don't know how to handle%s section `%s' [0x%8x]"),
> +	     abfd, specific, name, hdr->sh_type);

Please don't break i18n this way.  Use complete sentences, not %s
fragments.

-- 
Daniel Jacobowitz
CodeSourcery


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