diff options
author | Elliott Hughes <enh@google.com> | 2013-01-14 09:56:21 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-01-14 09:56:21 -0800 |
commit | 99c32055cb50443f722c55914869c1f6bb941959 (patch) | |
tree | 9919075545798c33fd0a74700adbb43cce5d706a /linker | |
parent | 48c632a381b10996ec72a53cc95b009b06785d09 (diff) | |
download | bionic-99c32055cb50443f722c55914869c1f6bb941959.zip bionic-99c32055cb50443f722c55914869c1f6bb941959.tar.gz bionic-99c32055cb50443f722c55914869c1f6bb941959.tar.bz2 |
Fix my git mistake.
This was the formatting change that was supposed to be in
cf23905a4bcc7bfdd109be5b6d69ad06877aa217.
Change-Id: Ib79fa031b68f6f541f532507eb589afeaedb831f
Diffstat (limited to 'linker')
-rwxr-xr-x | linker/linker.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ 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); |