Browse Source

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

fr_symbol is null.
(fill_section): Ditto.
gdb-4_18-branch
Ken Raeburn 32 years ago
parent
commit
aac4d5a77f
  1. 6
      gas/ChangeLog
  2. 4
      gas/config/obj-coff.c

6
gas/ChangeLog

@ -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

4
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:

Loading…
Cancel
Save