It is not clear what is special about wchar on PPC64, and no one can
remember why this was added.
Removing.
---
tests/Makefile.am | 8 +++-----
tests/ppc64-test-wchar.c | 20 --------------------
2 files changed, 3 insertions(+), 25 deletions(-)
delete mode 100644 tests/ppc64-test-wchar.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9902d55..74d2ed2 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -29,14 +29,13 @@ if ARCH_IA64
Gia64-test-rbs Lia64-test-rbs \
Gia64-test-readonly Lia64-test-readonly \
ia64-test-setjmp ia64-test-sig
-else
+else #!ARCH_IA64
if ARCH_PPC64
if USE_ALTIVEC
- noinst_PROGRAMS_arch_altivec = ppc64-test-altivec ppc64-test-wchar
+ noinst_PROGRAMS_arch = ppc64-test-altivec
endif #USE_ALTIVEC
- noinst_PROGRAMS_arch = $(noinst_PROGRAMS_arch_altivec) ppc64-test-wchar
endif #ARCH_PPC64
-endif #ARCH_IA64
+endif #!ARCH_IA64
check_SCRIPTS_cdep = run-ptrace-mapper run-ptrace-misc
check_PROGRAMS_cdep = Gtest-bt Ltest-bt Gtest-exc Ltest-exc \
Gtest-init Ltest-init \
@@ -106,7 +105,6 @@ Gia64_test_nat_SOURCES = Gia64-test-nat.c
ia64-test-nat-asm.S
ia64_test_dyn1_SOURCES = ia64-test-dyn1.c ia64-dyn-asm.S flush-cache.S \
flush-cache.h
ppc64_test_altivec_SOURCES = ppc64-test-altivec.c ppc64-test-altivec-utils.c
-ppc64_test_wchar_SOURCES = ppc64-test-wchar.c
Gtest_init_SOURCES = Gtest-init.cxx
Ltest_init_SOURCES = Ltest-init.cxx
Ltest_cxx_exceptions_SOURCES = Ltest-cxx-exceptions.cxx
diff --git a/tests/ppc64-test-wchar.c b/tests/ppc64-test-wchar.c
deleted file mode 100644
index 01d637c..0000000
--- a/tests/ppc64-test-wchar.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <wchar.h>
-#include <stdio.h>
-main ()
-{
- wchar_t *wstring =
- L"Now is the time for all good men to come to the aid of their country";
- int i;
- int ret;
-
- printf("wcslen(wstring) = %d\n", wcslen(wstring));
- for (i = 0; i < wcslen (wstring); i++)
- {
- ret = printf ("%lc", wstring[i]);
- if (ret != 1) {
- printf("printf returned: %d\n", ret);
- perror("Linux says");
- }
- }
- printf("\n");
-}
--
1.7.11.3
_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel