* 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 73135fe..c5d20f3 100644 (file)
@@ -1,5 +1,9 @@
 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.
        (md_begin) [OBJ_ELF]: Use it to control .pdr creation.
        (s_mips_end) [OBJ_ELF]: Likewise.
index ef2340c..de405cc 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;
            }