[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 07/17] ppc64: remove tests/ppc64-test-wchar
From: |
Cody P Schafer |
Subject: |
[Libunwind-devel] [PATCH 07/17] ppc64: remove tests/ppc64-test-wchar |
Date: |
Fri, 14 Sep 2012 17:11:52 -0700 |
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] [PATCH v3 00/17] Fixup the PowerPC (64 & 32 bit) builds & clean up configure, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 01/17] ppc32: ppc64: use AC_COMPILE_IFELSE to test __powerpc64__ macro for ppc64, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 02/17] ppc32: remove unused dmy_vrregset, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 05/17] build: make libunwind-coredump build optional, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 04/17] ppc32: ppc64: test altivec support by running the compiler., Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 06/17] configure: use AS_HELP_STRING for configure args instead of manual formating, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 07/17] ppc64: remove tests/ppc64-test-wchar,
Cody P Schafer <=
- [Libunwind-devel] [PATCH 08/17] configure: avoid using a shell function in autoconf, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 16/17] ptrace: check for NULL arg., Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 14/17] configure: rename configure.in to configure.ac, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 11/17] UPT: Add reg offsets for ppc32/64, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 12/17] ppc64: be explicit in access_reg range check, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 17/17] ptrace: add more Debug to access_reg, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 13/17] ppc64: add FRAME_POINTER & NIP to regname., Cody P Schafer, 2012/09/14