* bout.c (b_out_write_object_contents): Don't use sizeof on host
authorAlan Modra <amodra@gmail.com>
Tue, 1 Mar 2005 00:38:52 +0000 (00:38 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 1 Mar 2005 00:38:52 +0000 (00:38 +0000)
commit70bfececf5f88eb75203859f69a5382bad663f9b
treee9e9a47016378a8d4b1c004d9ab113aaf963110c
parent2ac2974bafe7ff678bffabfaf9f80c818d7572a5
* 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