[PATCH] D50430: [COFF] Make the relocation scanning for CFG more discriminating

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 8 03:22:06 PDT 2018


hans created this revision.
hans added reviewers: rnk, pcc, ruiu, thakis.

link.exe ignores REL32 relocations on 32-bit x86, as well as relocations against non-function symbols such as labels. This makes lld do the same.


https://reviews.llvm.org/D50430

Files:
  COFF/Writer.cpp
  test/COFF/gfids-relocations32.s
  test/COFF/gfids-relocations64.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50430.159670.patch
Type: text/x-patch
Size: 6108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180808/aea63001/attachment.bin>


More information about the llvm-commits mailing list