blob: 8b991e510d7f968711529ad89971ad02da4e19b7 [file] [log] [blame]
carlldfbf2942013-08-12 18:04:22 +00001#!/bin/sh
2
3# We use this script to check whether or not the processor supports
4# Power ISA 2.07.
carlldd690bf2014-08-07 23:49:27 +00005DIR="$( cd "$( dirname "$0" )" && pwd )"
carlldfbf2942013-08-12 18:04:22 +00006LD_SHOW_AUXV=1 $DIR/true | grep arch_2_07 > /dev/null 2>&1
7
8if [ "$?" -ne "0" ]; then
9 exit 1
10else
11 exit 0
12fi