[SH] Allow R_SH_TLS_LE_32 for PIE

Alan Modra amodra@gmail.com
Thu Jun 23 00:12:00 GMT 2011


On Thu, Jun 23, 2011 at 07:04:12AM +0900, Kaz Kojima wrote:
>  	case R_SH_TLS_LE_32:
> -	  if (info->shared)
> +	  if (info->shared && !info->pie)

I should have spoken up when I saw the arm patch go by as we now have
alpha and sh using the same code..  It doesn't really matter, but the
condition here is better written as

	  if (!info->executable)

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list