[gas/]
[deliverable/binutils-gdb.git] / gas / config / tc-mips.c
index 0290587dd9d0a19c18a98f8725191de162eb89f5..c8eba550b96a70215bde372dcdedb57fd7a70e18 100644 (file)
@@ -12694,7 +12694,7 @@ tc_gen_reloc (section, fixp)
      stop md_apply_fix3 from subtracting twice in the first place since
      the fake addend is required for variant frags above.  */
   if (fixp->fx_addsy != NULL && OUTPUT_FLAVOR == bfd_target_elf_flavour
-      && code == BFD_RELOC_GPREL16
+      && (code == BFD_RELOC_GPREL16 || code == BFD_RELOC_MIPS16_GPREL)
       && reloc->addend != 0
       && mips_need_elf_addend_fixup (fixp))
     reloc->addend += S_GET_VALUE (fixp->fx_addsy);
This page took 0.0284 seconds and 4 git commands to generate.