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

Unified Diff: gold/reloc.cc

Issue 10252012: [MIPS] Initial checkin for MIPS changes for GOLD. (Closed)
Patch Set: Updated MIPS code w/ SH_RELA. Created 8 years, 7 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
« no previous file with comments | « gold/output.cc ('k') | gold/symtab.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gold/reloc.cc
===================================================================
--- a/gold/reloc.cc
+++ b/gold/reloc.cc
@@ -743,6 +743,10 @@
if (shdr.get_sh_type() == elfcpp::SHT_NOBITS)
continue;
+ // For MIPS .reginfo section there is no need to do anything
+ if (shdr.get_sh_type() == elfcpp::SHT_MIPS_REGINFO)
+ continue;
+
if ((parameters->options().relocatable()
|| parameters->options().emit_relocs())
&& (shdr.get_sh_type() == elfcpp::SHT_REL
« no previous file with comments | « gold/output.cc ('k') | gold/symtab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698