- Don't prepend fastcall forward's target with @. Fixes binding issues in videoprt...
authorAleksey Bragin <aleksey@reactos.org>
Sat, 20 Feb 2010 22:53:11 +0000 (22:53 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sat, 20 Feb 2010 22:53:11 +0000 (22:53 +0000)
svn path=/trunk/; revision=45639

reactos/tools/winebuild/ros_diff.patch
reactos/tools/winebuild/spec32.c

index 07d9b13..7247ac1 100644 (file)
@@ -282,7 +282,7 @@ Index: spec32.c
              if (!kill_at && target_cpu == CPU_x86) output( "@%d", at_param );
              if  (odp->flags & FLAG_FORWARD)
              {
              if (!kill_at && target_cpu == CPU_x86) output( "@%d", at_param );
              if  (odp->flags & FLAG_FORWARD)
              {
-@@ -825,6 +883,51 @@
+@@ -825,6 +883,50 @@
              }
              break;
          }
              }
              break;
          }
@@ -296,7 +296,6 @@ Index: spec32.c
 +            if  (odp->flags & FLAG_FORWARD)
 +            {
 +                output( "=" );
 +            if  (odp->flags & FLAG_FORWARD)
 +            {
 +                output( "=" );
-+                if (!kill_at) output( "@" );
 +                output( "%s", odp->link_name );
 +            }
 +            else if (strcmp(name, odp->link_name)) /* try to reduce output */
 +                output( "%s", odp->link_name );
 +            }
 +            else if (strcmp(name, odp->link_name)) /* try to reduce output */
index 4c8c255..f00ad12 100644 (file)
@@ -893,7 +893,6 @@ void BuildDef32File( DLLSPEC *spec )
             if  (odp->flags & FLAG_FORWARD)
             {
                 output( "=" );
             if  (odp->flags & FLAG_FORWARD)
             {
                 output( "=" );
-                if (!kill_at) output( "@" );
                 output( "%s", odp->link_name );
             }
             else if (strcmp(name, odp->link_name)) /* try to reduce output */
                 output( "%s", odp->link_name );
             }
             else if (strcmp(name, odp->link_name)) /* try to reduce output */