Fix reporting typo.

This commit is contained in:
Unknown W. Brackets
2013-06-02 10:27:16 -07:00
parent 1cb007693f
commit 3468d7ddd9
+1 -1
View File
@@ -312,7 +312,7 @@ void WriteVarSymbol(u32 exportAddress, u32 relocAddress, u8 type)
*/
case R_MIPS_HI16:
if (lastHI16Processed)
if (!lastHI16Processed)
WARN_LOG_REPORT(LOADER, "Unsafe unpaired HI16 variable relocation @ %08x / %08x", lastHI16RelocAddress, relocAddress);
// After this will be an R_MIPS_LO16. If that addition overflows, we need to account for it in HI16.