aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/write.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ebf09ce..6b10cd1 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/write.c b/gas/write.c
index eb267c7..abfe79f 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -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'