grimar added a comment. X86_64TargetInfo::canOptimizeGotPcRel() needs to have check for "_DYNAMIC" symbol either (since we almost have it, http://reviews.llvm.org/D17607) + testcase. Both gold/bfd does not apply such optimization for it. http://reviews.llvm.org/D15779