OSDN Git Service

* bout.c (b_out_write_object_contents): Don't use sizeof on host
authorAlan Modra <amodra@bigpond.net.au>
Tue, 1 Mar 2005 00:38:52 +0000 (00:38 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 1 Mar 2005 00:38:52 +0000 (00:38 +0000)
commit47cf07cb8d7abbcd79753b4926b4386ff2bce9c4
tree544cd576693df5a1dd988e203d48ca4474406bcd
parentfc4fb0390e91714d729e8d1a6b2b557c2f6726bf
* bout.c (b_out_write_object_contents): Don't use sizeof on host
structs to size on-disk structures.
(b_out_set_section_contents): Size the external struct, not the
internal one for on-disk size.
(b_out_sizeof_headers): Likewise.
bfd/ChangeLog
bfd/bout.c