From: Rainer Orth Date: Wed, 30 Jul 2003 17:21:52 +0000 (+0000) Subject: * read.c (s_space): Revert 2003-07-28 change. X-Git-Tag: ezannoni_pie-20030916-branchpoint~564 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d150871cf7f7ecf65cd86652a01b31237c49989;p=thirdparty%2Fbinutils-gdb.git * read.c (s_space): Revert 2003-07-28 change. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 3e3df652119..7a0bb088476 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-07-30 Rainer Orth + + * read.c (s_space): Revert 2003-07-28 change. + 2003-07-30 Alan Modra * config/obj-elf.c (obj_elf_change_section): Allow "x" for .note*. diff --git a/gas/read.c b/gas/read.c index de405cc52fb..ef2340caa0e 100644 --- a/gas/read.c +++ b/gas/read.c @@ -2970,7 +2970,9 @@ s_space (mult) bytes = repeat; if (repeat <= 0) { - if (repeat < 0) + if (!flag_mri) + as_warn (_(".space repeat count is zero, ignored")); + else if (repeat < 0) as_warn (_(".space repeat count is negative, ignored")); goto getout; }