OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1cdf6a6
)
Fix handling of ENTRY in linker script.
author
iant
<iant>
Wed, 27 Feb 2008 15:09:16 +0000
(15:09 +0000)
committer
iant
<iant>
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
c7b26ef
..
b5f2abb
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.
{
// 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());
}
arg.append(entry, length);
script_parse_option(closurev, arg.c_str(), arg.size());
}