(m32r_check_fixup): Fixed X_op check.
authorNick Clifton <nickc@redhat.com>
Fri, 29 Jul 2005 13:52:00 +0000 (13:52 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 29 Jul 2005 13:52:00 +0000 (13:52 +0000)
gas/ChangeLog
gas/config/tc-m32r.c

index bd65c4b..5bdaec6 100644 (file)
@@ -1,3 +1,7 @@
+2005-07-29  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check.
+
 2007-07-27  H.J. Lu <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (handle_large_common): Declare only for ELF.
index 978f373..54452c5 100644 (file)
@@ -479,7 +479,7 @@ m32r_check_fixup (expressionS *main_exp, bfd_reloc_code_real_type *r_type_p)
         return 0;
     }
 
-  if (exp->X_op == O_PIC_reloc || exp->X_md != BFD_RELOC_UNUSED)
+  if (exp->X_op == O_PIC_reloc)
     {
       *r_type_p = exp->X_md;
       if (exp == main_exp)