linux-mips
[Top] [All Lists]

Re: load/store address overflow on binutils 2.14

To: ica2_ts@csv.ica.uni-stuttgart.de
Subject: Re: load/store address overflow on binutils 2.14
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sat, 09 Aug 2003 00:06:03 +0900 (JST)
Cc: linux-mips@linux-mips.org
In-reply-to: <20030808030705.GJ3759@rembrandt.csv.ica.uni-stuttgart.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030807231518.GH3759@rembrandt.csv.ica.uni-stuttgart.de> <20030808.101102.71082885.nemoto@toshiba-tops.co.jp> <20030808030705.GJ3759@rembrandt.csv.ica.uni-stuttgart.de>
Sender: linux-mips-bounce@linux-mips.org
>>>>> On Fri, 8 Aug 2003 05:07:05 +0200, Thiemo Seufer 
>>>>> <ica2_ts@csv.ica.uni-stuttgart.de> said:
>> The b.S is just one line "lw $2, 0x80000000".
Thiemo> Using 0xffffffff80000000 is a really ugly workaround for it.
Thiemo> Seems like the constant isn't properly sign-extended inernally
Thiemo> by the assembler.

Yes the workaround works.  But I modified binutils (just remove the
checking code) instead of changing many constant definitions in my
programs.  For now it is enough for me.  Thank you.
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>