aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
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/read.c
parent52f20b276f916eab817814cd731f20440dad3bb4 (diff)
downloadfsf-binutils-gdb-2d150871cf7f7ecf65cd86652a01b31237c49989.zip
fsf-binutils-gdb-2d150871cf7f7ecf65cd86652a01b31237c49989.tar.gz
fsf-binutils-gdb-2d150871cf7f7ecf65cd86652a01b31237c49989.tar.bz2
* read.c (s_space): Revert 2003-07-28 change.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c4
1 files changed, 3 insertions, 1 deletions
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;
}