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


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


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