* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
	than just ignoring bad code.
 
            /* Don't allow complex expressions here.  */
            if (opjp->immediate.X_op_symbol != NULL)
-             return 0;
+             {
+               as_bad(_("invalid operand: expression in PT target"));
+               return 0;
+             }
 
            if (opjp->reloctype == BFD_RELOC_32_PLT_PCREL)
              init = max = min = SH64PCRELPLT;
 
            /* Don't allow complex expressions here.  */
            if (opjp->immediate.X_op_symbol != NULL)
-             return 0;
+             {
+               as_bad(_("invalid operand: expression in PT target"));
+               return 0;
+             }
 
            if (opjp->reloctype == BFD_RELOC_32_PLT_PCREL)
              init = max = min = SH64PCRELPLT;