* 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 ebf09ce..6b10cd1 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 eb267c7..abfe79f 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'