This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS gas: Warnings for (d)la expansions
cgd@broadcom.com wrote:
> At Tue, 21 May 2002 19:06:29 +0200, Thiemo Seufer wrote:
> > The emipc2 test PASSes mips-elf for me.
And now I know why. I committed an too old version of the patch.
> So, with a completely up to date source tree, and builds done from
> scratch, I get the failures mentioned below.
>
> That's x86-linux host (rh 7.something), and you can intuit the targets
> from the log file names. 8-)
>
> On a quick glance, all but "MIPS ELF reloc" appear to be warnings like
> the one I quoted.
Please try the patch below, I'm pretty confident it helps. I currently
build from a fresh tree to verify.
> "MIPS ELF reloc" appears to be something else, I
> dunno what.
No solution for that yet, I look into it.
Thiemo
2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/gas/ChangeLog
* config/tc-mips.c (macro): Relax warning, it's toot strict for
embedded-PIC.
--- tc-mips.c~ Tue May 21 20:02:04 2002
+++ tc-mips.c Tue May 21 20:02:20 2002
@@ -4607,7 +4607,7 @@ macro (ip)
if (dbl && HAVE_32BIT_GPRS)
as_warn (_("dla used to load 32-bit register"));
- if (! dbl && HAVE_64BIT_ADDRESSES)
+ if (! dbl && HAVE_64BIT_OBJECTS)
as_warn (_("la used to load 64-bit address"));
if (treg == breg)