aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-27 15:09:16 +0000
committerIan Lance Taylor <iant@google.com>2008-02-27 15:09:16 +0000
commit1890b465916e3233d9a6835efcb4f5b05875c60b (patch)
treebc9847bbbfb038e856b2cf14d2e76b6189ef5a76 /gold
parentaf7329f0ff70842d615f8af5fc3397d6892c8478 (diff)
downloadgdb-1890b465916e3233d9a6835efcb4f5b05875c60b.zip
gdb-1890b465916e3233d9a6835efcb4f5b05875c60b.tar.gz
gdb-1890b465916e3233d9a6835efcb4f5b05875c60b.tar.bz2
Fix handling of ENTRY in linker script.
Diffstat (limited to 'gold')
-rw-r--r--gold/script.cc2
1 files changed, 1 insertions, 1 deletions
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());
}