aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-07-30 17:21:52 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-07-30 17:21:52 +0000
commit2d150871cf7f7ecf65cd86652a01b31237c49989 (patch)
treea21085e1ef6c2f04b1cdc98736922b441b8213cc /gas
parent52f20b276f916eab817814cd731f20440dad3bb4 (diff)
downloadgdb-2d150871cf7f7ecf65cd86652a01b31237c49989.zip
gdb-2d150871cf7f7ecf65cd86652a01b31237c49989.tar.gz
gdb-2d150871cf7f7ecf65cd86652a01b31237c49989.tar.bz2
* read.c (s_space): Revert 2003-07-28 change.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/read.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3e3df65..7a0bb08 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * read.c (s_space): Revert 2003-07-28 change.
+
2003-07-30 Alan Modra <amodra@bigpond.net.au>
* config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*.
diff --git a/gas/read.c b/gas/read.c
index de405cc..ef2340c 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -2970,7 +2970,9 @@ s_space (mult)
bytes = repeat;
if (repeat <= 0)
{
- if (repeat < 0)
+ if (!flag_mri)
+ as_warn (_(".space repeat count is zero, ignored"));
+ else if (repeat < 0)
as_warn (_(".space repeat count is negative, ignored"));
goto getout;
}