* read.c (s_space): Revert 2003-07-28 change.

This commit is contained in:
Rainer Orth 2003-07-30 17:21:52 +00:00
parent 52f20b276f
commit 2d150871cf
2 changed files with 7 additions and 1 deletions

View file

@ -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*.

View file

@ -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;
}