From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: Thiemo Seufer Cc: binutils@sources.redhat.com Subject: Re: [PATCH] Fix MIPS ELF64 relocation howtos Date: Mon, 27 Aug 2001 12:00:00 -0000 Message-id: <20010827120012.A10036@lucon.org> References: <20010827023751.B301@rembrandt.csv.ica.uni-stuttgart.de> <20010826175030.B2794@lucon.org> <20010827030223.C301@rembrandt.csv.ica.uni-stuttgart.de> <20010827113213.A9485@lucon.org> <20010827204358.C4669@rembrandt.csv.ica.uni-stuttgart.de> X-SW-Source: 2001-08/msg00640.html 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.