From 5a55a029c01e9f93e555911935cbb7b2635dd0b9 Mon Sep 17 00:00:00 2001 From: Renato Golin Date: Tue, 26 Apr 2016 10:02:02 +0000 Subject: 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 --- llvm/lib/MC/MachObjectWriter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/MC/MachObjectWriter.cpp') 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(*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. -- cgit v1.2.3