repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drd: Add a consistency check
[valgrind.git]
/
tests
/
check_isa-2_06_cap
blob
b8ec37f31a7fce3d7e9eb9c79522a1b12474f0ce
1
#!/bin/sh
2
3
# We use this script to check whether or not the processor supports Power ISA 2.06 or later.
4
DIR
=
"$( cd "
$
(
dirname
"
$0
"
)
" && pwd )"
5
LD_SHOW_AUXV
=
1
$DIR
/
true |
grep
arch_2_06
> /
dev
/
null
2
>&
1
6
7
if
[
"$?"
-ne
"0"
];
then
8
exit
1
9
else
10
exit
0
11
fi
12