[PATCH] D45181: [RISCV] Add diff relocation support for RISC-V

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 16 23:04:13 PDT 2018


asb added inline comments.


================
Comment at: test/MC/RISCV/fixups-expr.s:5
+# RUN:     | llvm-readobj -r | FileCheck -check-prefix=NORELAX %s
+
+# Check that subtraction expressions are emitted as two relocations
----------------
asb wrote:
> Could you please make this test more exhaustive:
> 
> 1) Add riscv64 check lines
> 2) Check R_RISCV_{ADD,SUB}{8,16,32} as well
I committed rL332574 which adds support for the same data directive names used by binutils, so you should be able to use .word etc


Repository:
  rL LLVM

https://reviews.llvm.org/D45181





More information about the llvm-commits mailing list