elf.c (codes): Fix size to be 288.
authorIan Lance Taylor <iant@golang.org>
Wed, 17 Jan 2018 01:39:05 +0000 (01:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 17 Jan 2018 01:39:05 +0000 (01:39 +0000)
commit566588f1a25e6c9f7206e5874edfbba6eec6e1a7
tree8e386b399e8c90b938f78800e4277e092ca54989
parent060619250dc83e38c9129babac5c243914056da5
elf.c (codes): Fix size to be 288.

* elf.c (codes) [GENERATE_FIXED_HUFFMAN_TABLE]: Fix size to be
288.
(main) [GENERATE_FIXED_HUFFMAN_TABLE]: Pass 288 to
elf_zlib_inflate_table.  Generate elf_zlib_default_dist_table.
(elf_zlib_default_table): Update.
(elf_zlib_default_dist_table): New static array.
(elf_zlib_inflate): Use elf_zlib_default_dist_table for dist table
for block type 1.
* ztest.c (struct zlib_test): Add uncompressed_len.
(tests): Initialize uncompressed_len field.  Add new test case.
(test_samples): Use uncompressed_len field.

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