Module Name:    src
Committed By:   martin
Date:           Wed Jan 30 12:42:53 UTC 2019

Modified Files:
        src/tests/lib/csu: t_ifunc_static.sh

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/csu/t_ifunc_static.sh

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/t_ifunc_static.sh
diff -u src/tests/lib/csu/t_ifunc_static.sh:1.1 src/tests/lib/csu/t_ifunc_static.sh:1.2
--- src/tests/lib/csu/t_ifunc_static.sh:1.1	Fri Mar  9 20:20:47 2018
+++ src/tests/lib/csu/t_ifunc_static.sh	Wed Jan 30 12:42:53 2019
@@ -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_head()
 }
 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"

Reply via email to