This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix distinction of 32/64bit addresses in MIPS gas
ica2_ts@csv.ica.uni-stuttgart.de ("Thiemo Seufer") writes:
> Geoff Keating wrote:
> [snip]
> > > > > 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.
> >
> > Doesn't this work by R_MIPS_64 being a sign-extended 32-bit address?
>
> Reiteration: MIPS ELF32 has no R_MIPS_64.
Maybe i'm missing something in what you're saying but...
bfd's elf32-mips.c definitely has some amount of support for
R_MIPS_64...
As far as I know, we (SiByte) have been using it for ... a while now
in code that gets compiled with -mips[34] (or similar 8-) -mlong64,
into elf32 object files...
cgd