[PATCH] D31649: [mips] Adds support for R_MIPS_26, HIGHER, HIGHEST relocations in RuntimeDyld

Sagar Thakur via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 05:04:52 PDT 2017


slthakur planned changes to this revision.
slthakur added inline comments.


================
Comment at: lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:1393-1398
+      RelocationEntry RE(SectionID, Offset, RelType, Value.Addend);
+      if (Value.SymbolName)
+        addRelocationForSymbol(RE, Value.SymbolName);
+      else
+        addRelocationForSection(RE, Value.SectionID);
     }
----------------
Just realized I can use processSimpleRelocation here. I will update the diff with current TOT.


Repository:
  rL LLVM

https://reviews.llvm.org/D31649





More information about the llvm-commits mailing list