[ros-diffs] [tkreuzer] 39072: rsym64: add a temp hack, keeping the .eh_frame section, as windows cries when we remove it for some reason, needs more investigation what goes wrong.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Sat Jan 24 23:50:03 CET 2009


Author: tkreuzer
Date: Sat Jan 24 16:50:02 2009
New Revision: 39072

URL: http://svn.reactos.org/svn/reactos?rev=39072&view=rev
Log:
rsym64: add a temp hack, keeping the .eh_frame section, as windows cries when we remove it for some reason, needs more investigation what goes wrong.

Modified:
    branches/ros-amd64-bringup/reactos/tools/rsym/rsym64.c

Modified: branches/ros-amd64-bringup/reactos/tools/rsym/rsym64.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools/rsym/rsym64.c?rev=39072&r1=39071&r2=39072&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/rsym/rsym64.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/rsym/rsym64.c [iso-8859-1] Sat Jan 24 16:50:02 2009
@@ -802,7 +802,8 @@
             pName = File->Strings + index;
             
             // Hack, simply remove all sections with long names
-            File->UseSection[i] = 0;
+            if (strcmp(pName, ".eh_frame") != 0)
+                File->UseSection[i] = 0;
         }
 
         /* Chek if we have the eh_frame section */
@@ -830,7 +831,7 @@
     /* Create new section headers */
     for (i = 0, j = 0; i < File->AllSections; i++)
     {
-        if (File->UseSection[i])
+        if (1+File->UseSection[i])
         {
             /* Copy section header */
             File->NewSectionHeaders[j] =



More information about the Ros-diffs mailing list