mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-29 10:17:38 +01:00
Restore the linking when --enable-debug-frame is not specified
This commit is contained in:
parent
00aed9631b
commit
b3757e7792
1 changed files with 4 additions and 0 deletions
|
@ -210,6 +210,7 @@ _UPTi_find_unwind_table (struct UPT_info *ui, unw_addr_space_t as,
|
|||
}
|
||||
}
|
||||
if (!ptxt || !peh_hdr)
|
||||
#ifdef CONFIG_DEBUG_FRAME
|
||||
{
|
||||
/* No .eh_frame found, try .debug_frame. */
|
||||
struct dl_phdr_info info;
|
||||
|
@ -235,6 +236,9 @@ _UPTi_find_unwind_table (struct UPT_info *ui, unw_addr_space_t as,
|
|||
else
|
||||
return NULL;
|
||||
}
|
||||
#else
|
||||
return NULL;
|
||||
#endif
|
||||
|
||||
if (pdyn)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue