[PATCH] D64685: ELF: Add support for remaining R_AARCH64_MOVW* relocations.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 19:19:11 PDT 2019


MaskRay added inline comments.


================
Comment at: lld/test/ELF/aarch64-relocs.s:242
+# CHECK-NEXT: 2100ac: 42 00 a0 d2  mov	x2, #131072
+## -65537 = 0xfffffffffffeffff
+# CHECK-NEXT: 2100b0: 22 00 a0 92  mov	x2, #-65537
----------------
You can consider moving this chunk to a separate test and using `llvm-objdump -d --print-imm-hex`, then you don't have to explain `-65537 = 0xfffffffffffeffff`.

`x86-64-reloc-*.s` and `ppc32-reloc-*.s` are organized this way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64685





More information about the llvm-commits mailing list