* write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
authorIan Lance Taylor <ian@airs.com>
Thu, 20 Jun 1996 01:45:14 +0000 (01:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 20 Jun 1996 01:45:14 +0000 (01:45 +0000)
defined.

gas/ChangeLog
gas/write.c

index ebf09ce6dd20b714251210adcf71b5514ade3a3e..6b10cd183642a110d8f34fe81e6c8d9915df9d88 100644 (file)
@@ -1,5 +1,8 @@
 Wed Jun 19 11:31:50 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * write.c (is_dnrange): Only define if TC_GENERIC_RELAX_TABLE is
+       defined.
+
        * doc/as.texinfo: Document that any number of hex digits can
        follow \x.
 
index eb267c7daf84eb1bd3756501b9f0812a0070dbd9..abfe79f7fd7657e5c86b82132340fad002b716d9 100644 (file)
@@ -1797,6 +1797,7 @@ write_object_file ()
  */
 
 #ifndef md_relax_frag
+#ifdef TC_GENERIC_RELAX_TABLE
 
 /* Subroutines of relax_segment.  */
 static int 
@@ -1810,6 +1811,7 @@ is_dnrange (f1, f2)
   return 0;
 }
 
+#endif /* defined (TC_GENERIC_RELAX_TABLE) */
 #endif /* ! defined (md_relax_frag) */
 
 /* Relax_align. Advance location counter to next address that has 'alignment'