superh port
This commit is contained in:
parent
d05aaedaab
commit
3a3c813e08
46 changed files with 2350 additions and 0 deletions
4
configure
vendored
4
configure
vendored
|
|
@ -229,6 +229,7 @@ x86_64*) ARCH=x86_64 ;;
|
|||
mips-*|mipsel-*) ARCH=mips ;;
|
||||
microblaze-*) ARCH=microblaze ;;
|
||||
powerpc-*) ARCH=powerpc ;;
|
||||
sh-*) ARCH=superh ;;
|
||||
unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;
|
||||
*) fail "$0: unknown or unsupported target \"$target\"" ;;
|
||||
esac
|
||||
|
|
@ -418,6 +419,9 @@ test "$ARCH" = "mips" && trycppif "_MIPSEL || __MIPSEL || __MIPSEL__" "$t" \
|
|||
test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \
|
||||
&& SUBARCH=${SUBARCH}el
|
||||
|
||||
test "$ARCH" = "superh" && trycppif __LITTLE_ENDIAN__ "$t" \
|
||||
&& SUBARCH=${SUBARCH}el
|
||||
|
||||
test "$SUBARCH" \
|
||||
&& printf "configured for %s variant: %s\n" "$ARCH" "$ARCH$SUBARCH"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue