[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH] mips: compile _UPTi_find_unwind_table()
From: |
Andreas Oberritter |
Subject: |
[Libunwind-devel] [PATCH] mips: compile _UPTi_find_unwind_table() |
Date: |
Tue, 10 Apr 2012 01:19:06 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
Fixes a linker error with ltrace:
| .../libunwind-ptrace.a(_UPT_find_proc_info.o): In function `get_unwind_info':
| .../_UPT_find_proc_info.c:419: undefined reference to
`_UPTi_find_unwind_table'
c.f. http://lists.gnu.org/archive/html/libunwind-devel/2010-11/msg00012.html
---
src/ptrace/_UPT_find_proc_info.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/ptrace/_UPT_find_proc_info.c b/src/ptrace/_UPT_find_proc_info.c
index ee0b698..2123447 100644
--- a/src/ptrace/_UPT_find_proc_info.c
+++ b/src/ptrace/_UPT_find_proc_info.c
@@ -147,7 +147,7 @@ _UPTi_find_unwind_table (struct UPT_info *ui,
unw_addr_space_t as,
}
#elif UNW_TARGET_X86 || UNW_TARGET_X86_64 || UNW_TARGET_HPPA \
-|| UNW_TARGET_PPC32 || UNW_TARGET_PPC64 || UNW_TARGET_ARM
+|| UNW_TARGET_PPC32 || UNW_TARGET_PPC64 || UNW_TARGET_ARM || UNW_TARGET_MIPS
#include "dwarf-eh.h"
#include "dwarf_i.h"
--
1.7.5.4
- [Libunwind-devel] [PATCH] mips: compile _UPTi_find_unwind_table(),
Andreas Oberritter <=