diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-04-26 10:02:02 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-04-26 10:02:02 +0000 |
commit | 5a55a029c01e9f93e555911935cbb7b2635dd0b9 (patch) | |
tree | 7227e9faa66de44bdf58c85ba7b3374f6407b80f /llvm/lib/MC/MachObjectWriter.cpp | |
parent | e9b2548f294c902b6431645b1c44667468f180f4 (diff) | |
download | bcm5719-llvm-5a55a029c01e9f93e555911935cbb7b2635dd0b9.tar.gz bcm5719-llvm-5a55a029c01e9f93e555911935cbb7b2635dd0b9.zip |
Revert "ARM: put correct symbol index on indirect pointers in __thread_ptr."
This reverts commit r267488, as it broke some ARM buildbots.
llvm-svn: 267541
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/MachObjectWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp index e39271949d9..f33b866e6a5 100644 --- a/llvm/lib/MC/MachObjectWriter.cpp +++ b/llvm/lib/MC/MachObjectWriter.cpp @@ -471,8 +471,7 @@ void MachObjectWriter::bindIndirectSymbols(MCAssembler &Asm) { ie = Asm.indirect_symbol_end(); it != ie; ++it, ++IndirectIndex) { const MCSectionMachO &Section = cast<MCSectionMachO>(*it->Section); - if (Section.getType() != MachO::S_NON_LAZY_SYMBOL_POINTERS && - Section.getType() != MachO::S_THREAD_LOCAL_VARIABLE_POINTERS) + if (Section.getType() != MachO::S_NON_LAZY_SYMBOL_POINTERS) continue; // Initialize the section indirect symbol base, if necessary. |