MC: Use @IMGREL instead of @IMGREL32, which we can't parse
authorReid Kleckner <reid@kleckner.net>
Thu, 25 Sep 2014 02:09:18 +0000 (02:09 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 25 Sep 2014 02:09:18 +0000 (02:09 +0000)
commitdd8ce126d7d9fa0bde786f94afb2d6176b7cac82
treee14da8cf89e15216b221193553d41a32cf360976
parent6a289bb491d1821c94069ff622fae46b2d378908
MC: Use @IMGREL instead of @IMGREL32, which we can't parse

Nico Rieck added support for this 32-bit COFF relocation some time ago
for Win64 stuff. It appears that as an oversight, the assembly output
used "foo"@IMGREL32 instead of "foo"@IMGREL, which is what we can parse.

Sadly, there were actually tests that took in IMGREL and put out
IMGREL32, and we didn't notice the inconsistency. Oh well. Now LLVM can
assemble it's own output with slightly more fidelity.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218437 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCExpr.cpp
test/MC/COFF/ir-to-imgrel.ll
test/MC/X86/intel-syntax.s