mips-binutils-2.14/gas oddity
Ralf Corsepius
corsepiu@faw.uni-ulm.de
Wed Sep 10 15:53:00 GMT 2003
On Wed, 2003-09-10 at 17:19, Daniel Jacobowitz wrote:
> 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...
Found it - It was the day before yesterday, at least in binutils' list
archive ;)
Unfortunately his patch doesn't seem to help me:
Using a brand new binutils built from a freshly checked out
binutils-2.14-branch with Maciej's patch applied:
# 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)
Ralf
More information about the Binutils
mailing list