Fix elf-default-arch for ppc and ppc64.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 6 Nov 2010 10:45:53 +0000 (10:45 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 6 Nov 2010 11:10:55 +0000 (11:10 +0000)
helper/elf-default-arch

index 66cfbab..38bf536 100755 (executable)
@@ -24,6 +24,8 @@ case $(uname -m) in
     x86_64) echo "elf64-x86-64 i386" ;;
     s390) echo "elf32-s390 s390:31-bit" ;;
     s390x) echo "elf64-s390 s390:31-bit" ;;
+    ppc) echo "elf32-powerpc powerpc" ;;
+    ppc64) echo "elf64-powerpc powerpc" ;;
     *)
         echo "This architecture is not recognized.  Please update helper/elf-default-arch."
 esac