am 09d13c39: Merge "Fix my git mistake."

* commit '09d13c393e7b6a77cc33e5ef87e5c92ccd13fe63':
  Fix my git mistake.
This commit is contained in:
Elliott Hughes 2013-01-14 10:08:56 -08:00 committed by Android Git Automerger
commit 375db86aea

View file

@ -1571,8 +1571,9 @@ static bool soinfo_link_image(soinfo* si) {
case DT_DEBUG:
// Set the DT_DEBUG entry to the address of _r_debug for GDB
// if the dynamic table is writable
if (dynamic_flags & PF_W)
if ((dynamic_flags & PF_W) != 0) {
*d = (int) &_r_debug;
}
break;
case DT_RELA:
DL_ERR("unsupported DT_RELA in \"%s\"", si->name);