[PATCH] D79211: [lld-macho] Support pc-relative section relocations

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 15:37:25 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/test/MachO/relocations.s:45
+## References to this generate a symbol relocation
+_str:
+  .asciz "Local defined symbol\n"
----------------
You can also use the same string but place the both labels at the same place. Up to you.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79211





More information about the llvm-commits mailing list