OSDN Git Service

MC: ReadOnlyWithRel section kinds should map to rdata in COFF
authorDavid Majnemer <david.majnemer@gmail.com>
Mon, 22 Sep 2014 20:39:23 +0000 (20:39 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Mon, 22 Sep 2014 20:39:23 +0000 (20:39 +0000)
commitd80fc698f3d7de7458069a7b019d1117fb605dc5
treed475b2347dfad6b1a04fcbfbec555baf2e8b421c
parent56c7cfe41f0364a5ac15db17ec4876b09acc012f
MC: ReadOnlyWithRel section kinds should map to rdata in COFF

Don't consider ReadOnlyWithRel as a writable section in COFF, they
really belong in .rdata.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218268 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/MC/COFF/const-gv-with-rel-init.ll