Compute the correct section for zed = foo + 1 in COFF.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 1 May 2014 13:37:57 +0000 (13:37 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 1 May 2014 13:37:57 +0000 (13:37 +0000)
commit23d27597a343d3be78270e1cc6a65e3a0cc00a81
tree38abd965908ddcd9e561d97ac2dd5591bb9a1bfd
parentf2b88ce2fd0d204b981f2c6cc70f8112f563fd7c
Compute the correct section for zed = foo + 1 in COFF.

This fixes pr19147.

There are a few more related issues to fix, but the testcase in the bug now
passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp
test/MC/COFF/offset.s