This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Fix MIPS ELF64 relocation howtos


On Mon, Aug 27, 2001 at 08:43:58PM +0200, Thiemo Seufer wrote:
> H . J . Lu wrote:
> [snip]
> > > Don't worry, it's the same. The titlepage reads:
> > > MIPS Technologies / Silicon Graphics Computer Systems.
> > > 
> > > AFAIK there is nothing newer than this draft.
> > 
> > I assume it is version 2.4.
> 
> Version 2.4, Date 11/3/98.
> 
> > If it is the case, I am not sure if you can 
> > use the traditional 64bit MIPS ELF. On the other hand, since there is no
> > documented traditional 64bit MIPS ELF ABI, we can make a `traditional
> > 64bit MIPS ELF ABI' such that it has the best of both worlds.
> 
> This means to use the specification as a guide as long as it's
> reasonable for Linux. That's my intention, too. 

Good. While we are on it, here are things I'd like to see in the new
`traditional 64bit MIPS ELF ABI':

1. Make gp callee-saved.
2. Use RELA relocation if all possible.
3. Use relocations in the SGI 64bit ABI when make senses to us.
4. Drop support for the MIPS/SGI quickstart.
5. Add support for the glibc prelink.

#1 is a gcc only issue. I think the change to gcc is minimum. That is
we make sure that we don't use o64 for gcc. #2, #3, #4 and #5 will
affect binutils.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]