]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elfxx-mips.c
bfd/
[thirdparty/binutils-gdb.git] / bfd / elfxx-mips.c
index 78f96c19e46b4dd9ba4ea86b12b2c65c488bdacb..a0694e3bccd4bd81a793e1b7afdf610159c014af 100644 (file)
@@ -7930,6 +7930,10 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
                  && strcmp (h->root.root.string, "_gp_disp") == 0)
                break;
 
+             /* Likewise __GOTT_BASE__ and __GOTT_INDEX__ on VxWorks.  */
+             if (is_gott_symbol (info, h))
+               break;
+
              /* FALLTHROUGH */
 
            case R_MIPS16_26: