Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/csu PR/56230: Jan-Benedict Glaw: arm oabi does not...



details:   https://anonhg.NetBSD.org/src/rev/2a5f9604f565
branches:  trunk
changeset: 983730:2a5f9604f565
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 03 20:17:37 2021 +0000

description:
PR/56230: Jan-Benedict Glaw: arm oabi does not and will not have ifunc support.

diffstat:

 tests/lib/csu/h_ifunc_static.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r cd1f4c8a3d38 -r 2a5f9604f565 tests/lib/csu/h_ifunc_static.c
--- a/tests/lib/csu/h_ifunc_static.c    Thu Jun 03 15:59:04 2021 +0000
+++ b/tests/lib/csu/h_ifunc_static.c    Thu Jun 03 20:17:37 2021 +0000
@@ -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>
 



Home | Main Index | Thread Index | Old Index