From 99c32055cb50443f722c55914869c1f6bb941959 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 14 Jan 2013 09:56:21 -0800 Subject: Fix my git mistake. This was the formatting change that was supposed to be in cf23905a4bcc7bfdd109be5b6d69ad06877aa217. Change-Id: Ib79fa031b68f6f541f532507eb589afeaedb831f --- linker/linker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linker') 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); -- cgit v1.1