From 9abe0decf00fcff77c930846d05532ea2349e860 Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Thu, 3 Apr 2003 07:59:15 +0000 Subject: [PATCH] (ia64_init): Call _ULia64_local_addr_space_init() only if UNW_GENERIC_ONLY is not defined. (Logical change 1.75) --- src/ia64/global-ia64.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ia64/global-ia64.c b/src/ia64/global-ia64.c index 242219e3..3195db00 100644 --- a/src/ia64/global-ia64.c +++ b/src/ia64/global-ia64.c @@ -108,7 +108,6 @@ HIDDEN void ia64_init (void) { extern void unw_hash_index_t_is_too_narrow (void); - extern void _ULia64_local_addr_space_init (void); uint8_t f1_bytes[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 @@ -163,6 +162,11 @@ ia64_init (void) #ifndef UNW_REMOTE_ONLY _Uia64_local_addr_space_init (); - _ULia64_local_addr_space_init (); +# ifndef UNW_GENERIC_ONLY + { + extern void _ULia64_local_addr_space_init (void); + _ULia64_local_addr_space_init (); + } +# endif #endif }