Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
1475a7ffc4f60e78d402ba2572f1624cebbbb76a
/
.
/
tests
/
check_isa-2_07_cap
blob: 8b991e510d7f968711529ad89971ad02da4e19b7 [
file
] [
log
] [
blame
]
#!/bin/sh
# We use this script to check whether or not the processor supports
# Power ISA 2.07.
DIR
=
"$( cd "
$
(
dirname
"$0"
)
" && pwd )"
LD_SHOW_AUXV
=
1
$DIR
/
true
|
grep arch_2_07
>
/
dev
/
null
2
>&
1
if
[
"$?"
-
ne
"0"
];
then
exit
1
else
exit
0
fi