Index: gold/parameters.cc |
=================================================================== |
--- a/gold/parameters.cc |
+++ b/gold/parameters.cc |
@@ -226,8 +226,11 @@ |
const char* ret = this->options().entry(); |
if (ret == NULL) |
{ |
+ if(this->target().machine_code() == elfcpp::EM_MIPS) |
robertm
2012/04/27 19:46:15
FYI: this will likely not work with pnacl
Aleksandar Simeonov
2012/05/08 15:21:42
MIPS has __start as default entry symbol (other ar
|
+ ret = "__start"; |
+ else |
// FIXME: Need to support target specific entry symbol. |
- ret = "_start"; |
+ ret = "_start"; |
} |
return ret; |
} |