Add powerpc64 and powerpc64le support

This adds support for big endian and little endian PowerPC64.
make check runs clean apart from one big endian backtrace issue.
This commit is contained in:
Anton Blanchard 2015-12-28 21:09:06 +00:00
parent 49c3827790
commit b372910476
26 changed files with 445 additions and 24 deletions

13
configure vendored
View file

@ -499,13 +499,18 @@ case $CFG_CPUTYPE in
CFG_CPUTYPE=aarch64
;;
# At some point, when ppc64[le] support happens, this will need to do
# something clever. For now it's safe to assume that we're only ever
# interested in building 32 bit.
powerpc | ppc | ppc64)
powerpc | ppc)
CFG_CPUTYPE=powerpc
;;
powerpc64 | ppc64)
CFG_CPUTYPE=powerpc64
;;
powerpc64le | ppc64le)
CFG_CPUTYPE=powerpc64le
;;
x86_64 | x86-64 | x64 | amd64)
CFG_CPUTYPE=x86_64
;;