|
|
|
@ -95,8 +95,8 @@ checkArch () |
|
|
|
|
assertEq $format "elf64-little" $LINENO |
|
|
|
|
elif [[ "$ARCH" == ppcle_64 ]]; then |
|
|
|
|
if [[ $host_machine == ppc64le ]];then |
|
|
|
|
assertEq $format "elf64-powerpcle" $LINENO |
|
|
|
|
else |
|
|
|
|
assertEq $format "elf64-powerpcle" $LINENO |
|
|
|
|
else |
|
|
|
|
assertEq $format "elf64-little" $LINENO |
|
|
|
|
fi |
|
|
|
|
else |
|
|
|
@ -140,11 +140,11 @@ checkDependencies () |
|
|
|
|
host_machine="$(uname -m)"; |
|
|
|
|
dump_cmd='ldd '"$1" |
|
|
|
|
if [[ "$ARCH" == x86_32 ]]; then |
|
|
|
|
white_list="linux-gate\.so\.1\|libpthread\.so\.0\|libm\.so\.6\|libc\.so\.6\|ld-linux\.so\.2" |
|
|
|
|
white_list="linux-gate\.so\.1\|libpthread\.so\.0\|libm\.so\.6\|libc\.so\.6\|ld-linux\.so\.2\|libatomic\.so\.1" |
|
|
|
|
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" |
|
|
|
|
white_list="linux-vdso\.so\.1\|libpthread\.so\.0\|libm\.so\.6\|libc\.so\.6\|ld-linux-x86-64\.so\.2\|libatomic\.so\.1" |
|
|
|
|
elif [[ "$ARCH" == ppcle_64 ]]; then |
|
|
|
|
if [[ $host_machine != ppc64le ]];then |
|
|
|
|
if [[ $host_machine != ppc64le ]];then |
|
|
|
|
dump_cmd='objdump -p '"$1"' | grep NEEDED' |
|
|
|
|
fi |
|
|
|
|
white_list="linux-vdso64\.so\.1\|libpthread\.so\.0\|libm\.so\.6\|libc\.so\.6\|libz\.so\.1\|ld64\.so\.2" |
|
|
|
|