mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* 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:
@ -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:
|
||||
|
Reference in New Issue
Block a user