aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
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;
}