From bc6649b7461db82c0d02cc3a938732fea6c8b10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Sat, 9 Sep 2006 20:39:50 +0000 Subject: [PATCH] Put a NULL entry point if explicitly asked for. Thanks w3seek for his help on this issue svn path=/trunk/; revision=24007 --- reactos/tools/rbuild/module.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index 5aa42fb5a7a..4fee8b0bb5b 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -1110,6 +1110,8 @@ string Module::GetEntryPoint(bool leadingUnderscore) const { string result = ""; + if (entrypoint == "0" || entrypoint == "0x0") + return "0"; if (leadingUnderscore) result = "_";