[PATCH] D34857: [COFF, ARM64] Add initial relocation types

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 16 00:07:12 PDT 2017


mgrang updated this revision to Diff 106795.
mgrang added a comment.

Changed unit test to .s according to comments.
Unit tests for IMAGE_REL_ARM64_PAGEOFFSET_12A and IMAGE_REL_ARM64_PAGEOFFSET_12L not added as llvm-mc currently cannot parse the assembly for these.  Here is my code for the above two relocations:

  adrp x0, foo
  add x0, x0, foo
  
  This is the error I get:
  error: expected compatible register, symbol or integer in range [0, 4095]
  add x0, x0, foo
                    ^


Repository:
  rL LLVM

https://reviews.llvm.org/D34857

Files:
  lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
  lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp
  test/MC/AArch64/coff-relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34857.106795.patch
Type: text/x-patch
Size: 4208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170716/fdd28a50/attachment.bin>


More information about the llvm-commits mailing list