Fix: DT_DEBUG was acting as DT_REL on mips64

Change-Id: I88827aa07d75d06d606c987e6270fcca3ae6216f
This commit is contained in:
Dmitriy Ivanov 2015-02-13 16:29:50 -08:00
parent 13ed3f0af1
commit c6292ea39c

View file

@ -2040,8 +2040,8 @@ bool soinfo::prelink_image() {
if ((dynamic_flags & PF_W) != 0) {
d->d_un.d_val = reinterpret_cast<uintptr_t>(&_r_debug);
}
break;
#endif
break;
#if defined(USE_RELA)
case DT_RELA:
rela_ = reinterpret_cast<ElfW(Rela)*>(load_bias + d->d_un.d_ptr);