Merge "Fix mips relocation to use load_bias as intended"

This commit is contained in:
Dmitriy Ivanov
2015-04-29 21:58:56 +00:00
committed by Gerrit Code Review

View File

@@ -128,7 +128,7 @@ bool soinfo::relocate(ElfRelIteratorT&& rel_iterator,
if (s != nullptr) { if (s != nullptr) {
*reinterpret_cast<ElfW(Addr)*>(reloc) += sym_addr; *reinterpret_cast<ElfW(Addr)*>(reloc) += sym_addr;
} else { } else {
*reinterpret_cast<ElfW(Addr)*>(reloc) += base; *reinterpret_cast<ElfW(Addr)*>(reloc) += load_bias;
} }
break; break;
default: default: