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_07_cap
blob
8b991e510d7f968711529ad89971ad02da4e19b7
1
#!/bin/sh
2
3
# We use this script to check whether or not the processor supports
4
# Power ISA 2.07.
5
DIR
=
"$( cd "
$
(
dirname
"
$0
"
)
" && pwd )"
6
LD_SHOW_AUXV
=
1
$DIR
/
true |
grep
arch_2_07
> /
dev
/
null
2
>&
1
7
8
if
[
"$?"
-ne
"0"
];
then
9
exit
1
10
else
11
exit
0
12
fi