summaryrefslogtreecommitdiff
path: root/src/dwarf/Gfind_proc_info-lsb.c
diff options
context:
space:
mode:
authorAdeel <3840695+am11@users.noreply.github.com>2022-08-05 12:41:07 +0300
committerStephen M. Webb <stephen.webb@bregmasoft.ca>2022-08-05 16:28:34 -0400
commit67fb02721cbd846c8cc13a18e071cbf9c4dd1c1c (patch)
tree6872f2653e8b4cf2849d284ce73bf7e16f9bdc1a /src/dwarf/Gfind_proc_info-lsb.c
parentb7d796e5a3c68ae84cc2f9d4c8e663557dbacf01 (diff)
downloadlibunwind-67fb02721cbd846c8cc13a18e071cbf9c4dd1c1c.tar.gz
Fix __SOFTFP__ case for arm getcontext
Diffstat (limited to 'src/dwarf/Gfind_proc_info-lsb.c')
-rw-r--r--src/dwarf/Gfind_proc_info-lsb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dwarf/Gfind_proc_info-lsb.c b/src/dwarf/Gfind_proc_info-lsb.c
index 196cfca3..8ead48f0 100644
--- a/src/dwarf/Gfind_proc_info-lsb.c
+++ b/src/dwarf/Gfind_proc_info-lsb.c
@@ -135,9 +135,9 @@ load_debug_frame (const char *file, char **buf, size_t *bufsize, int is_local,
#if defined(SHF_COMPRESSED)
if (shdr->sh_flags & SHF_COMPRESSED)
{
- unsigned long destSize;
Elf_W (Chdr) *chdr = (shdr->sh_offset + ei.image);
#ifdef HAVE_ZLIB
+ unsigned long destSize;
if (chdr->ch_type == ELFCOMPRESS_ZLIB)
{
*bufsize = destSize = chdr->ch_size;