Author: tkreuzer
Date: Thu Jun 3 16:49:47 2010
New Revision: 47539
URL:
http://svn.reactos.org/svn/reactos?rev=47539&view=rev
Log:
[RBUILD]
- append stdcall decoration only for i386 target
Modified:
trunk/reactos/tools/rbuild/module.cpp
Modified: trunk/reactos/tools/rbuild/module.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/module.cpp?re…
==============================================================================
--- trunk/reactos/tools/rbuild/module.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/module.cpp [iso-8859-1] Thu Jun 3 16:49:47 2010
@@ -1113,23 +1113,23 @@
switch ( type )
{
case Kernel:
- if (Environment::GetArch() == "arm") return "KiSystemStartup";
- return "KiSystemStartup@4";
+ if (Environment::GetArch() == "i386") return "KiSystemStartup@4";
+ return "KiSystemStartup";
case KeyboardLayout:
case KernelModeDLL:
case KernelModeDriver:
- if (Environment::GetArch() == "arm") return
"DriverEntry";
- return "DriverEntry@8";
+ if (Environment::GetArch() == "i386") return
"DriverEntry@8";
+ return "DriverEntry";
case NativeDLL:
- if (Environment::GetArch() == "arm") return
"DllMainCRTStartup";
- return "DllMainCRTStartup@12";
+ if (Environment::GetArch() == "i386") return
"DllMainCRTStartup@12";
+ return "DllMainCRTStartup";
case NativeCUI:
- if (Environment::GetArch() == "arm") return
"NtProcessStartup";
- return "NtProcessStartup@4";
+ if (Environment::GetArch() == "i386") return
"NtProcessStartup@4";
+ return "NtProcessStartup";
case Win32DLL:
case Win32OCX:
- if (Environment::GetArch() == "arm") return "DllMain";
- return "DllMain@12";
+ if (Environment::GetArch() == "i386") return
"DllMain@12";
+ return "DllMain";
case Win32CUI:
case Test:
return "mainCRTStartup";