Fix: DT_DEBUG was acting as DT_REL on mips64
Change-Id: I88827aa07d75d06d606c987e6270fcca3ae6216f
This commit is contained in:
parent
13ed3f0af1
commit
c6292ea39c
|
@ -2040,8 +2040,8 @@ bool soinfo::prelink_image() {
|
||||||
if ((dynamic_flags & PF_W) != 0) {
|
if ((dynamic_flags & PF_W) != 0) {
|
||||||
d->d_un.d_val = reinterpret_cast<uintptr_t>(&_r_debug);
|
d->d_un.d_val = reinterpret_cast<uintptr_t>(&_r_debug);
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
#endif
|
#endif
|
||||||
|
break;
|
||||||
#if defined(USE_RELA)
|
#if defined(USE_RELA)
|
||||||
case DT_RELA:
|
case DT_RELA:
|
||||||
rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr);
|
rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr);
|
||||||
|
|
Loading…
Reference in New Issue