summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2021-06-03 20:17:37 +0000
committerchristos <christos@NetBSD.org>2021-06-03 20:17:37 +0000
commitbf47a5feeb1e458f2e9586fa553d903dc25677fd (patch)
tree44651ab7cc5920c3b1a075d642337b3ac363f4ed /tests/lib
parente15cd47229903fd09298b43399fc4b44021c6681 (diff)
PR/56230: Jan-Benedict Glaw: arm oabi does not and will not have ifunc support.
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/csu/h_ifunc_static.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/csu/h_ifunc_static.c b/tests/lib/csu/h_ifunc_static.c
index 4fabf93c370..1e37653a196 100644
--- a/tests/lib/csu/h_ifunc_static.c
+++ b/tests/lib/csu/h_ifunc_static.c
@@ -1,4 +1,4 @@
-/* $NetBSD: h_ifunc_static.c,v 1.2 2018/03/11 21:20:22 joerg Exp $ */
+/* $NetBSD: h_ifunc_static.c,v 1.3 2021/06/03 20:17:37 christos Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#if defined(__arm__) || defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__sparc__)
+#if (defined(__arm__) && defined(__ARM_EABI__)) || defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) || defined(__sparc__)
#include <stdlib.h>
#include <string.h>