Put a NULL entry point if explicitly asked for. Thanks w3seek for his help on this issue

svn path=/trunk/; revision=24007
This commit is contained in:
Hervé Poussineau 2006-09-09 20:39:50 +00:00
parent e10a07af00
commit bc6649b746

View file

@ -1110,6 +1110,8 @@ string
Module::GetEntryPoint(bool leadingUnderscore) const
{
string result = "";
if (entrypoint == "0" || entrypoint == "0x0")
return "0";
if (leadingUnderscore)
result = "_";