diff mbox

[2/3] Exclude arm_find_proc_info and arm_put_unwind_info in case of UNW_REMOTE_ONLY

Message ID 1318520526-2874-3-git-send-email-ken.werner@linaro.org
State Accepted
Commit da4743f52a577c9bf005a23b39b021238763e5ee
Headers show

Commit Message

Ken Werner Oct. 13, 2011, 3:42 p.m. UTC
Signed-off-by: Ken Werner <ken.werner@linaro.org>
---
 src/arm/Gex_tables.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/src/arm/Gex_tables.c b/src/arm/Gex_tables.c
index 70ab57c..4352b0b 100644
--- a/src/arm/Gex_tables.c
+++ b/src/arm/Gex_tables.c
@@ -453,6 +453,7 @@  tdep_search_unwind_table (unw_addr_space_t as, unw_word_t ip,
   return -UNW_ENOINFO; 
 }
 
+#ifndef UNW_REMOTE_ONLY
 /**
  * Callback to dl_iterate_phdr to find infos about the ARM exidx segment.
  */
@@ -564,4 +565,5 @@  arm_put_unwind_info (unw_addr_space_t as, unw_proc_info_t *proc_info, void *arg)
 {
   /* it's a no-op */
 }
+#endif /* !UNW_REMOTE_ONLY */