projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7329f
)
Fix handling of ENTRY in linker script.
author
Ian Lance Taylor
<iant@google.com>
Wed, 27 Feb 2008 15:09:16 +0000
(15:09 +0000)
committer
Ian Lance Taylor
<iant@google.com>
Wed, 27 Feb 2008 15:09:16 +0000
(15:09 +0000)
gold/script.cc
patch
|
blob
|
history
diff --git
a/gold/script.cc
b/gold/script.cc
index c7b26ef58581a6d2194cc3a234b0afba30e9c742..b5f2abb787f6bb75775734f138ab2cfbed315777 100644
(file)
--- 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());
}