projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: timer: Make snd_timer_close() returning void
[linux-2.6-block.git]
/
scripts
/
decodecode
diff --git
a/scripts/decodecode
b/scripts/decodecode
index 9cef558528aac890dfc2d2545aa9eb2fd8be3934..ba8b8d5834e67922e0028dbec04b9e7cebc2766d 100755
(executable)
--- a/
scripts/decodecode
+++ b/
scripts/decodecode
@@
-60,6
+60,13
@@
case $width in
4) type=4byte ;;
esac
+if [ -z "$ARCH" ]; then
+ case `uname -m` in
+ aarch64*) ARCH=arm64 ;;
+ arm*) ARCH=arm ;;
+ esac
+fi
+
disas() {
${CROSS_COMPILE}as $AFLAGS -o $1.o $1.s > /dev/null 2>&1