]> Git Repo - binutils.git/commitdiff
Fix unresolved external error for sky_cpcond0 on non-SKY builds.
authorJames Lemke <jlemke@cygnus>
Tue, 16 Jun 1998 18:13:46 +0000 (18:13 +0000)
committerJames Lemke <jlemke@cygnus>
Tue, 16 Jun 1998 18:13:46 +0000 (18:13 +0000)
sim/mips/mips.igen

index 3f38d7a09b6fcbe44bf216de20a3134c4e0412c5..a9479b2f4735e50f310202ebf05c238f4286626f 100644 (file)
 *r5900:
 // start-sanitize-sky
 {
+#ifdef TARGET_SKY
   address_word offset = EXTEND16 (OFFSET) << 2;
   extern int sky_cpcond0;
   if (sky_cpcond0 == 0)
     DELAY_SLOT (NIA + offset);
+#endif    
 }
 // end-sanitize-sky
 // end-sanitize-r5900
 *r5900:
 // start-sanitize-sky
 {
+#ifdef TARGET_SKY
   address_word offset = EXTEND16 (OFFSET) << 2;
   extern int sky_cpcond0;
   if (sky_cpcond0 == 0)
     DELAY_SLOT (NIA + offset);
+#endif
 }
 // end-sanitize-sky
 // end-sanitize-r5900
 *r5900:
 // start-sanitize-sky
 {
+#ifdef TARGET_SKY
   address_word offset = EXTEND16 (OFFSET) << 2;
   extern int sky_cpcond0;
   if (sky_cpcond0 != 0)
     DELAY_SLOT (NIA + offset);
+#endif
 }
 // end-sanitize-sky
 // end-sanitize-r5900
 *r5900:
 // start-sanitize-sky
 {
+#ifdef TARGET_SKY
   address_word offset = EXTEND16 (OFFSET) << 2;
   extern int sky_cpcond0;
   if (sky_cpcond0 != 0)
     DELAY_SLOT (NIA + offset);
+#endif
 }
 // end-sanitize-sky
 // end-sanitize-r5900
This page took 0.032678 seconds and 4 git commands to generate.