diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-01-10 01:41:54 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-01-10 01:41:54 +0000 |
commit | aac4d5a77f074861e6b7bd073f7fc869ef6e1ac3 (patch) | |
tree | 6e8d06e13642357109d4cd19220936c0a948f47f | |
parent | a42b1d054c9694a9e290045770487fb152486945 (diff) | |
download | gdb-aac4d5a77f074861e6b7bd073f7fc869ef6e1ac3.zip gdb-aac4d5a77f074861e6b7bd073f7fc869ef6e1ac3.tar.gz gdb-aac4d5a77f074861e6b7bd073f7fc869ef6e1ac3.tar.bz2 |
* config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sure
fr_symbol is null.
(fill_section): Ditto.
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/obj-coff.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7e0f396..5c083d59 100644 --- a/gas/ChangeLog +++ b/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 diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 3b62c52..b54e3d2 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: |