From 1890b465916e3233d9a6835efcb4f5b05875c60b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 27 Feb 2008 15:09:16 +0000 Subject: Fix handling of ENTRY in linker script. --- gold/script.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold') diff --git a/gold/script.cc b/gold/script.cc index c7b26ef..b5f2abb 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -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()); } -- cgit v1.1