* sh.c (output_far_jump): Emit braf only for TARGET_SH2.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Mon, 7 Dec 1998 08:18:29 +0000 (08:18 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Mon, 7 Dec 1998 08:18:29 +0000 (08:18 +0000)
From-SVN: r24144

gcc/ChangeLog
gcc/config/sh/sh.c

index d266e9c62481c223258c266cce5a70347745394d..6ecc632b2527564e61deb7f5eafc47eb397fddf1 100644 (file)
@@ -1,3 +1,7 @@
+Mon Dec  7 16:15:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * sh.c (output_far_jump): Emit braf only for TARGET_SH2.
+
 Sun Dec 6 04:19:45 PST 1998 Jeff Law  (law@cygnus.com)
 
        * version.c: Bump for snapshot.
index 9184528933bf26f9e13f68532381e90fa53c56a1..cb40718c05787f55cb36a9876234536dd729a886 100644 (file)
@@ -657,7 +657,9 @@ output_far_jump (insn, op)
 
   this.lab = gen_label_rtx ();
 
-  if (offset >= -32764 && offset - get_attr_length (insn) <= 32766)
+  if (TARGET_SH2
+      && offset >= -32764
+      && offset - get_attr_length (insn) <= 32766)
     {
       far = 0;
       jump = "mov.w    %O0,%1;braf     %1";