Use bfd_putb64/bfd_getb64
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Apr 2015 16:01:43 +0000 (09:01 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Apr 2015 16:02:52 +0000 (09:02 -0700)
commit4aa90cc007ff1e7c6525b3f5e573e3a4242091fa
treec2facfd8e1e98ecf2064cd76e8d8f4b563b49436
parentfd5136e57ca26072fa015a7563ba019b1b2b7d73
Use bfd_putb64/bfd_getb64

bfd/

* compress.c (get_uncompressed_size): Removed.
(bfd_compress_section_contents): Use bfd_putb64 to write
uncompressed section size.
(bfd_init_section_decompress_status): Replace
get_uncompressed_size with bfd_getb64.

gas/

* write.c (compress_debug): Use bfd_putb64 to write uncompressed
section size.
bfd/ChangeLog
bfd/compress.c
gas/ChangeLog
gas/write.c