[PATCH] D20120: Fix relocation problem when handling end section for Win x86
walter erquinigo via llvm-commits
llvm-commits at lists.llvm.org
Tue May 10 18:03:52 PDT 2016
wallace updated the summary for this revision.
wallace removed rL LLVM as the repository for this revision.
wallace updated this revision to Diff 56844.
wallace added a comment.
I've changed the approach
http://reviews.llvm.org/D20120
Files:
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
Index: lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
===================================================================
--- lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
+++ lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h
@@ -70,7 +70,8 @@
unsigned TargetSectionID = -1;
if (Section == Obj.section_end()) {
- RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
+ RelocationEntry RE(SectionID, Offset, COFF::IMAGE_REL_I386_ABSOLUTE, 0,
+ -1, 0, 0, 0, false, 0);
addRelocationForSymbol(RE, TargetName);
} else {
if (auto TargetSectionIDOrErr =
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20120.56844.patch
Type: text/x-patch
Size: 675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160511/d9d65e7f/attachment.bin>
More information about the llvm-commits
mailing list