[SH] Allow R_SH_TLS_LE_32 for PIE

Kaz Kojima kkojima@rr.iij4u.or.jp
Thu Jun 23 00:52:00 GMT 2011


Alan Modra 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)

Agreed.  Hope the patch for m68k will use info->executable :-)

Regards,
	kaz



More information about the Binutils mailing list