commit | 09d13c393e7b6a77cc33e5ef87e5c92ccd13fe63 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Jan 14 09:57:45 2013 -0800 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Jan 14 09:57:45 2013 -0800 |
tree | 9919075545798c33fd0a74700adbb43cce5d706a | |
parent | 48c632a381b10996ec72a53cc95b009b06785d09 [diff] | |
parent | 99c32055cb50443f722c55914869c1f6bb941959 [diff] |
Merge "Fix my git mistake."
diff --git a/linker/linker.cpp b/linker/linker.cpp index 74a246d..0a89b72 100755 --- a/linker/linker.cpp +++ b/linker/linker.cpp
@@ -1571,8 +1571,9 @@ 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);