|
@@ -229,7 +229,7 @@ x86_64*) ARCH=x86_64 ;;
|
|
mips-*|mipsel-*) ARCH=mips ;;
|
|
mips-*|mipsel-*) ARCH=mips ;;
|
|
microblaze-*) ARCH=microblaze ;;
|
|
microblaze-*) ARCH=microblaze ;;
|
|
powerpc-*) ARCH=powerpc ;;
|
|
powerpc-*) ARCH=powerpc ;;
|
|
-sh-*) ARCH=superh ;;
|
|
|
|
|
|
+sh-*) ARCH=sh ;;
|
|
unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;
|
|
unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;
|
|
*) fail "$0: unknown or unsupported target \"$target\"" ;;
|
|
*) fail "$0: unknown or unsupported target \"$target\"" ;;
|
|
esac
|
|
esac
|
|
@@ -421,7 +421,7 @@ fi
|
|
test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \
|
|
test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \
|
|
&& SUBARCH=${SUBARCH}el
|
|
&& SUBARCH=${SUBARCH}el
|
|
|
|
|
|
-test "$ARCH" = "superh" && trycppif __LITTLE_ENDIAN__ "$t" \
|
|
|
|
|
|
+test "$ARCH" = "sh" && trycppif __LITTLE_ENDIAN__ "$t" \
|
|
&& SUBARCH=${SUBARCH}el
|
|
&& SUBARCH=${SUBARCH}el
|
|
|
|
|
|
test "$SUBARCH" \
|
|
test "$SUBARCH" \
|