backtrace: Fix symbol lookup in dynamic symtab via libbfd
authorTobias Brunner <tobias@strongswan.org>
Tue, 14 Oct 2014 15:26:48 +0000 (17:26 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 14 Oct 2014 15:26:48 +0000 (17:26 +0200)
src/libstrongswan/utils/backtrace.c

index e694cae..6dd68d6 100644 (file)
@@ -319,6 +319,7 @@ static bfd_entry_t *get_bfd_entry(char *filename)
                        if (size == 0)
                        {
                                size = bfd_get_dynamic_symtab_upper_bound(entry->abfd);
+                               dynamic = TRUE;
                        }
                        if (size >= 0)
                        {