[PATCH] D83751: [MC] Support .reloc sym+constant, *, *

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 09:11:14 PDT 2020


stefanp added inline comments.


================
Comment at: llvm/test/MC/ELF/reloc-directive.s:23
+  .reloc .-1, R_X86_64_NONE, foo
+  .reloc 2+., R_X86_64_NONE, data+1
+
----------------
One more comment. Since this is sym+const we should have a test along the lines of:
```
.globl a
	​a: ret
. reloc a+4, R_X86_64_NONE, foo
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83751





More information about the llvm-commits mailing list