Fix handling of ENTRY in linker script.

This commit is contained in:
Ian Lance Taylor 2008-02-27 15:09:16 +00:00
parent af7329f0ff
commit 1890b46591
1 changed files with 1 additions and 1 deletions

View File

@ -2113,7 +2113,7 @@ script_set_entry(void* closurev, const char* entry, size_t length)
{
// We'll parse this exactly the same as --entry=ENTRY on the commandline
// TODO(csilvers): FIXME -- call set_entry directly.
std::string arg("entry=");
std::string arg("--entry=");
arg.append(entry, length);
script_parse_option(closurev, arg.c_str(), arg.size());
}