This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [SH] Allow R_SH_TLS_LE_32 for PIE
- From: Alan Modra <amodra at gmail dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: binutils at sourceware dot org
- Date: Thu, 23 Jun 2011 09:42:09 +0930
- Subject: Re: [SH] Allow R_SH_TLS_LE_32 for PIE
- References: <20110623.070412.514761441.kkojima@rr.iij4u.or.jp>
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