Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: The MIPS' statement on R_MIPS_PC16 relocations
       [not found] <Pine.GSO.3.96.1030227130833.19733D-100000@delta.ds2.pg.gda.pl>
@ 2003-02-28  9:10 ` Dominic Sweetman
  2003-02-28 12:57   ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Dominic Sweetman @ 2003-02-28  9:10 UTC (permalink / raw)
  To: Maciej W. Rozycki, Linux-MIPS
  Cc: Mike Uhler, Kevin D. Kissell, Nigel Stephens, Dominic Sweetman,
	Ralf Baechle


Maciej W. Rozycki (macro@ds2.pg.gda.pl) writes:

> Thiemo wants to reimplement R_MIPS_PC16 relocations to be useful for
> branches which requires a relocation's addend to be shifted left by two
> before processing and then shifting a calculated value right by two before
> applying to the relocated field (similarly to what is done for R_MIPS_26
> relocations).  The ABI currently defines these relocations to be handled
> without any shifts rendering them useless for branches and probably
> anything else.  I suspect that may actually be a typo or a
> misunderstanding that happened when working on the document. 

The existing definition is nonsense - I won't guess how it happened,
but there's no reason to keep it.  Thiemo has MIPS Technologies'
thanks and blessing in making this change.  Please let our Nigel
Stephens know when it's done (mailto:nigel@mips.com) and he'll
double-check it.

I'm sure you'll put comments in the code noting that this is different
from the document.

There's a more tricky question, which is how we're going to document
this.  I'm currently trying to create a more user-friendly (and
accurate) ABI document, but had not yet got to the relocation types...

-- 
Dominic Sweetman, 
MIPS Technologies (UK)
The Fruit Farm, Ely Road, Chittering, CAMBS CB5 9PH, ENGLAND
phone: +44 1223 706205 / fax: +44 1223 706250 / swbrd: +44 1223 706200
http://www.mips.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: The MIPS' statement on R_MIPS_PC16 relocations
  2003-02-28  9:10 ` The MIPS' statement on R_MIPS_PC16 relocations Dominic Sweetman
@ 2003-02-28 12:57   ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2003-02-28 12:57 UTC (permalink / raw)
  To: Dominic Sweetman
  Cc: Maciej W. Rozycki, Linux-MIPS, Mike Uhler, Kevin D. Kissell,
	Nigel Stephens

On Fri, Feb 28, 2003 at 09:10:53AM +0000, Dominic Sweetman wrote:

> The existing definition is nonsense - I won't guess how it happened,
> but there's no reason to keep it.  Thiemo has MIPS Technologies'
> thanks and blessing in making this change.  Please let our Nigel
> Stephens know when it's done (mailto:nigel@mips.com) and he'll
> double-check it.
> 
> I'm sure you'll put comments in the code noting that this is different
> from the document.
> 
> There's a more tricky question, which is how we're going to document
> this.  I'm currently trying to create a more user-friendly (and
> accurate) ABI document, but had not yet got to the relocation types...

I think for the moment all typo fixed version of the old ABI document would
already be great - and producable at minimal effort.

In the longer run I'd be happy to see the 32-bit and 64-bit ABI documents
unified as it was already happening on www.mipsabi.org when the site and
the MIPS ABI group was shutdown; I think I did save the few bits I was
able to save.

Btw - www.mipsabi.org is on air again.  But this time it's a porn site.  I
may be tolerant but imho that's really a trademark case for the lawyers.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-28 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.GSO.3.96.1030227130833.19733D-100000@delta.ds2.pg.gda.pl>
2003-02-28  9:10 ` The MIPS' statement on R_MIPS_PC16 relocations Dominic Sweetman
2003-02-28 12:57   ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox