aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>1999-10-12 11:07:34 +0000
committerAlan Modra <amodra@gmail.com>1999-10-12 11:07:34 +0000
commitc388dee89bc49429e1ed21a4fd4c3d5e9da21798 (patch)
treeadd0e5ee0968e2b57f4045d2ef4b7c2d23dcef5b
parentcf911c2a8250b33c74bf2c9c634926fcf3e6abdc (diff)
downloadgdb-c388dee89bc49429e1ed21a4fd4c3d5e9da21798.zip
gdb-c388dee89bc49429e1ed21a4fd4c3d5e9da21798.tar.gz
gdb-c388dee89bc49429e1ed21a4fd4c3d5e9da21798.tar.bz2
Nit fix.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-i386.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c3dd052..46f9b35 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+1999-10-12 Alan Modra <alan@spri.levels.unisa.edu.au>
+
+ * config/tc-i386.c (i386_index_check): Correct #endif location.
+
Mon Oct 11 14:02:40 1999 Geoffrey Keating <geoffk@cygnus.com>
* as.c (show_usage): Document new options.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 7397f43..1d8f07c 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -3067,11 +3067,11 @@ i386_index_check (operand_string)
fudged = 1;
goto tryprefix;
}
-#endif
if (fudged)
as_bad (_("`%s' is not a valid base/index expression"),
operand_string);
else
+#endif
as_bad (_("`%s' is not a valid %s bit base/index expression"),
operand_string,
flag_16bit_code ^ (i.prefix[ADDR_PREFIX] != 0) ? "16" : "32");