Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1621)

Unified Diff: gold/parameters.cc

Issue 10252012: [MIPS] Initial checkin for MIPS changes for GOLD. (Closed)
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698