am 42049f4b: am fbaddda9: Merge "Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP"

* commit '42049f4b9cf881e739ace101f1e06aed6c1f4f51':
  Linker writes to wrong memory location when processing DT_MIPS_RLD_MAP
This commit is contained in:
Elliott Hughes
2014-02-20 14:01:20 +00:00
committed by Android Git Automerger

View File

@@ -1744,7 +1744,7 @@ static bool soinfo_link_image(soinfo* si) {
case DT_MIPS_RLD_MAP:
// Set the DT_MIPS_RLD_MAP entry to the address of _r_debug for GDB.
{
r_debug** dp = reinterpret_cast<r_debug**>(d->d_un.d_ptr);
r_debug** dp = reinterpret_cast<r_debug**>(base + d->d_un.d_ptr);
*dp = &_r_debug;
}
break;