[PATCH] D131467: [LoongArch] Define the new-style reloc types

WÁNG Xuěruì via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 8 23:47:09 PDT 2022


xen0n added inline comments.


================
Comment at: llvm/include/llvm/BinaryFormat/ELFRelocs/LoongArch.def:104
+ELF_RELOC(R_LARCH_TLS_GD_HI20,      98)
+ELF_RELOC(R_LARCH_RELAX,            99)
----------------
SixWeining wrote:
> https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html#_relocations
> Is `R_LARCH_32_PCREL (99)`  removed?
I have to self-censor a few swear words. They added this `R_LARCH_32_PCREL` in [[ https://github.com/bminor/binutils-gdb/commit/9801120721c3a702ce3bd50433ef920f92a83502 | a later commit but with irrelevant commit message subject ]], so I ignored it.

I'll fix shortly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131467/new/

https://reviews.llvm.org/D131467



More information about the llvm-commits mailing list