Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/csu Move from uname -m to uname -p when checking i...



details:   https://anonhg.NetBSD.org/src/rev/a8b6f3b9da79
branches:  trunk
changeset: 448334:a8b6f3b9da79
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jan 30 12:42:53 2019 +0000

description:
Move from uname -m to uname -p when checking if this target does support
ifunc - someone with a powerpc machine please double check!

diffstat:

 tests/lib/csu/t_ifunc_static.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 377bc6007751 -r a8b6f3b9da79 tests/lib/csu/t_ifunc_static.sh
--- a/tests/lib/csu/t_ifunc_static.sh   Wed Jan 30 12:16:28 2019 +0000
+++ b/tests/lib/csu/t_ifunc_static.sh   Wed Jan 30 12:42:53 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ifunc_static.sh,v 1.1 2018/03/09 20:20:47 joerg Exp $
+# $NetBSD: t_ifunc_static.sh,v 1.2 2019/01/30 12:42:53 martin Exp $
 #
 # Copyright (c) 2018 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -32,8 +32,8 @@
 }
 ifunc_static_body()
 {
-       case `uname -m` in
-       i386|amd64|*ppc*|*sparc*|*arm*)
+       case `uname -p` in
+       i386|x86_64|powerpc|*sparc*|*arm*)
                ;;
        *)
                atf_skip "ifunc is supposed only on ARM, i386, PowerPC, SPARC and x86-64"



Home | Main Index | Thread Index | Old Index