[PATCH] D66274: [ELF][Hexagon] Replace R_HEXAGON_GOT with R_GOTPLT

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 00:58:50 PDT 2019


ruiu added a comment.

In D66274#1634792 <https://reviews.llvm.org/D66274#1634792>, @MaskRay wrote:

> In D66274#1634786 <https://reviews.llvm.org/D66274#1634786>, @ruiu wrote:
>
> > Nice! Thank you for doing this.
>
>
> The remaining bits of RelExpr are a scarce recourse now... R_RISCV_PC_INDIRECT == 61. @sidneym Do you need more than 3 bits?


It shouldn't be too hard to extend `oneOf` so that the function uses two words instead of one word as a bitmap, but yeah, we should first try to reduce the number of relocation types if possible.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D66274





More information about the llvm-commits mailing list