* read.c (s_space): Don't warn about .space 0.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 28 Jul 2003 20:35:59 +0000 (20:35 +0000)
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 28 Jul 2003 20:35:59 +0000 (20:35 +0000)
gas/ChangeLog
gas/read.c

index 73135fec8fef8eda40616600f2ba1e0295495917..c5d20f3e7ab826c222ebc62ab525ee10c42339c4 100644 (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.
index ef2340caa0e7df90c893878048139c2e289be960..de405cc52fb39e832211d196434db6ea9bb099ef 100644 (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;
            }