elf.c (elf_zlib_fetch): Change pval argument to uint64_t *.
authorIan Lance Taylor <iant@golang.org>
Thu, 5 Oct 2017 16:39:38 +0000 (16:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 5 Oct 2017 16:39:38 +0000 (16:39 +0000)
commita978e26b8338e044dbc5e0f4624f2fe047eec5df
treef5418e0ea84da3f0e1ffe0072c8d249b9d0180b3
parent8e473f4f441b026599af595bc28125db87410873
elf.c (elf_zlib_fetch): Change pval argument to uint64_t *.

* elf.c (elf_zlib_fetch): Change pval argument to uint64_t *.
Read a four byte integer.
(elf_zlib_inflate): Change val to uint64_t.  Align pin to a 32-bit
boundary before ever calling elf_zlib_fetch.
* ztest.c (test_large): Simplify print statements a bit.

From-SVN: r253456
libbacktrace/ChangeLog
libbacktrace/elf.c
libbacktrace/ztest.c