This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mips-binutils-2.14/gas oddity
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Ralf Corsepius <corsepiu at faw dot uni-ulm dot de>
- Cc: Binutils List <binutils at sources dot redhat dot com>,Joel Sherrill <joel dot sherrill at OARcorp dot com>,Gregory Menke <gregory dot menke at gsfc dot nasa dot gov>
- Date: Wed, 10 Sep 2003 11:19:05 -0400
- Subject: Re: mips-binutils-2.14/gas oddity
- References: <1063207013.2906.391.camel@mccallum.corsepiu.faw.uni-ulm.de>
On Wed, Sep 10, 2003 at 05:16:53PM +0200, Ralf Corsepius wrote:
> Hi,
>
> I am investigating a problem with the mips-asm code in RTEMS, which can
> be condensed into this one liner-asm below:
>
> # cat mipsbug.s
> sw $8,0xfffe0130
>
> Assembling it with binutils-2.13.2.1's mips-rtems-as doesn't complain:
> # mips-rtems4.6-as -G0 -EB -mips1 -g0 -32 -v -o mipsbug.o mipsbug.s
> GNU assembler version 2.13.2.1 (mips-rtems4.6) using BFD version 2.13.2.1
>
>
> Assembling it with binutils-2.14's mips-rtems-as does complains:
> # mips-rtems4.7-as -G0 -EB -mips1 -g0 -32 -v -o mipsbug.o mipsbug.s
> GNU assembler version 2.14 (mips-rtems4.7) using BFD version 2.14 20030910
> mipsbug.s: Assembler messages:
> mipsbug.s:1: Error: load/store address overflow (max 32 bits)
>
> Is this a coding-bug that binutils < 2.14 had let slip through, is it a
> bug in binutils-2.14 or else?
>
> I hardly know anything about mips-asm, so any advice is appreciated,
Maciej, conveniently, posted a patch for this yesterday. If I haven't
gotten confused...
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer