This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
mips-binutils-2.14/gas oddity
- From: Ralf Corsepius <corsepiu at faw dot uni-ulm dot de>
- To: Binutils List <binutils at sources dot redhat dot com>
- Cc: 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 17:16:53 +0200
- Subject: mips-binutils-2.14/gas oddity
- Organization: FAW Ulm
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