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: [SH] Allow R_SH_TLS_LE_32 for PIE


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


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