blob: ee777c16a31d1196ae7d88dce38430b6b7e5b929 [file] [log] [blame]
#!/bin/sh
# We use this script to check whether or not the processor supports
# Power ISA 2.07.
DIR="$( cd "$( dirname "${BASH_SOURCE[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