PATCH: ld/2537: Linker doesn't allow sections reserved for applications.

Daniel Jacobowitz drow@false.org
Wed Apr 19 19:32:00 GMT 2006


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



More information about the Binutils mailing list