From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgd@broadcom.com To: ica2_ts@csv.ica.uni-stuttgart.de Cc: binutils@sources.redhat.com Subject: Re: [PATCH] Fix distinction of 32/64bit addresses in MIPS gas Date: Fri, 31 Aug 2001 10:37:00 -0000 Message-id: References: <20010825032615.E309@rembrandt.csv.ica.uni-stuttgart.de> <20010831181657.A17249@rembrandt.csv.ica.uni-stuttgart.de> <200108311711.KAA19709@geoffk.org> <20010831193107.A10362@rembrandt.csv.ica.uni-stuttgart.de> X-SW-Source: 2001-08/msg00725.html 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