aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/read.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 73135fe..c5d20f3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/read.c b/gas/read.c
index ef2340c..de405cc 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -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;
}