|
|
|
@ -93,7 +93,7 @@ checkArch () |
|
|
|
|
assertEq $format "elf64-x86-64" $LINENO |
|
|
|
|
elif [[ "$ARCH" == aarch_64 ]]; then |
|
|
|
|
assertEq $format "elf64-little" $LINENO |
|
|
|
|
elif [[ "$ARCH" == s390x_64 ]]; then |
|
|
|
|
elif [[ "$ARCH" == s390x ]]; then |
|
|
|
|
if [[ $host_machine == s390x ]];then |
|
|
|
|
assertEq $format "elf64-s390" $LINENO |
|
|
|
|
else |
|
|
|
@ -149,7 +149,7 @@ checkDependencies () |
|
|
|
|
white_list="linux-gate\.so\.1\|libpthread\.so\.0\|libm\.so\.6\|libc\.so\.6\|ld-linux\.so\.2" |
|
|
|
|
elif [[ "$ARCH" == x86_64 ]]; then |
|
|
|
|
white_list="linux-vdso\.so\.1\|libpthread\.so\.0\|libm\.so\.6\|libc\.so\.6\|ld-linux-x86-64\.so\.2" |
|
|
|
|
elif [[ "$ARCH" == s390x_64 ]]; then |
|
|
|
|
elif [[ "$ARCH" == s390x ]]; then |
|
|
|
|
if [[ $host_machine != s390x ]];then |
|
|
|
|
dump_cmd='objdump -p '"$1"' | grep NEEDED' |
|
|
|
|
fi |
|
|
|
@ -226,7 +226,7 @@ elif [[ "$(uname)" == Linux* ]]; then |
|
|
|
|
elif [[ "$ARCH" == ppcle_64 ]]; then |
|
|
|
|
CXXFLAGS="$CXXFLAGS -m64" |
|
|
|
|
CONFIGURE_ARGS="$CONFIGURE_ARGS --host=powerpc64le-linux-gnu" |
|
|
|
|
elif [[ "$ARCH" == s390x_64 ]]; then |
|
|
|
|
elif [[ "$ARCH" == s390x ]]; then |
|
|
|
|
CXXFLAGS="$CXXFLAGS -m64" |
|
|
|
|
CONFIGURE_ARGS="$CONFIGURE_ARGS --host=s390x-linux-gnu" |
|
|
|
|
else |
|
|
|
|