]> granicus.if.org Git - llvm/commitdiff
[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 adca0eeb08b4e4cdac660f16549c195db0a16392..43461de4c491e356e7ce47b59bd984f4095f6e00 100644 (file)
@@ -288,7 +288,6 @@ private:
                       HalfDiffKindBits);
 
     addRelocationForSection(R, SectionAID);
-    addRelocationForSection(R, SectionBID);
 
     return ++RelI;
   }