aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-10 21:36:37 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-10 21:36:37 +0000
commit1bf67e0db815f3248e7296beded23a9dbfbc9d41 (patch)
tree639a6380672812d5ae5b14ee0c5c329cedb00aa9
parent41e60a8210145f7d28995754ca43de3fc37eb2b4 (diff)
downloadgdb-1bf67e0db815f3248e7296beded23a9dbfbc9d41.zip
gdb-1bf67e0db815f3248e7296beded23a9dbfbc9d41.tar.gz
gdb-1bf67e0db815f3248e7296beded23a9dbfbc9d41.tar.bz2
* read.c (read_a_source_file): Only declare inescape if
QUOTES_IN_INSN.
-rw-r--r--gas/ChangeLog9
-rw-r--r--gas/read.c5
2 files changed, 13 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 087bcf8..e1d0f10 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,14 @@
1999-06-11 Ian Lance Taylor <ian@zembu.com>
+ * read.c (read_a_source_file): Only declare inescape if
+ QUOTES_IN_INSN.
+
+ * itbl-ops.c (itbl_disassemble): Change sprintf format strings to
+ match parameters.
+ (find_entry_byval): Add parens to avoid warning.
+
+ * as.c: If HAVE_ITBL_CPU, include "itbl-ops.h".
+
* symbols.c (resolve_symbol_value): Don't permit subtraction of
undefined symbols.
diff --git a/gas/read.c b/gas/read.c
index 6d34511..9b57438 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -829,7 +829,10 @@ read_a_source_file (name)
}
else
{
- int inquote = 0, inescape = 0;
+ int inquote = 0;
+#ifdef QUOTES_IN_INSN
+ int inescape = 0;
+#endif
/* WARNING: c has char, which may be end-of-line. */
/* Also: input_line_pointer->`\0` where c was. */