OSDN Git Service

[RuntimeDyld][MachO/ARM] Don't add a redundant relocation entry.
authorLang Hames <lhames@gmail.com>
Tue, 18 Jul 2017 21:12:03 +0000 (21:12 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 18 Jul 2017 21:12:03 +0000 (21:12 +0000)
We only need to add this entry once for it to be fixed up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308375 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h

index adca0ee..43461de 100644 (file)
@@ -288,7 +288,6 @@ private:
                       HalfDiffKindBits);
 
     addRelocationForSection(R, SectionAID);
-    addRelocationForSection(R, SectionBID);
 
     return ++RelI;
   }