From 2d150871cf7f7ecf65cd86652a01b31237c49989 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Wed, 30 Jul 2003 17:21:52 +0000 Subject: [PATCH] * read.c (s_space): Revert 2003-07-28 change. --- gas/ChangeLog | 4 ++++ gas/read.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 3e3df652119..7a0bb088476 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-07-30 Rainer Orth + + * read.c (s_space): Revert 2003-07-28 change. + 2003-07-30 Alan Modra * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*. diff --git a/gas/read.c b/gas/read.c index de405cc52fb..ef2340caa0e 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; } -- 2.30.2