* config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure

fr_symbol is null.
(fill_section): Ditto.
This commit is contained in:
Ken Raeburn
1995-01-10 01:41:54 +00:00
parent a42b1d054c
commit aac4d5a77f
2 changed files with 10 additions and 0 deletions

View 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> 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 * config/tc-mips.c (mips_ip): Fix handling of floating point

View File

@ -1485,6 +1485,8 @@ size_section (abfd, idx)
size += TC_COFF_SIZEMACHDEP (frag); size += TC_COFF_SIZEMACHDEP (frag);
break; break;
#endif #endif
case rs_space:
assert (frag->fr_symbol == 0);
case rs_fill: case rs_fill:
case rs_org: case rs_org:
size += frag->fr_fix; size += frag->fr_fix;
@ -1737,6 +1739,8 @@ fill_section (abfd, h, file_cursor)
} }
break; break;
case rs_space:
assert (frag->fr_symbol == 0);
case rs_fill: case rs_fill:
case rs_align: case rs_align:
case rs_org: case rs_org: