]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR 33033, Support compressed debug sections larger than 4 GiB
authorRui Ueyama <rui314@gmail.com>
Sat, 31 May 2025 12:16:34 +0000 (21:16 +0900)
committerAlan Modra <amodra@gmail.com>
Sun, 1 Jun 2025 03:50:59 +0000 (13:20 +0930)
commit0921b99dafd5a754468974831f8a016e10a85fb7
treedc124a4780387281a14ffe9b43eebbc5e66c69c9
parent4187ba1fc737e7de0a1de294d1ccbacd74ba16c6
PR 33033, Support compressed debug sections larger than 4 GiB

z_stream's avail_in and avail_out are defined as "unsigned int", so it
cannot decode an entire compressed stream in one pass if the stream is
larger than 4 GiB. The simplest solution to this problem is to use zlib's
convenient uncompress2() function, which handles the details for us.

Signed-off-by: Rui Ueyama <rui314@gmail.com>
bfd/compress.c