* elf32-sh.c (sh_elf_relocate_section): Ignore R_SH_NONE relocs.
[deliverable/binutils-gdb.git] / bfd / elf32-sh.c
index bd2b3ed7d84e1bb7966c0aabd5ab1f00f20a60d0..a3483035ed530e9496e4739d89ddb81f7107de71 100644 (file)
@@ -2904,6 +2904,8 @@ sh_elf_relocate_section (output_bfd, info, input_bfd, input_section,
       if (r_type > (int) R_SH_LAST_INVALID_RELOC
          && r_type < (int) R_SH_LOOP_START)
        continue;
+      if (r_type == (int) R_SH_NONE)
+       continue;
 
       if (r_type < 0
          || r_type >= R_SH_max
This page took 0.042605 seconds and 4 git commands to generate.