Module Name: src Committed By: christos Date: Thu Jun 3 20:17:37 UTC 2021
Modified Files: src/tests/lib/csu: h_ifunc_static.c Log Message: PR/56230: Jan-Benedict Glaw: arm oabi does not and will not have ifunc support. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/csu/h_ifunc_static.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/csu/h_ifunc_static.c diff -u src/tests/lib/csu/h_ifunc_static.c:1.2 src/tests/lib/csu/h_ifunc_static.c:1.3 --- src/tests/lib/csu/h_ifunc_static.c:1.2 Sun Mar 11 17:20:22 2018 +++ src/tests/lib/csu/h_ifunc_static.c Thu Jun 3 16:17:37 2021 @@ -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>