From fc405bb3c2ae5208f1cd28f7a37263a700a94925 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Wed, 20 Jan 2010 14:09:50 +0000 Subject: [PATCH] [RBUILD]: Use correct kernel entrypoint symbol name. Forgot to commit this earlier. Please, next time before you harass us with e-mails, try to read your logs. LD choses a random entrypoint if the symbol cannot be found. svn path=/trunk/; revision=45162 --- reactos/tools/rbuild/module.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index dd59e0bdc86..df83ee2bb6c 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -1113,7 +1113,8 @@ Module::GetDefaultModuleEntrypoint () const switch ( type ) { case Kernel: - return "KiSystemStartup"; + if (Environment::GetArch() == "arm") return "KiSystemStartup"; + return "KiSystemStartup@4"; case KeyboardLayout: case KernelModeDLL: case KernelModeDriver: