summaryrefslogtreecommitdiffstats
path: root/helper/elf-default-arch
diff options
context:
space:
mode:
Diffstat (limited to 'helper/elf-default-arch')
-rwxr-xr-xhelper/elf-default-arch6
1 files changed, 4 insertions, 2 deletions
diff --git a/helper/elf-default-arch b/helper/elf-default-arch
index 0adc351..66cfbab 100755
--- a/helper/elf-default-arch
+++ b/helper/elf-default-arch
@@ -20,8 +20,10 @@
# so instead we hard code it.
case $(uname -m) in
- i[3456]86) echo elf32-i386 ;;
- x86_64) echo elf64-x86-64 ;;
+ i[3456]86) echo "elf32-i386 i386" ;;
+ x86_64) echo "elf64-x86-64 i386" ;;
+ s390) echo "elf32-s390 s390:31-bit" ;;
+ s390x) echo "elf64-s390 s390:31-bit" ;;
*)
echo "This architecture is not recognized. Please update helper/elf-default-arch."
esac