Chromium Code Reviews| 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 |