This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] MIPS/gas: GPREL16 relocs against constants
- From: Thiemo Seufer <ths at networkno dot de>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 14 Apr 2005 17:10:59 +0200
- Subject: Re: [patch] MIPS/gas: GPREL16 relocs against constants
- References: <Pine.LNX.4.61L.0504141538070.22596@blysk.ds.pg.gda.pl>
Maciej W. Rozycki wrote:
> Hello,
>
> Due to a recent code rearrangement we now attempt to emit GPREL16 relocs
> against constants for the "ldd_std" case in macro(). This is of course
> not going to work, and actually ends up with an assertion failure later.
> Here's an obvious fix.
>
> 2005-04-14 Maciej W. Rozycki <macro@linux-mips.org>
>
> * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
> optimization for constant addresses.
>
> OK to apply?
Ok.
Thiemo