| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | load/store address overflow on binutils 2.14 |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Thu, 07 Aug 2003 19:03:30 +0900 (JST) |
| Organization: | TOSHIBA Personal Computer System Corporation |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
I'm trying binutils 2.14 (and binutils 2.14.90.0.5). These versions
can not compile this inctruction.
lw $2, 0x80000000
$ mips-linux-gcc -c foo.s
b.S: Assembler messages:
foo.S:1: Error: load/store address overflow (max 32 bits)
Using such an immediate address for load instructions is legal? I
found the error message in tc-mips.c and it looks like something
related to 64bit ABIs, but I just want to compile 32bit (standalone)
program.
Is this code really needed for 32bit ABI?
binutils-2.14/gas/config/tc-mips.c:6297
else if (offset_expr.X_op == O_constant
&& !HAVE_64BIT_ADDRESS_CONSTANTS
&& !IS_SEXT_32BIT_NUM (offset_expr.X_add_number))
as_bad (_("load/store address overflow (max 32 bits)"));
---
Atsushi Nemoto
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: debuging problems, Michael |
|---|---|
| Next by Date: | Yet another HOWTO for Debian on Indy, Jan Ivar Pladsen |
| Previous by Thread: | kernel 2.4.21 for VR4181A, Palm Palm |
| Next by Thread: | Re: load/store address overflow on binutils 2.14, Thiemo Seufer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |