[MIPS] Support FR=0 emulation on FR=1 64-bit FP registers
Enables running of older MIPS NDK-built apps on mips64r6. Works with kernel supporting FRE emulation, and old kernels. Change-Id: I13923fe62cd83ad1d337f13a50f2eda2dfdd906f
This commit is contained in:

committed by
Dmitriy Ivanov

parent
6cc98af72b
commit
d02ec08427
@@ -2875,6 +2875,12 @@ bool soinfo::prelink_image() {
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(__mips__) && !defined(__LP64__)
|
||||
if (!mips_check_and_adjust_fp_modes()) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
DEBUG("si->base = %p, si->strtab = %p, si->symtab = %p",
|
||||
reinterpret_cast<void*>(base), strtab_, symtab_);
|
||||
|
||||
|
Reference in New Issue
Block a user