* read.c (s_fill): make the .fill size clamped error a warn and
authorSteve Chamberlain <sac@cygnus>
Thu, 6 Aug 1992 19:11:19 +0000 (19:11 +0000)
committerSteve Chamberlain <sac@cygnus>
Thu, 6 Aug 1992 19:11:19 +0000 (19:11 +0000)
fix bug where 0's were always placed.

gas/ChangeLog
gas/read.c

index 71611c6..e1026b7 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug  6 12:10:39 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * read.c (s_fill): make the .fill size clamped error a warn and
+       fix bug where 0's were always placed.
+
 Wed Aug  5 12:02:40 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
 
        * config/tc-m68k.c (md_pseudo_table): fix the .align thing
@@ -21,6 +26,8 @@ Fri Jul 31 21:53:28 1992  Ken Raeburn  (raeburn@cygnus.com)
        characteristics have been), default to 68020.  Don't need extra
        quotes around error string.
 
+
+
 Fri Jul 31 12:26:34 1992  Jim Wilson  (wilson@sphagnum.cygnus.com)
 
        * read.c (potable): Revert sac's incorrect change made Jul 13.
index 77398df..dfc1625 100644 (file)
@@ -805,7 +805,7 @@ void s_fill() {
         */
 #define BSD_FILL_SIZE_CROCK_8 (8)
        if (temp_size > BSD_FILL_SIZE_CROCK_8) {
-               as_bad(".fill size clamped to %d.", BSD_FILL_SIZE_CROCK_8);
+               as_warn(".fill size clamped to %d.", BSD_FILL_SIZE_CROCK_8);
                temp_size = BSD_FILL_SIZE_CROCK_8 ;
        } if (temp_size < 0) {
                as_warn("Size negative: .fill ignored.");
@@ -814,7 +814,7 @@ void s_fill() {
                as_warn("Repeat < 0, .fill ignored");
                temp_size = 0;
        }
-       temp_fill = get_absolute_expression ();
+
        if (temp_size && !need_pass_2) {
                p = frag_var(rs_fill, (int)temp_size, (int)temp_size, (relax_substateT)0, (symbolS *)0, temp_repeat, (char *)0);
                bzero (p, (int)temp_size);