Implement support for X86II::MO_GOT_ABSOLUTE_ADDRESS. We get very
authorChris Lattner <sabre@nondot.org>
Thu, 3 Sep 2009 07:30:56 +0000 (07:30 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 Sep 2009 07:30:56 +0000 (07:30 +0000)
commit975d7e039260a9888050dfb6da865348d67fbb27
tree5210a011eee8834d1ec54d9631436da82da51ef0
parent63476a80404125e5196b6c09113c1d4796da0604
Implement support for X86II::MO_GOT_ABSOLUTE_ADDRESS.  We get very
different formatting from the old asmprinter, but it should be
semantically the same.  We used to get:

popl %eax
addl $_GLOBAL_OFFSET_TABLE_ + [.-.Lllvm$6.$piclabel], %eax
...

Now we get:

popl %eax
.Lpicbaseref6:
addl $(_GLOBAL_OFFSET_TABLE_ + (.Lpicbaseref6 - .Lllvm$6.$piclabel)), %eax
...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80905 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/AsmPrinter/X86MCInstLower.cpp