This is the mail archive of the binutils@sources.redhat.com 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: mips-binutils-2.14/gas oddity


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


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