aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-04-15 22:46:58 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-04-15 22:46:58 +0000
commit68952421e6fb8a161faf40861d122f35a1e058fc (patch)
tree08ec15fa4f110cc63b4dc8dd351df0115ec4dbfb /gas/config
parentded64db806029988b6429ddb8817980733d62069 (diff)
downloadgdb-68952421e6fb8a161faf40861d122f35a1e058fc.zip
gdb-68952421e6fb8a161faf40861d122f35a1e058fc.tar.gz
gdb-68952421e6fb8a161faf40861d122f35a1e058fc.tar.bz2
Correct test for fpr pairs.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-mips.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index d518741..3f314ae 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -1211,11 +1211,11 @@ insn_uses_reg (ip, reg, class)
because there is no instruction that sets both $f0 and $f1
and requires a delay. */
if ((ip->insn_mo->pinfo & INSN_READ_FPR_S)
- && (((ip->insn_opcode >> OP_SH_FS) & OP_MASK_FS)
+ && ((((ip->insn_opcode >> OP_SH_FS) & OP_MASK_FS) &~(unsigned)1)
== (reg &~ (unsigned) 1)))
return 1;
if ((ip->insn_mo->pinfo & INSN_READ_FPR_T)
- && (((ip->insn_opcode >> OP_SH_FT) & OP_MASK_FT)
+ && ((((ip->insn_opcode >> OP_SH_FT) & OP_MASK_FT) &~(unsigned)1)
== (reg &~ (unsigned) 1)))
return 1;
}
@@ -1306,7 +1306,7 @@ mips16_mark_labels ()
for (l = insn_labels; l != NULL; l = l->next)
{
-#ifdef S_SET_OTHER
+#ifdef OBJ_ELF
if (OUTPUT_FLAVOR == bfd_target_elf_flavour)
S_SET_OTHER (l->label, STO_MIPS16);
#endif
@@ -8711,7 +8711,7 @@ md_apply_fix (fixP, valueP)
/* If we aren't adjusting this fixup to be against the section
symbol, we need to adjust the value. */
-#ifdef S_GET_OTHER
+#ifdef OBJ_ELF
if (fixP->fx_addsy != NULL
&& OUTPUT_FLAVOR == bfd_target_elf_flavour
&& S_GET_OTHER (fixP->fx_addsy) == STO_MIPS16)
@@ -10100,7 +10100,7 @@ mips_fix_adjustable (fixp)
return 0;
if (fixp->fx_addsy == NULL)
return 1;
-#ifdef S_GET_OTHER
+#ifdef OBJ_ELF
if (OUTPUT_FLAVOR == bfd_target_elf_flavour
&& S_GET_OTHER (fixp->fx_addsy) == STO_MIPS16
&& fixp->fx_subsy == NULL)