History

arm-asm-testsuite.sh: Prefer cross-binutils' objdump

Danny Milosavljevic committed 5 years ago

Commit f3912fa1 parent aeb8f421 file · +2 −2Browse files

Unified · Split

tests/arm-asm-testsuite.sh+2−2
@@ -89,12 +89,12 @@ do · 88 unmodified lines
89 cat "${err}"89 cat "${err}"
90 rm -f "${err}"90 rm -f "${err}"
91 total_count=`expr $total_count + 1`91 total_count=`expr $total_count + 1`
92 objdump -S "${as_object}" |grep "^[ ]*0:" >"${expected}"92 "${CROSS_COMPILE}objdump" -S "${as_object}" |grep "^[ ]*0:" >"${expected}"
93 93
94 #echo '__asm__("'"$s ${args}"'");' > "${csource}"94 #echo '__asm__("'"$s ${args}"'");' > "${csource}"
95 if echo '__asm__("'"$s ${args}"'");'| ./tcc -o "${tcc_object}" -c -95 if echo '__asm__("'"$s ${args}"'");'| ./tcc -o "${tcc_object}" -c -
96 then96 then
97 objdump -S "${tcc_object}" |grep "^[ ]*0:" >"${got}"97 "${CROSS_COMPILE}objdump" -S "${tcc_object}" |grep "^[ ]*0:" >"${got}"
98 if diff -u "${got}" "${expected}"98 if diff -u "${got}" "${expected}"
99 then99 then
100 touch "${state}/ok-$s $args"100 touch "${state}/ok-$s $args"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t