MC-COFF: Drop empty sections, and label symbols. Convert relocations
authorMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 27 Sep 2010 08:58:26 +0000 (08:58 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 27 Sep 2010 08:58:26 +0000 (08:58 +0000)
commita72d87899bc1bfdb17744aae2545a21b3630d3c1
tree548fc9c941102b26c7cc744a869bb427d480b02e
parent295646274276c6814d970bed86d3b4ff76ba3ee3
MC-COFF: Drop empty sections, and label symbols. Convert relocations
targeted at symbols into relocations relative to the containing section.

Patch by Nathan Jeffords!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114823 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp
test/MC/COFF/basic-coff.ll
test/MC/COFF/symbol-fragment-offset.ll