[Git][ghc/ghc][wip/supersven/riscv64-ncg] Add missing relocation to name (string) mapping

Sven Tennie (@supersven) gitlab at gitlab.haskell.org
Fri Apr 12 07:32:05 UTC 2024



Sven Tennie pushed to branch wip/supersven/riscv64-ncg at Glasgow Haskell Compiler / GHC


Commits:
79bdf61d by Sven Tennie at 2024-04-12T09:31:55+02:00
Add missing relocation to name (string) mapping

- - - - -


1 changed file:

- rts/linker/elf_reloc_riscv64.c


Changes:

=====================================
rts/linker/elf_reloc_riscv64.c
=====================================
@@ -66,6 +66,10 @@ char *relocationTypeToString(Elf64_Xword type) {
     return "R_RISCV_PCREL_LO12_S";
   case R_RISCV_RELAX:
     return "R_RISCV_RELAX";
+  case R_RISCV_RVC_BRANCH:
+    return "R_RISCV_RVC_BRANCH";
+  case R_RISCV_RVC_JUMP:
+    return "R_RISCV_RVC_JUMP";
   default:
     return "Unknown relocation type";
   }



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/79bdf61d1e82202329e7e89e4fcdfb9805b5a62f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/79bdf61d1e82202329e7e89e4fcdfb9805b5a62f
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240412/d6b3d71e/attachment.html>


More information about the ghc-commits mailing list