This is a small patch to correct some make-check problems.
Need to autoreconf again.

After this patch is applied, the results should be:

===========================================
10 of 24 tests failed
Please report to [EMAIL PROTECTED]
===========================================

I'm still working on the failures. 

Thanks a lot,

-- 
Jose Flavio Aguilar Paulino
([EMAIL PROTECTED])
System / Software Engineer

Toolchain Team
LTC, Linux Technology Center
IBM Brazil
Index: libunwindTest3/libunwind/src/Makefile.am
===================================================================
--- libunwindTest3.orig/libunwind/src/Makefile.am
+++ libunwindTest3/libunwind/src/Makefile.am
@@ -216,8 +216,10 @@ libunwind_la_SOURCES_ppc64 = $(libunwind
         $(libunwind_la_SOURCES_local)                                   \
         $(dwarf_SOURCES_local)                                          \
         dwarf/Lfind_proc_info-lsb.c                                     \
+	ppc64/Lcreate_addr_space.c ppc64/Lget_save_loc.c		\
         ppc64/Lglobal.c ppc64/Linit.c ppc64/Linit_local.c               \
-        ppc64/Lis_signal_frame.c ppc64/Lget_proc_info.c ppc64/Lregs.c   \
+	ppc64/Linit_remote.c ppc64/Lis_signal_frame.c 			\
+	ppc64/Lget_proc_info.c ppc64/Lregs.c   				\
         ppc64/Lresume.c ppc64/Lstep.c
 
 # The list of files that go into libunwind-ppc64:
Index: libunwindTest3/libunwind/tests/flush-cache.S
===================================================================
--- libunwindTest3.orig/libunwind/tests/flush-cache.S
+++ libunwindTest3/libunwind/tests/flush-cache.S
@@ -46,7 +46,16 @@ flush_cache:
         .callinfo
         bv      %r0(%rp)
         .procend
-
+#elif defined(__powerpc64__)
+# warning IMPLEMENT ME!!
+	.globl flush_cache
+flush_cache:
+	lwz    11,  0(1)  ;
+        lwz     0,  4(11) ;
+        mtlr    0         ;
+        lwz    31, -4(11) ;
+	mr      1, 11     ;
+	blr
 #else
 # error Need flush_cache code for this architecture.
 #endif
Index: libunwindTest3/libunwind/src/ppc64/siglongjmp.S
===================================================================
--- libunwindTest3.orig/libunwind/src/ppc64/siglongjmp.S
+++ libunwindTest3/libunwind/src/ppc64/siglongjmp.S
@@ -23,3 +23,4 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
 
 	.globl _UI_siglongjmp_cont
 
+	_UI_siglongjmp_cont:  
Index: libunwindTest3/libunwind/src/ptrace/_UPT_find_proc_info.c
===================================================================
--- libunwindTest3.orig/libunwind/src/ptrace/_UPT_find_proc_info.c
+++ libunwindTest3/libunwind/src/ptrace/_UPT_find_proc_info.c
@@ -145,7 +145,7 @@ _UPTi_find_unwind_table (struct UPT_info
   return &ui->di_cache;
 }
 
-#elif UNW_TARGET_X86 || UNW_TARGET_X86_64 || UNW_TARGET_HPPA
+#elif UNW_TARGET_X86 || UNW_TARGET_X86_64 || UNW_TARGET_HPPA || UNW_TARGET_PPC64
 
 #include "dwarf-eh.h"
 #include "dwarf_i.h"
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to