Produce an undefined reference to _GLOBAL_OFFSET_TABLE_ if we have a
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 5 Jun 2011 01:20:06 +0000 (01:20 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 5 Jun 2011 01:20:06 +0000 (01:20 +0000)
commit378e0ecf24cd980a4551299f0bd90725b479b401
tree30c7266be71fb92e1aa09d37948a1f2c1a01a885
parent8f1282d9cb44a64104581fc33d79af64b2200222
Produce an undefined reference to _GLOBAL_OFFSET_TABLE_ if we have a
VK_GOTOFF reloc. This matches as' behavior, but it is not clear why the linker
might need this, so I added a FIXME.

I could test this by duplicating test/MC/ELF/got.s, but it doesn't look
worthwhile.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132655 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/ELFObjectWriter.cpp