[PATCH] D55279: [RISCV] Support assembling %got_pcrel_hi operator

Lewis Revill via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 10 19:16:29 PST 2018


lewis-revill added a comment.

In D55279#1326556 <https://reviews.llvm.org/D55279#1326556>, @lewis-revill wrote:

> Do you need to add a check for `RISCV::fixup_riscv_pcrel_hi20` in `getPcRelHiExpr`? Currently this is returning null and causing a segfault when running your `relocations.s` tests.


`RISCV::fixup_riscv_pcrel_hi20` ->`RISCV::fixup_riscv_got_hi20`


Repository:
  rL LLVM

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

https://reviews.llvm.org/D55279





More information about the llvm-commits mailing list