mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
arm-asm-testsuite.sh: Prefer cross-binutils' objdump
This commit is contained in:
parent
aeb8f427e2
commit
f3912fafdd
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user