From: Ken Raeburn Date: Tue, 10 Jan 1995 01:41:54 +0000 (+0000) Subject: * config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aac4d5a77f074861e6b7bd073f7fc869ef6e1ac3;p=binutils-gdb.git * config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure fr_symbol is null. (fill_section): Ditto. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7e0f3965588..5c083d59181 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +Mon Jan 9 16:22:28 1995 Ken Raeburn + + * 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 * config/tc-mips.c (mips_ip): Fix handling of floating point diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 3b62c52fb0b..b54e3d290b1 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -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: