summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/ELFObjectWriter.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-10-06 12:33:27 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-10-06 12:33:27 +0000
commit11527a1d71c772dd5f415a7fe9755169c17a948e (patch)
tree5ff6fd5cd1242f3ae6c606b6db674eeaa74b25de /llvm/lib/MC/ELFObjectWriter.cpp
parent81e652f86ed9d06a29271981410e2833a265faf9 (diff)
downloadbcm5719-llvm-11527a1d71c772dd5f415a7fe9755169c17a948e.tar.gz
bcm5719-llvm-11527a1d71c772dd5f415a7fe9755169c17a948e.zip
Note that a gold bug has been fixed.
We should be able to stop working around it at some point in the future. llvm-svn: 219115
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/ELFObjectWriter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp
index efc9cbdd89a..371e145bddc 100644
--- a/llvm/lib/MC/ELFObjectWriter.cpp
+++ b/llvm/lib/MC/ELFObjectWriter.cpp
@@ -770,8 +770,9 @@ bool ELFObjectWriter::shouldRelocateWithSymbol(const MCAssembler &Asm,
}
// 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;
OpenPOWER on IntegriCloud