* read.c (s_space): Don't warn about .space 0.

This commit is contained in:
Rainer Orth 2003-07-28 20:35:59 +00:00
parent dcd410fe15
commit 8d548edbc9
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* read.c (s_space): Don't warn about .space 0.
2003-07-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* config/tc-mips.c (mips_flag_pdr): Define.

View file

@ -2970,9 +2970,7 @@ s_space (mult)
bytes = repeat;
if (repeat <= 0)
{
if (!flag_mri)
as_warn (_(".space repeat count is zero, ignored"));
else if (repeat < 0)
if (repeat < 0)
as_warn (_(".space repeat count is negative, ignored"));
goto getout;
}