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/01bd244f083c
branches:  trunk
changeset: 379506:01bd244f083c
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 9b11669113cf -r 01bd244f083c 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