[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
jit/cache tests: Fix for powerpc64le CPUs
From: |
Bruno Haible |
Subject: |
jit/cache tests: Fix for powerpc64le CPUs |
Date: |
Wed, 10 Jan 2024 17:33:37 +0100 |
This patch fixes a test failure on Linux/powerpc64le.
2024-01-10 Bruno Haible <bruno@clisp.org>
jit/cache tests: Fix for powerpc64le CPUs.
* tests/jit/test-cache.c: Treat Linux/powerpc64le *not* like AIX.
diff --git a/tests/jit/test-cache.c b/tests/jit/test-cache.c
index 18416f8f51..d19c720eb9 100644
--- a/tests/jit/test-cache.c
+++ b/tests/jit/test-cache.c
@@ -44,7 +44,7 @@
however, is not universally true, see:
https://git.savannah.gnu.org/gitweb/?p=libffcall.git;a=blob;f=porting-tools/abis/function-pointer.txt.
*/
-#if ((defined __powerpc__ || defined __powerpc64__) && defined _AIX) ||
(defined __powerpc64__ && defined __linux__)
+#if ((defined __powerpc__ || defined __powerpc64__) && defined _AIX) ||
(defined __powerpc64__ && !defined __powerpc64_elfv2__ && defined __linux__)
struct func
{
void *code_address;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- jit/cache tests: Fix for powerpc64le CPUs,
Bruno Haible <=