mips address+symbol issue.

Richard Sandiford rsandifo@redhat.com
Sat Jan 24 22:42:00 GMT 2004


cgd@broadcom.com writes:
> it might be nice if there were a well-defined LP32 EABI for 64-bit
> ISAs (incl. 64-bit floating point modes), like n32 fits between o32
> and n64...  but at least for now there's not, and even if there were
> it wouldn't fit well in the "-mabi=eabi" world.

It might not be documented, but the EABI64 code in gcc supports both
LP32 and LP64, with "-mabi=eabi -mlong32" selecting the 32-bit version.
It's one of the many multilibs built by mips64vrel-elf.

Unfortunately, we even have the -mgp32 -mlong64 version.  In other
words, the EABI code effectively supports the combination {-mgp32,-mgp64}
x {-mlong32,-mlong64}.

But...

> I think this is quite reasonable, since if you're doing 64-bit
> embedded programming, access to XKPHYS is often quite desirable.

...fair enough.  Just thought I'd ask. ;)

Richard



More information about the Binutils mailing list