OSDN Git Service

Fix my git mistake.
authorElliott Hughes <enh@google.com>
Mon, 14 Jan 2013 17:56:21 +0000 (09:56 -0800)
committerElliott Hughes <enh@google.com>
Mon, 14 Jan 2013 17:56:21 +0000 (09:56 -0800)
This was the formatting change that was supposed to be in
cf23905a4bcc7bfdd109be5b6d69ad06877aa217.

Change-Id: Ib79fa031b68f6f541f532507eb589afeaedb831f

linker/linker.cpp

index 74a246d..0a89b72 100755 (executable)
@@ -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);