https://sourceware.org/bugzilla/show_bug.cgi?id=23002
Joachim Lusiardi <sourceware at lusiardi dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |---
--- Comment #2 from Joachim Lusiardi <sourceware at lusiardi dot de> ---
Hello,
yes, there are relocations on the auipc instruction:
8: 00000097 auipc ra,0x0
8: R_RISCV_CALL label
8: R_RISCV_RELAX *ABS*
But according to the Instruction Set Manual Version 2.2 the auipc instruction
does the following: Expand the 20bit U-immediate with zeros, add it to PC and
store the result in register (in this case ra). In this case this is 8 in ra.
So I do not exactly know what these relocations mean, but it still seems to be
an issue here.
Regards
Joachim
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils