[PATCH] Fix distinction of 32/64bit addresses in MIPS gas

Thiemo Seufer ica2_ts@csv.ica.uni-stuttgart.de
Fri Aug 31 09:17:00 GMT 2001


Richard Sandiford wrote:
> Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
> 
> > we can't have 64bit addresses in a 32bit object file format,
> 
> I'm not sure what you mean.  I thought elf32 supported 64-bit addresses
> through R_MIPS_64?

MIPS ELF32 has no R_MIPS_64, AFAIK it has no notion of 64bit
entities at all.

> Besides, isn't the address size really decided by
> the ABI?

Sure, and a ABI with 64bit addresses won't fit in a object format
restricted to 32bit.


Thiemo



More information about the Binutils mailing list