diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-06-25 00:45:22 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-06-27 14:22:25 -0700 |
commit | 67b1d28b5214bd5dfff1817a1771d0435ff44591 (patch) | |
tree | cb5327147eee64c73deac27e43124299f4dc6df2 /libsframe | |
parent | 632c5372771a6f167f3be554b2f84582169ffc07 (diff) | |
download | binutils-67b1d28b5214bd5dfff1817a1771d0435ff44591.zip binutils-67b1d28b5214bd5dfff1817a1771d0435ff44591.tar.gz binutils-67b1d28b5214bd5dfff1817a1771d0435ff44591.tar.bz2 |
Set BFD_DECOMPRESS when reading build-id debuglink
We should set BFD_DECOMPRESS to decompress sections unless dumping the
section contents when reading build-id debuglink.
PR binutils/31925
* objdump.c (open_debug_file): Set BFD_DECOMPRESS to decompress
sections unless dumping the section contents.
* testsuite/binutils-all/objdump.exp (test_build_id_debuglink):
Add a compress option.
Run test_build_id_debuglink with none and zlib.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'libsframe')
0 files changed, 0 insertions, 0 deletions