* config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
[deliverable/binutils-gdb.git] / gas / config / tc-mips.c
index 72177c1bd54768dcbe86c2130cd8db295473214b..611e775283cecaf777aedddebfa5600117eddf94 100644 (file)
@@ -13229,7 +13229,7 @@ tc_gen_reloc (section, fixp)
        abort ();
 
       /* newabi uses R_MIPS_GOT_DISP for local symbols */
-      if (HAVE_NEWABI && BFD_RELOC_MIPS_GOT_LO16)
+      if (HAVE_NEWABI && fixp->fx_r_type == BFD_RELOC_MIPS_GOT_LO16)
        {
          fixp->fx_r_type = BFD_RELOC_MIPS_GOT_DISP;
          retval[1] = NULL;
This page took 0.027083 seconds and 4 git commands to generate.