aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-07-28 20:35:59 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2003-07-28 20:35:59 +0000
commit8d548edbc907fc29e0d5d48b5c5f0004efeb52c9 (patch)
tree1ba449d37ee08718ca20a95348557a18aecbf4da /gas
parentdcd410fe154407950c2b6783093f58e120cb0286 (diff)
downloadgdb-8d548edbc907fc29e0d5d48b5c5f0004efeb52c9.zip
gdb-8d548edbc907fc29e0d5d48b5c5f0004efeb52c9.tar.gz
gdb-8d548edbc907fc29e0d5d48b5c5f0004efeb52c9.tar.bz2
* read.c (s_space): Don't warn about .space 0.
Diffstat (limited to 'gas')
-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;
}