mips-binutils-2.14/gas oddity

Ralf Corsepius corsepiu@faw.uni-ulm.de
Wed Sep 10 15:17:00 GMT 2003


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, 

TIA

	Ralf




More information about the Binutils mailing list