From f3912fafdd4392cefd391f3cb98eb34e40099878 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Wed, 6 Jan 2021 02:11:56 +0100 Subject: [PATCH] arm-asm-testsuite.sh: Prefer cross-binutils' objdump --- tests/arm-asm-testsuite.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/arm-asm-testsuite.sh b/tests/arm-asm-testsuite.sh index f23dbaeb..89a8379b 100755 --- a/tests/arm-asm-testsuite.sh +++ b/tests/arm-asm-testsuite.sh @@ -89,12 +89,12 @@ do cat "${err}" rm -f "${err}" total_count=`expr $total_count + 1` - objdump -S "${as_object}" |grep "^[ ]*0:" >"${expected}" + "${CROSS_COMPILE}objdump" -S "${as_object}" |grep "^[ ]*0:" >"${expected}" #echo '__asm__("'"$s ${args}"'");' > "${csource}" if echo '__asm__("'"$s ${args}"'");'| ./tcc -o "${tcc_object}" -c - then - objdump -S "${tcc_object}" |grep "^[ ]*0:" >"${got}" + "${CROSS_COMPILE}objdump" -S "${tcc_object}" |grep "^[ ]*0:" >"${got}" if diff -u "${got}" "${expected}" then touch "${state}/ok-$s $args"