From 3d83b18cf3e4e9a764124fff0083da3ab4924b1e Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sat, 20 Feb 2010 22:53:11 +0000 Subject: [PATCH] - Don't prepend fastcall forward's target with @. Fixes binding issues in videoprt, thanks to Olaf Siejka for identifying the issue. svn path=/trunk/; revision=45639 --- reactos/tools/winebuild/ros_diff.patch | 3 +-- reactos/tools/winebuild/spec32.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/tools/winebuild/ros_diff.patch b/reactos/tools/winebuild/ros_diff.patch index 07d9b13d156..7247ac10299 100644 --- a/reactos/tools/winebuild/ros_diff.patch +++ b/reactos/tools/winebuild/ros_diff.patch @@ -282,7 +282,7 @@ Index: spec32.c 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; } @@ -296,7 +296,6 @@ Index: spec32.c + 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 */ diff --git a/reactos/tools/winebuild/spec32.c b/reactos/tools/winebuild/spec32.c index 4c8c2554df5..f00ad120937 100644 --- a/reactos/tools/winebuild/spec32.c +++ b/reactos/tools/winebuild/spec32.c @@ -893,7 +893,6 @@ void BuildDef32File( DLLSPEC *spec ) 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 */ -- 2.17.1