Thread (1 message) 1 message, 1 author, 2021-02-24

Re: HELP: MIPS PC Relative Addressing

From: "Maciej W. Rozycki" <macro@orcam.me.uk>
Date: 2021-02-24 22:00:57

On Wed, 24 Feb 2021, Jim Wilson wrote:
quoted
 I commented on it once, in the course of the FDPIC design project, and I
find it broken by design.  Sadly it has made it into the RISC-V psABI and
it is hard to revert at this time, too many places have started relying on
it.
It was already a production ABI before you asked for the change.  And
changing a production ABI is extremely difficult.  You were not the first
to complain about this, and you probably won't be the last.
 Thanks for chiming in.

 I accepted it as a fact of life, but we don't have to follow the mistake 
with the MIPS psABI.  If you ever decide to have a RISC-V NewABI just as 
MIPS did at one point, then you can reevaluate the choices made.  At least 
there are no REL relocations there with RISC-V, it was a gross mistake to 
have them with MIPS o32.  I think we can try switching away from them with 
R6, or at least evaluate what would be required to do so.

  Maciej
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help