* elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set
authorAdam Nemet <anemet@caviumnetworks.com>
Thu, 3 Sep 2009 18:21:21 +0000 (18:21 +0000)
committerAdam Nemet <anemet@caviumnetworks.com>
Thu, 3 Sep 2009 18:21:21 +0000 (18:21 +0000)
has_static_relocs for R_MIPS_JALR.

bfd/ChangeLog
bfd/elfxx-mips.c

index b796e382229a94231754b70e4d57bd0cab3aa775..94dc04912d54684d6d02bc30225e2e4d92c8c1a7 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-03  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs): Don't set
+       has_static_relocs for R_MIPS_JALR.
+
 2009-09-03  Maciej W. Rozycki  <macro@codesourcery.com>
 
        * elf64-mips.c (mips_elf64_howto_table_rela): Add support for
index 75ce7a4e99bb64007e9cacbec9448ad675d8e9e8..cece0bc7070628d449926cd8cc326bb75053a304 100644 (file)
@@ -7503,6 +7503,11 @@ _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
            }
          break;
 
+         /* This is just a hint; it can safely be ignored.  Don't set
+            has_static_relocs for the corresponding symbol.  */
+       case R_MIPS_JALR:
+         break;
+
        case R_MIPS_32:
        case R_MIPS_REL32:
        case R_MIPS_64: