diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-27 15:09:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-27 15:09:16 +0000 |
commit | 1890b465916e3233d9a6835efcb4f5b05875c60b (patch) | |
tree | bc9847bbbfb038e856b2cf14d2e76b6189ef5a76 /gold/script.cc | |
parent | af7329f0ff70842d615f8af5fc3397d6892c8478 (diff) | |
download | gdb-1890b465916e3233d9a6835efcb4f5b05875c60b.zip gdb-1890b465916e3233d9a6835efcb4f5b05875c60b.tar.gz gdb-1890b465916e3233d9a6835efcb4f5b05875c60b.tar.bz2 |
Fix handling of ENTRY in linker script.
Diffstat (limited to 'gold/script.cc')
-rw-r--r-- | gold/script.cc | 2 |
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()); } |