[llvm] r219115 - Note that a gold bug has been fixed.

Rafael Espindola rafael.espindola at gmail.com
Mon Oct 6 05:33:27 PDT 2014


Author: rafael
Date: Mon Oct  6 07:33:27 2014
New Revision: 219115

URL: http://llvm.org/viewvc/llvm-project?rev=219115&view=rev
Log:
Note that a gold bug has been fixed.

We should be able to stop working around it at some point in the future.

Modified:
    llvm/trunk/lib/MC/ELFObjectWriter.cpp

Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=219115&r1=219114&r2=219115&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Mon Oct  6 07:33:27 2014
@@ -770,8 +770,9 @@ bool ELFObjectWriter::shouldRelocateWith
   }
 
   // Most TLS relocations use a got, so they need the symbol. Even those that
-  // are just an offset (@tpoff), require a symbol in some linkers (gold,
-  // but not bfd ld).
+  // are just an offset (@tpoff), require a symbol in gold versions before
+  // 5efeedf61e4fe720fd3e9a08e6c91c10abb66d42 (2014-09-26) which fixed
+  // http://sourceware.org/PR16773.
   if (Flags & ELF::SHF_TLS)
     return true;
 





More information about the llvm-commits mailing list