[PATCH] [PECOFF] Relocations now take into account the address which is stored at the relocation site

Rui Ueyama ruiu at google.com
Fri Jul 26 13:15:16 PDT 2013



================
Comment at: WriterPECOFF.cpp:294
@@ -293,1 +293,3 @@
+        // Also account for whatever offset is already stored at the relocation site
+        targetAddr += *relocSite;
 
----------------
Is this really the case? Looks like the MS COFF spec says nothing about this case.


http://llvm-reviews.chandlerc.com/D1229



More information about the llvm-commits mailing list