* config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure
authorKen Raeburn <raeburn@cygnus>
Tue, 10 Jan 1995 01:41:54 +0000 (01:41 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 10 Jan 1995 01:41:54 +0000 (01:41 +0000)
fr_symbol is null.
(fill_section): Ditto.

gas/ChangeLog
gas/config/obj-coff.c

index 7e0f3965588137dcfba48ee949ca81f86692bf36..5c083d5918159d3e07cdc54d39b7241433de1881 100644 (file)
@@ -1,3 +1,9 @@
+Mon Jan  9 16:22:28 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/obj-coff.c (size_section): Handle rs_space like rs_fill,
+       but make sure fr_symbol is null.
+       (fill_section): Ditto.
+
 Sun Jan  8 16:14:19 1995  Ian Lance Taylor  <ian@tweedledumb.cygnus.com>
 
        * config/tc-mips.c (mips_ip): Fix handling of floating point
index 3b62c52fb0bb171a6635e95d3a648e7238410914..b54e3d290b1239fb5dc797b89a8f17daf9d6ad45 100644 (file)
@@ -1485,6 +1485,8 @@ size_section (abfd, idx)
          size += TC_COFF_SIZEMACHDEP (frag);
          break;
 #endif
+       case rs_space:
+         assert (frag->fr_symbol == 0);
        case rs_fill:
        case rs_org:
          size += frag->fr_fix;
@@ -1737,6 +1739,8 @@ fill_section (abfd, h, file_cursor)
                    }
 
                  break;
+               case rs_space:
+                 assert (frag->fr_symbol == 0);
                case rs_fill:
                case rs_align:
                case rs_org: