Author: dgorbachev
Date: Mon Sep  5 15:37:35 2011
New Revision: 53603

URL: http://svn.reactos.org/svn/reactos?rev=53603&view=rev
Log:
[RSYM]
.stab/.stabstr sections have no IMAGE_SCN_LNK_REMOVE flag now.

Modified:
    trunk/reactos/tools/rsym/rsym.c

Modified: trunk/reactos/tools/rsym/rsym.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rsym/rsym.c?rev=53603&r1=53602&r2=53603&view=diff
==============================================================================
--- trunk/reactos/tools/rsym/rsym.c [iso-8859-1] (original)
+++ trunk/reactos/tools/rsym/rsym.c [iso-8859-1] Mon Sep  5 15:37:35 2011
@@ -557,7 +557,7 @@
       if ((0 == StartOfRawData
            || InSectionHeaders[Section].PointerToRawData < StartOfRawData)
           && 0 != InSectionHeaders[Section].PointerToRawData
-          && 0 == (InSectionHeaders[Section].Characteristics & 
IMAGE_SCN_LNK_REMOVE))
+          && 0 != (strncmp(InSectionHeaders[Section].Name, ".stab", 5)))
         {
           StartOfRawData = InSectionHeaders[Section].PointerToRawData;
         }
@@ -609,7 +609,7 @@
   OutRelocSection = NULL;
   for (Section = 0; Section < InFileHeader->NumberOfSections; Section++)
     {
-      if (0 == (InSectionHeaders[Section].Characteristics & 
IMAGE_SCN_LNK_REMOVE))
+      if (0 != (strncmp(InSectionHeaders[Section].Name, ".stab", 5)))
         {
           *CurrentSectionHeader = InSectionHeaders[Section];
           CurrentSectionHeader->PointerToLinenumbers = 0;


Reply via email to